Comment 2 for bug 428318

Revision history for this message
Lawrence Rust (lawrence-softsystem) wrote : Re: unable to mount an ext2 partition by label or uuid

This is the output of blkid from karmic alpha 5:

/dev/sda1: SEC_TYPE="msdos" LABEL="WIN98ME" UUID="2B5A-1E00" TYPE="vfat"
/dev/sda2: UUID="D4ACFF30ACFF0BAC" LABEL="WIN2K" TYPE="ntfs"
/dev/sdb3: LABEL="testsys" UUID="2b61ff01-e0df-45fc-86bc-f3db250e1534" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb5: LABEL="system" UUID="d66dd288-4133-41f9-8ee6-9a0c5ff7805e" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb6: UUID="ffcc76c6-82ae-4e15-b1eb-8847458b48cd" TYPE="swap"
/dev/sdb7: LABEL="home" UUID="5d557015-be1c-4f8d-8343-875ec53973f7" SEC_TYPE="ext2" TYPE="ext3"

This is the output of blkid on Hardy Heron

/dev/sda1: SEC_TYPE="msdos" LABEL="WIN98ME" UUID="2B5A-1E00" TYPE="vfat"
/dev/sda2: UUID="D4ACFF30ACFF0BAC" LABEL="WIN2K" TYPE="ntfs"
/dev/sdb1: LABEL="boot" UUID="41584c58-0cef-4d78-acd1-9a01ebd87833" TYPE="ext2"
/dev/sdb3: LABEL="testsys" UUID="2b61ff01-e0df-45fc-86bc-f3db250e1534" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb5: LABEL="system" UUID="d66dd288-4133-41f9-8ee6-9a0c5ff7805e" TYPE="ext3"
/dev/sdb6: TYPE="swap" UUID="ffcc76c6-82ae-4e15-b1eb-8847458b48cd"
/dev/sdb7: LABEL="home" UUID="5d557015-be1c-4f8d-8343-875ec53973f7" SEC_TYPE="ext2" TYPE="ext3"

Looks like libblkid isn't seeing /dev/sdb1, the ext2 grub boot partition. For completeness I've added /proc/partions and tune2fs output.

PS /dev/sdb was originally partitioned with Win2K. Kubuntu 6.06 was installed into unpartioned space in Jun 06. The final partition layout was made with gparted-livecd-0.3.4-11 in April 08 when I added the boot and testsys partitions and resized system.

major minor #blocks name

   8 0 30018240 sda
   8 1 1542208 sda1
   8 2 28467180 sda2
   8 16 245117376 sdb
   8 17 1469916 sdb1
   8 18 1 sdb2
   8 19 23005080 sdb3
   8 21 12434278 sdb5
   8 22 1124518 sdb6
   8 23 207077818 sdb7

tune2fs 1.41.9 (22-Aug-2009)
Filesystem volume name: boot
Last mounted on: <not available>
Filesystem UUID: 41584c58-0cef-4d78-acd1-9a01ebd87833
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: filetype sparse_super
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 735840
Block count: 1469916
Reserved block count: 73495
Free blocks: 1357119
Free inodes: 735791
First block: 1
Block size: 1024
Fragment size: 1024
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 4088
Inode blocks per group: 511
Last mount time: Wed Sep 16 17:55:10 2009
Last write time: Wed Sep 16 17:57:40 2009
Mount count: 1
Maximum mount count: 30
Last checked: Wed Sep 16 17:55:03 2009
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128