Thursday, July 10, 2008

Mount may Fail for UUID Entries in /etc/fstab

I was just hit by a nasty bug (#487758, #487783), in blkid that may cause mount to fail, for UUID style entries in /etc/fstab, e.g.

UUID=de018d5f-4dbc-4ed6-9724-4d5c793658aa /boot ext3 defaults 0 2

Yes! this is the boot partition on my live-HDD, which must be specified in UUID style, because the device path (/dev/sd*) is dynamically determined, depending on the current system configuration and boot sequence.

The workaround, until the fixed version of e2fsprogs trickles down to Testing is to specify UUID style entries like this:

/dev/disk/by-uuid/de018d5f-4dbc-4ed6-9724-4d5c793658aa /boot ext3 defaults 0 2

No comments:

Post a Comment