Bug#586815: grub-probe: error: cannot find a device for / is still a problem with dmcrypt, lvm2 and /dev/sda

Michael Ostermeier michael.ostermeier.eit at fh-ingolstadt.de
Tue Jun 22 21:22:55 UTC 2010


 Colin Watson wrote:
> On Tue, Jun 22, 2010 at 09:31:12PM +0200, Michael Ostermeier wrote:
> > It all started a few days ago after an apt-get update.
> > Since that time, grub shows no background-picture on boot (which is no
> > problem for me) and update-grub doesnt work:
> > 
> > “# update-grub
> > /usr/sbin/grub-probe: error: cannot find a device for / (is /dev
> > mounted?).”
> 
> Looks like you're suffering from #550704.  Could you please try the
> version in unstable?

Yes, this version is better, update-grub works now:

# update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
done

But the old setup was still better. On the new one:

* it still complains not to find /dev/hda
* the background-picture is still not displayed
* the resolution of the screen is still bad until the kernel is setting
  the font later during booting 

# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-2.6.32-5-686 root=/dev/mapper/Taschenrechner-root
ro vga=0x305

Where does this hda thing come from?





More information about the Pkg-grub-devel mailing list