So doing the following (horrible *hack*), resolve my problem and
automount correctly my boot partition with the uuid.

1: sudo -s
2: mv /sbin/vol_id /sbin/vol_id.old
3: vi /sbin/vol_id

put the following in the file:
#!/bin/sh
RESULT=`blkid $2`
LABEL=`echo "$RESULT" | cut -d " " -f 2 | cut -d = -f 2 | cut -d \" -f 2`
UUID=`echo "$RESULT" | cut -d " " -f 3 | cut -d = -f 2 | cut -d \" -f 2`
TYPE=`echo "$RESULT" | cut -d " " -f 5 | cut -d = -f 2 | cut -d \" -f 2`

echo "ID_FS_USAGE=filesystem"
echo "ID_FS_TYPE=$TYPE"
echo "ID_FS_VERSION=1.0"
echo "ID_FS_UUID=$UUID"
echo "ID_FS_LABEL=$LABEL"
echo "ID_FS_LABEL_SAFE=$LABEL"

4: chmod u+x /sbin/vol_id

Ensure that you refer to your partition with UUID in /etc/fstab

And that did work o_O ;) I don't know where else vol_id is used so it
may breaks something (but at first sight here, nothing is broken and
well... it works better now).

Until a patch is done that can help.

-- 
vol_id returns wrong fs information but blkid returns correct informations, 
udev create wrong uuid symlink
https://bugs.launchpad.net/bugs/118292
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to