Bug#549165: grub-legacy: Same problem here with 0.97-59

Armin Berres armin at space-based.de
Sun Oct 11 15:08:09 UTC 2009


On Sun, 11 Oct 09 16:57, Felix Zielcke wrote:
> Probable some grub-probe call fails.
> If it's grub-probe please run it without the 2>/dev/null part which
> supresses the error messages.
> And also check that your device.map has all needed devices listed.

Good guess. Here we go:

# grub-probe --device-map=/boot/grub/device.map -t device /
grub-probe: error: cannot find a device for /.

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

Looks sane, doesn't it? I have /boot on a little ext3 partition and the
rest is on LVM.

# mount
/dev/dm-0 on / type ext3 (rw,errors=remount-ro)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda3 on /boot type ext3 (rw,noatime)
/dev/mapper/lvm-home on /home type ext4 (rw)
/dev/mapper/lvm-mail on /home/armin/mail type ext4 (rw,noatime)
/dev/sda1 on /windows type vfat (rw,utf8,gid=1000,uid=1000)
none on /proc/bus/usb type usbfs (rw,busgid=121,busmode=0775,devgid=121,devmode=0664)
fusectl on /sys/fs/fuse/connections type fusectl (rw)

Greetings,
Armin





More information about the Pkg-grub-devel mailing list