Bug#566735: grub-pc: Unable to boot from LVM, "error: no such disk".

David L. Anselmi anselmi at anselmi.us
Mon Apr 18 04:43:57 UTC 2011


Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Could you try booting from external media and see how much sectors of
> hd0 does the GRUB see? BIOS may not present the entire disk to the
> bootloader. If it's so and the disk is ATA you can workaround it with:
> grub-install --disk-module=ata /dev/sda

I looked but I couldn't find a way for GRUB to say how many sectors it sees.  What is the command?

I tried --disk-module=ata and now I get "error: device not connected." and then the menu appears. 
My LVM partitions are recognized and I'm able to boot Linux.

So it looks like this workaround solves the problem.  I think you can close this bug.

Thanks for your patience and your help!

Dave






More information about the Pkg-grub-devel mailing list