You are not logged in.

#26 2013-09-20 18:20:25

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

WonderWoofy wrote:
aaditya wrote:

And you only use 1 bootloader either GRUB or Syslinux
I recommend Grub. So steps 15,16,17 not needed.

And I recommend syslinux, so steps 19 and 20 would not be needed. ;p

I just feel as though syslinux is simpler and gives greater understanding of what information the bootloader/kernel needs in order to get your system running.

Fair enough smile
Would step 18 be needed though?

Offline

#27 2013-09-20 18:23:40

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: hang when reboot or shutdown

aaditya wrote:
WonderWoofy wrote:
aaditya wrote:

And you only use 1 bootloader either GRUB or Syslinux
I recommend Grub. So steps 15,16,17 not needed.

And I recommend syslinux, so steps 19 and 20 would not be needed. ;p

I just feel as though syslinux is simpler and gives greater understanding of what information the bootloader/kernel needs in order to get your system running.

Fair enough smile
Would step 18 be needed though?

Ha, I guess I missed one… unless I was of the "moar packages are better" mindset.

Offline

#28 2013-09-20 18:44:40

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

WonderWoofy wrote:

unless I was of the "moar packages are better" mindset.

Haha..I think that would contradict Arch's minimalistic philosophy!

Offline

#29 2013-09-21 02:42:09

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: hang when reboot or shutdown

I don't think it is hanging on shutdown. It is doing what you told it to. By default I believe systemd halts rather than powers off. And it is halting successfully. At least, I think so?

Also, I don't see what is meant to be the problem in X, assuming it is meant to be a problem. That looks pretty normal to me.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#30 2013-09-21 11:54:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: hang when reboot or shutdown

'shutdown' powers off the computer, it doesn't just halt it.

Offline

#31 2013-09-21 16:22:56

kongimi
Member
Registered: 2013-09-12
Posts: 14

Re: hang when reboot or shutdown

Thank you every one.
I just try to install grub(not syslinux).
I don't do step 15,16,17 but 18,19,20 so this is the result.
And try syslinux by do step 15,16,17 (don't do 18,19,20) the result is the same as above.
I do right or not? mistake anywhere?

Offline

#32 2013-09-21 17:06:01

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

kongimi using both grub and syslinux was one of the things you were doing wrong.
It was not the solution to your problem smile its just something that you were doing wrong and now you know about it.

Offline

#33 2013-09-21 17:09:03

kongimi
Member
Registered: 2013-09-12
Posts: 14

Re: hang when reboot or shutdown

aaditya
I don't using both grub and syslinux, I using grub and the result is hang.
Then I start at fdisk again for syslinux, the result is the same.

Offline

#34 2013-09-21 17:20:21

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

Yes, you are doing it correctly now.
But I dont think that the shutdown problem was caused due to this.
So need to search for whatever it is thats causing the problem.

Offline

#35 2013-09-21 17:30:46

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: hang when reboot or shutdown

As for your problem:

i) try this:

poweroff

ii) or this:

pacman -S linux-lts

then edit your boot config file, if you have syslinux you can add:

LABEL arch-lts
        MENU LABEL Arch Linux-lts
        LINUX ../vmlinuz-linux-lts
        APPEND root=/dev/sda1 rw
        INITRD ../initramfs-linux-lts.img

this to your syslinux.cfg
In line APPEND root=/dev/sda1 <-- correct the partition(sda1 to <your defined partition>) number as per your need.

(If your problem is kernel related then this will fix your system for now and you can continue your research for the latest stable release)

iii) or you can choose latest installation media (change your existing installation media) or choose any installation media with kernel version less than 3.9.

hope this will help you, if not then "  sad  "

Last edited by arcon (2013-09-21 17:31:29)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#36 2013-09-21 17:32:23

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

Hey kongimi check this link https://bbs.archlinux.org/viewtopic.php?id=143113&p=3

Here is a part you could try-

It was quite simple. Just check if you have some .rules file in /etc/udev/rules.d/ directory, related with mounting devices. In my case it was 11-mnt-auto-mount.rules file - which I moved to another location (home, just to be sure I won't need it yet).
The second thing was replacing standard /dev/sdaX partition identifiers for /dev/disk/by-uuid/... identifiers like described on arch UUID wiki page. For example

/dev/sda2    /    ext4    defaults    0    1  -->  I changed this line for:
/dev/disk/by-uuid/96728d48-6720-4779-b329-323266f8a4d9    /       ext4    defaults        0       1

Just check your uuid names with this command:
$ ls -lF /dev/disk/by-uuid/.

Save, reboot - and that's it!

Offline

#37 2013-09-22 12:02:08

kongimi
Member
Registered: 2013-09-12
Posts: 14

Re: hang when reboot or shutdown

Thank you again aaditya.
I try to look at folder /etc/udev/rule.d/ here have no file, so I try to looking something to solve my problem next.

Offline

#38 2013-09-22 12:25:36

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: hang when reboot or shutdown

@ kongimi,

Can you try installing Arch on a virtual machine on the same computer? Follow the same steps as you have done before, and see if you can reproduce the problem.

Offline

#39 2013-09-22 13:12:15

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: hang when reboot or shutdown

This is from AskUbuntu, but it makes sense smile , so try the suggestions given.
http://askubuntu.com/questions/26601/ne … oubleshoot
First, try using reboot=bios kernel option.
I think this could work smile
How to do it with Grub-
While booting, when you get to the Grub Menu where you can select Arch Linux, press the 'e' key to edit,
and add at the end of the line which begins with linux, reboot=bios
Then press F10 to boot.

Last edited by aaditya (2013-09-22 13:41:16)

Offline

#40 2013-09-27 09:51:35

kongimi
Member
Registered: 2013-09-12
Posts: 14

Re: hang when reboot or shutdown

Hello everybody, disappear for little long time.

21. exit (chroot)
22. umount -R /mnt
23. reboot
Then this picture happened.
And It's not reboot except off the power switch.
After power on again I continue follow the same web.
24. pacman -S xorg-server xorg-server-utils xorg-xinit
25. pacman -S mesa
26. pacman -S xf86-video-vesa (I can't find correct driver.)
27. pacman -S xf86-input-synaptics
28. pacman -S xorg-twm xorg-xclock xterm for install default environment.
29. Try "startx" and my display here.
30. exit.
31. shutdown -h now, here's the result.

After do step 23(reboot), It still hang. I must power off  by press power switch and continue to do step 24,25.
In step 26, I can find the correct driver and install it.(pacman -S xf86-video-openchrome), and continue through step 31.
The result is here.
The display change but still hang in that picture.
If you not bore to advice me, please answer big_smile

Offline

#41 2013-09-27 10:08:36

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: hang when reboot or shutdown

kongimi wrote:

31. shutdown -h now

This may be your problem. Use the "poweroff" command instead (no arguments). If that doesn't work, look for ACPI and APM on Arch Wiki.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#42 2013-09-27 21:54:40

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: hang when reboot or shutdown

I don't know if it's the same problem but when i reboot or shutdown the system it hangs, if i leave it like 5 minutes it will reboot/shutdown.
The problem is systemd 207, downgrading it to 204 will fix it. There is a patch for 207 but i haven't tried it.

Patch for 207: http://lists.freedesktop.org/archives/s … 13334.html

I hope this helps you.

Offline

#43 2013-10-27 15:04:36

kongimi
Member
Registered: 2013-09-12
Posts: 14

Re: hang when reboot or shutdown

Hello every body,

I change hardware and completed install arch.
I really thank you everybody for answer.

kongimi

Offline

Board footer

Powered by FluxBB