Results 1 to 7 of 7
Whenever I start my system I get an error that says "Cannot acess resume device (swap-hda4)", then it loads just fine, but it doesn't mount the swap partition. The error ...
- 03-12-2007 #1
Canot mount swap partition
Whenever I start my system I get an error that says "Cannot acess resume device (swap-hda4)", then it loads just fine, but it doesn't mount the swap partition. The error occured recently after I had to reset my computer beacuse it became unresponsive. I've deleted the swap partition and recreated it, but still no result. After the system boots I can mount the partition using gparted, but why doesn't it mount it at startup? My distro is FC6. Thanks.
- 03-12-2007 #2
post the contents of /etc/fstab and output of 'fdisk -l' command.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-12-2007 #3
Content of /etc/fstab:
As for /sbin/fdisk -l, that didn't output anything. I tried "$ /sbin/fdisk -l /dev/hda" and it returned "Cannot open /dev/hda". I have an ide hard disk (westren digital 80GB).LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda4 swap swap defaults 0 0
/dev/hda6 /media/data ext3 defaults 0 0
- 03-12-2007 #4
execute this
i think Label of SWAP partition has been changed. check the outassign 'SWAP-hda4' label to SWAP partition using GParted.Code:su - fdisk -l
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-12-2007 #5
The Swap partition has no label (at least that's what gparted said). I changed the label in fstab to SWAP but I get the same error.
By te way, fdisk returned:
HTML Code:Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1274 10233373+ 7 HPFS/NTFS /dev/hda2 1275 8454 57673350 f W95 Ext'd (LBA) /dev/hda3 8455 9663 9711292+ 83 Linux /dev/hda4 9664 9729 530145 82 Linux swap / Solaris /dev/hda5 1275 1724 3614593+ 7 HPFS/NTFS /dev/hda6 1725 8454 54058693+ 83 Linux
- 03-12-2007 #6
if there isn't any Label assigned to SWAP partition, remove Label tag in /etc/fstab file too.
OR assign Label "SWAP-hda4" using GParted and keep SWAP entry in /etc/fstab file as it is.Code:/dev/hda4 swap swap defaults 0 0
Code:LABEL=SWAP-hda4 swap swap defaults 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-12-2007 #7
Couldn't find out how to relabel the partition with gparted, so I modified /etc/fstab as you said. Now I get the same error at startup, but the swap partition gets mounted automaticaly, so i guess the problem is solved. Very peculiar. Thanks a lot


