LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2008, 02:10 PM   #1
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Unable to resume device


I have a Fedora 8 machine that I manually partitioned and upon bootup, after it loads the kernel, I get a message that says:

"Unable to access resume device (Label=SWAP-sda5)"

I have followed the forums that suggest possible fixes regarding the initrd file.

Can anyone give me a definition of what they meen by "resume device"?
 
Old 04-23-2008, 02:22 PM   #2
jei
LQ Newbie
 
Registered: Jul 2006
Posts: 29

Rep: Reputation: 16
try this.

mkswap -L SWAP-sda5 /dev/sda5

I have seen fedora go through some issues when manually partitioning the drive. This will rename the partition so fedora can see it correctly.
If not let us know.
 
Old 04-23-2008, 03:27 PM   #3
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jei View Post
try this.

mkswap -L SWAP-sda5 /dev/sda5

I have seen fedora go through some issues when manually partitioning the drive. This will rename the partition so fedora can see it correctly.
If not let us know.
Before I try that, I am curious about something. When I look at my fstab file, I see the partition 5 swap:

Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/var              /var                    ext3    defaults        1 2
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda5         swap                    swap    defaults        0 0
/etc/fstab (END)
However, when I look at my partitions with fdisk:

Code:
[root@proxy ezproxy_cs]# /sbin/fdisk -l

Disk /dev/sda: 145.9 GB, 145999527936 bytes
255 heads, 63 sectors/track, 17750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cb738

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      514048+  83  Linux
/dev/sda2              65       12333    98550742+  83  Linux
/dev/sda3           12334       16157    30716280   83  Linux
/dev/sda4           16158       17738    12699382+  82  Linux swap / Solaris
[root@proxy ezproxy_cs]#
I see the swap file on sda4. Is this part of my problem? Is it just a labeling issue?
 
Old 04-23-2008, 03:30 PM   #4
jei
LQ Newbie
 
Registered: Jul 2006
Posts: 29

Rep: Reputation: 16
Looks like a problem with partitions.

mkswap -L SWAP-sda4 /dev/sda4

Maybe. I say maybe because I am not sure how sda5 was even their.
 
Old 04-23-2008, 04:04 PM   #5
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Original Poster
Rep: Reputation: 30
I am looking at this thread. Towards the end, it is suggested to make certain modification to the initrd file.


http://forums.fedoraforum.org/showthread.php?t=111565
 
Old 04-23-2008, 04:10 PM   #6
jei
LQ Newbie
 
Registered: Jul 2006
Posts: 29

Rep: Reputation: 16
That thread has a lot of useful info, I'd say try those steps and see what the result is. At worst you could do a recovery install or upgrade install.
 
Old 04-23-2008, 05:39 PM   #7
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Original Poster
Rep: Reputation: 30
When I follow the directions in the above mentioned thread:


http://forums.fedoraforum.org/showthread.php?t=111565

and when I take a look at the "init" file, I see a line that reads "resume LABEL=SWAP-sda5"


What exactly does the "resume" command do?
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 11:10 PM
Unable to access resume device jdege Linux - General 9 12-20-2007 11:32 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 04:09 PM
10.2 unable to resume. enine Slackware 2 03-07-2006 02:22 PM
Unable to resume from standby 12Iceman Linux - Newbie 3 03-24-2005 05:10 PM


All times are GMT -5. The time now is 09:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration