LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 08-07-2006, 10:17 AM   #1
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
FC4 hangs after reboot. Is it possible to manually reboot to find problem


After 6 months of no problems with FC4, it stalled when I rebooted it. In the starting sequence, it hangs after creating the swap file. I can boot it to emergency mode but not single mode.
Is it possible to boot FC4 manually, as with Autoexec in old days, and thereby find where it hangs?
Is there any bootlog file I can look at, and where is it located?
Thanks for your input, Halldor
 
Old 08-07-2006, 10:25 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
The log file is called dmesg. Where it is stored depends on your distribution and settings. There is a command also called "dmesg" which will print out the log.

Manually booting is a bit fuzzy. In the bootloader give the parameter 1 (the number one) to the kernel parameters. It will be handed to the init script, forcing it to circumvent the setting in the initrc file and boot to runlevel 1 (single user offline console). Perhaps that will work. Alternatively try to remove the swap entry from the fstab file (/etc/fstab) to diagnose if this really is the problem (it might be the very next entry that makes the problems, not the mounting of the sw3ap space).
 
Old 08-07-2006, 10:41 AM   #3
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
The first option, boot into single user, causes same problem, system hangs.
The second one, is maby the task to attack. How do I stop the boot process to prevent the system running into to bottleneck and to be able to access the file system?
 
Old 08-08-2006, 01:58 PM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
tough one. Usually loading swap memory is a top priority for any system to accomodate the boot process. As far as I can tell, mounting swap partitions is frequently even encorporated into the initfs itself.

I would run a rescue system, knoppix or DamnSmallLinux, in order to access the filesystem.

While you are at it, try to find the dmesg log. It might help out. On my system there is a further log in /var/log called boot.log, perhaps that might help us to diagnose the problem as well.
 
Old 08-11-2006, 06:39 AM   #5
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, it's a tough one.

I have found out that the file system has somehow crashed, why I don't know. Maby the HD, I haven't checked that yet.

I managed to copy all the data from the primary HD (hda) to a seperate HD (hdb) and reinstalled FC4 on a new HD that I had. Thereafter I copied all the data back to the new HD and everything is fine, except some Samba finetuning.

When I'm done I will install hdb in my new linux box and activate mirror dir to mirror data from hda to hdb.

Thanks for the assistance
 
Old 08-13-2006, 03:57 AM   #6
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
You are welcome.
 
  


Reply

Tags
boot, fc4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSe9 reboot problem after autoinstallation : not able to find root device deepbluenpurple Suse/Novell 0 06-07-2006 04:28 AM
Problem: LIRC does not activate on reboot, but works manually mr_r Linux - Software 1 03-19-2006 07:31 AM
Fsck failed. Please repair manually and reboot. jginger Suse/Novell 4 10-23-2005 01:44 PM
FC4: How to get same ip on reboot? amarpu Linux - Networking 4 07-19-2005 01:00 PM
PC hangs after reboot... MatMan5959 Linux - General 2 08-11-2002 04:23 PM


All times are GMT -5. The time now is 02:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration