Bug#425666: grub-pc: update-grub unable to detect /usr on lvm

Bharath Ramesh krosswindz at gmail.com
Tue May 29 15:52:42 UTC 2007


Attached is the output which you had asked for....

output of grub-probe -v /usr

grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda2'
grub-probe: info: opening the device `/dev/sda2'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda8'
grub-probe: info: opening the device `/dev/sda8'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda2'
grub-probe: info: opening the device `/dev/sda2'
grub-probe: info: opening the device `/dev/sda2'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: opening the device `/dev/sda3'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: opening the device `/dev/sda5'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: opening the device `/dev/sda6'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: the size of hd0 is 117210240
grub-probe: info: opening the device `/dev/sda8'
grub-probe: info: opening the device `/dev/sda8'
grub-probe: info: opening the device `/dev/sda8'
grub-probe: info: changing current directory to /dev/mapper
grub-probe: info: opening lvm-usr
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
grub-probe: info: opening the device `/dev/sda7'
ext2

output of cat /proc/mounts

rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/lvm-root / ext3 rw,data=ordered 0 0
/dev/mapper/lvm-root /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sda3 /boot ext2 rw 0 0
/dev/sda8 /home ext3 rw,data=ordered 0 0
/dev/mapper/lvm-usr /usr ext3 rw,data=ordered 0 0
/dev/mapper/lvm-var /var ext3 rw,data=ordered 0 0
tmpfs /tmp tmpfs rw 0 0


output of cat /boot/grub/device.map
(hd0)   /dev/sda


output of grub-mkdevicemap -m -
(hd0)   /dev/sda


On 5/29/07, Robert Millan <rmh at aybabtu.com> wrote:
> severity 425666 important
> thanks
>  grub-probe -v /usr
> On Wed, May 23, 2007 at 02:32:11AM -0400, Bharath Ramesh wrote:
> >
> > When /usr is a separate partition on lvm update-grub creates entry for
> > unifont.pff on the lvm partition which is not detected by grub.
>
> Please send the output of the following commands:
>
> grub-probe -v /usr
> cat /proc/mounts
> cat /boot/grub/device.map
> grub-mkdevicemap -m -
>
> > unifont.pff
> > should either be in grub directory of /boot
>
> No, that creates other problems (unifont.pff is too big for /boot/grub).
>
> > or update-grub shouldnt add entry
> > to the font.
>
> Agreed.  I'll try to make this part fault-tollerant.
>
> Thanks
>
> --
> Robert Millan
>
> My spam trap is honeypot at aybabtu.com.  Note: this address is only intended
> for spam harvesters.  Writing to it will get you added to my black list.
>




More information about the Pkg-grub-devel mailing list