LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2006, 01:15 PM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
restoring swap file from unaccessible state


Hi Guys,

I have installed Fedora Core 5 to act as ldap server, it went out that hard drive was crashed. Fortunately, system and data was able restored it back with mondo restore. Now, my problem is on the swap drive or partition which is not anymore accessible. I checked it on fstab "LABEL=SWAP-sda5 swap swap defaults 0 0" and changed LABEL=SWAP-sda5 with /dev/sda5 but it wouldn't solve the problem.

Any idea how I could fix this one?

Thanks......
 
Old 11-29-2006, 01:40 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Did you try reformatting the swap partition as swap space?

http://www.die.net/doc/linux/man/man8/mkswap.8.html
 
Old 11-30-2006, 07:24 AM   #3
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
Hi Pljvaldez,

Thanks for the prompt reply. To give you an idea, this is what happened...

1. Upon booting up the system, I got this error: "Unable to access resume device (LABEL=SWAP-sda5)
2. Startup of services are seems okay but, it wouldn't logged in any users at login prompt and no errors are displayed.
 
Old 11-30-2006, 07:54 AM   #4
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
Sorry, I forgot to mention that after I logged in, I just ended up back to the login page even a root password. I changed the root password by booting up with linux single option but it didn't go okay. I checked the home directory and users folder are in there. Any suggestions on this error, there might be an internal error that's why session could not start.
 
  


Reply



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
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 08:04 AM
Can't edit state file. jpc1258 Linux - Newbie 2 08-24-2004 03:30 PM
file properties state where x should says s ? wolfe2554 Linux - General 1 04-17-2004 08:57 AM
checking file state in C++ chewysplace Programming 5 02-20-2004 08:27 PM
Restoring a rm'ed file? sharpie Linux - Newbie 6 02-03-2004 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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