Comment 5 for bug 498485

Revision history for this message
Steve Magoun (smagoun) wrote :

This happens to me too. Looks like /etc/fstab and the resume file have the wrong UUID for the swap partition.

steve@steve-desktop:~$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=fec09290-454d-488c-a09e-18ad1eb6aeb8

steve@steve-desktop:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-12-21 06:36 61d94963-4e1c-44bf-ad22-e29ed5a9da30 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-12-21 06:36 697c52e3-a331-4f70-9a4d-74472baf3177 -> ../../sda6

steve@steve-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda6
UUID=61d94963-4e1c-44bf-ad22-e29ed5a9da30 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda7
UUID=fec09290-454d-488c-a09e-18ad1eb6aeb8 none swap sw 0 0
/dev/sda5 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

steve@steve-desktop:~$ blkid
/dev/sda1: LABEL="Disk 1 Partition 1" TYPE="ntfs"
/dev/sda5: UUID="61d94963-4e1c-44bf-ad22-e29ed5a9da30" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="697c52e3-a331-4f70-9a4d-74472baf3177" TYPE="swap"

steve@steve-desktop:~$ sudo sfdisk -l /dev/sda

Disk /dev/sda: 3738 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 2933 2934- 23567323+ 7 HPFS/NTFS
/dev/sda2 2934 3737 804 6458130 f W95 Ext'd (LBA)
  end: (c,h,s) expected (1023,254,63) found (665,254,63)
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
/dev/sda5 2934+ 3671 738- 5927953+ 83 Linux
/dev/sda6 3672+ 3737 66- 530113+ 82 Linux swap / Solaris