LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-07-2006, 12:17 PM   #1
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
FC4 hangs on swap file. HELP


Hello there. I have had FC4 up and running for 6 months withoug problems. Now suddenly, it hangs on startup in creating the swap file.
I have disconnected the Floppy and Cd (the nest two lines in the FSTAB file) and commented the lines out with #.
Can anyone help with the Swap file, manually check it or something?
r/halldor
 
Old 08-07-2006, 12:46 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Just reformat it:

mkswap /dev/hda2

Of course, substitute your actual swap device for "/dev/hda2". You can then verify it works by uncommenting the swap line in /etc/fstab, and running:

swapon -a
 
Old 08-07-2006, 03:05 PM   #3
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
These two commands run without any problems.

Where can I find the sequence of commands that are run to boot the Linux system. I would like to run the lines manually to see where it goes wrong.

I can boot in as emergency user.
When I boot as single user, the system freezes when swap is set up.
Same when I boot normally, except then it's in graphical mode.

Any help?????
 
Old 08-07-2006, 03:31 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Then it's likely not the swap, but the next step. The swap is setup in /etc/rc.sysinit.
 
Old 08-11-2006, 06:42 AM   #5
hathmann
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I have found out that it's not the swat itself, it's most likely the swat partition that has crashed with some more of the file system.

I managed to copy all the data from hda to another HD hdb and reinstalled fc4 on a new HD. Copied all the data back and system up and running now.

Have not yet checked if the other HD is bad in someway.

This thred is hereby stopped.
 
  


Reply

Tags
hangs, swap



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
swap problem on fc4 Taimur Fedora 1 06-15-2006 02:20 PM
I can't enable swap in FC4 Taimur Fedora 1 06-14-2006 11:44 PM
I can't enable swap in FC4 Taimur Fedora 1 06-14-2006 11:42 PM
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 08:04 AM
Partitioning hangs and blames swap paxmark Ubuntu 1 05-04-2005 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration