findfs/blkid detects ext3 partition as ntfs (without UUID)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs |
Unknown
|
Unknown
|
|||
e2fsprogs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Feisty |
Won't Fix
|
Undecided
|
Theodore Ts'o |
Bug Description
I have dist-upgraded from Dapper => Edgy => Feisty.
I have a boot partition /dev/sda1:
# fdisk -l /dev/sda | grep sda1
/dev/sda1 * 1 7 56196 83 Linux
This is displayed in fstab as:
# /dev/hda1 -- converted during upgrade to edgy
UUID=70b7d252-
# blkid /dev/sda1
/dev/sda1: TYPE="ntfs"
# vol_id /dev/sda1
ID_FS_USAGE=
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
This makes update-grub fail:
# LANG=C update-grub
Searching for GRUB installation directory ... found: /boot/grub
findfs: Unable to resolve 'UUID=70b7d252-
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Updating /boot/grub/menu.lst ... done
Because update-grub fails to resolve the UUID, it puts "/boot/..." into the menu.lst and then grub itself fails with "File not found" (because it should be "/..." instead of "/boot/...").
I'm not sure where the bug here really is.. maybe there's some confusion about "hda1" and "sda1"?!
description: | updated |
description: | updated |
Changed in e2fsprogs: | |
assignee: | nobody → tytso |
status: | Unconfirmed → In Progress |
# ls -l /dev/disk/by-uuid 5a65-45cd- a949-30569a2cce 39 -> ../../sda1 6140-4fe4- ab56-66e6d9e153 2a -> ../../sda3 f734-479d- a53a-4a86a9972b 19 -> ../../sda2
...
lrwxrwxrwx 1 root root 10 2007-04-26 04:23 70b7d252-
lrwxrwxrwx 1 root root 10 2007-04-26 04:23 88c84c55-
lrwxrwxrwx 1 root root 10 2007-04-26 04:23 f52f2bea-