Hi,
My USB flash key holds grub4dos, a FAT partition and an ext2 partition.
If I boot with this Grub command:
kernel /boot/vmlinuz-3.2.40-slitaz root=/dev/null home=37b77cca-39c2-4442-a27b-aee302512cd3
the ext2 partition doesn't get mounted on /home.
In a terminal, I replayed step-by-step the lines in bootopts.sh (starting line 40). The UUID is correct, the output of blkid is correct, and DEVID is correctly set to sdf2. But the following lines don't work:
mount /dev/$DEVID /home -o uid=1000,gid=100 2>/dev/null \
|| mount /dev/$DEVID /home
The first line fails to mount the device. Its exit status is 255. The second line is then executed. *It fails, saying the NTFS is incorrect (!), but the exit code is 0!* (I can't check here and now but I seem to remember "mount" gives incorrect output at that point, saying the device is mounted.)
To make it work I manually added "-t ext2" but this is not an acceptable patch of course. Maybe is there a way to parse the output of blkid? Or is this a bug in busybox that should be reported?
I can provide more info if needed.