View previous topic :: View next topic |
Author |
Message |
balph2k n00b
Joined: 18 Aug 2005 Posts: 6
|
Posted: Fri Aug 19, 2005 3:47 pm Post subject: Fresh install freezes on shutdown |
|
|
I've just finished a stage 3 installation of gentoo (x86, 2005.1) on my server machine. When I attempt to reboot the machine everything is fine. However when I use "shutdown", it freezes after "Saving random seed". I then have to forcefully poweroff the machine resulting in a warning on startup that the boot partition wasn't correctly unmounted (it then tests/repairs the filesystem).
Any thoughts as to what could be the problem, or how to solve it? |
|
Back to top |
|
|
Raftysworld Apprentice
Joined: 27 Feb 2005 Posts: 236 Location: Snohomish, WA
|
Posted: Fri Aug 19, 2005 4:57 pm Post subject: |
|
|
This happened to me a while back. The problem, for me, lied in /etc/fstab. Ensure that every entry in there is correct. I had setup a usbfs line to mount which didn't exist, and for some reason that caused the shutdown freeze for me. Once I removed it, it was fine. _________________ emerge --info
Portage 2.1.4 (default-linux/x86/dev/2007.1, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo i686) |
|
Back to top |
|
|
balph2k n00b
Joined: 18 Aug 2005 Posts: 6
|
Posted: Fri Aug 19, 2005 6:55 pm Post subject: |
|
|
My /etc/fstab is still exactly as the installation guide recommended. Unless I've made an error that anyone can spot?
Code: | # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
|
|
Back to top |
|
|
balph2k n00b
Joined: 18 Aug 2005 Posts: 6
|
Posted: Fri Aug 19, 2005 9:01 pm Post subject: |
|
|
No ideas? I'm fairly new to using Linux so if there's any more useful info I can provide just say and I'll get it. |
|
Back to top |
|
|
galenjr Tux's lil' helper
Joined: 02 Aug 2004 Posts: 88 Location: Connecticut, USA
|
Posted: Fri Aug 19, 2005 9:02 pm Post subject: |
|
|
try shutdown -h now |
|
Back to top |
|
|
balph2k n00b
Joined: 18 Aug 2005 Posts: 6
|
Posted: Fri Aug 19, 2005 10:56 pm Post subject: |
|
|
Thanks, that worked... and having gone back and read the man page for shutdown (again!) I see why. It's missing little things like that is killing me getting used to using this OS |
|
Back to top |
|
|
Major Apprentice
Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Sat Aug 20, 2005 1:41 am Post subject: |
|
|
Shutdown just shutdown the OS ... the -h (stand for halt) actually turns off the computer.
But like you said and I figure you did check the man pages. Take a look into the halt command as well.
What a did is put a alias in the .bashrc file so I dont need to type the hole thing each time
Which is kind of useless since I dont really shuting down my Linux PC. _________________ Major over and out |
|
Back to top |
|
|
|