You are not logged in.

#1 2013-05-20 19:15:24

fragfutter
Member
Registered: 2013-05-20
Posts: 18

Grub2 unknown disk

i have an system using uefi boot and grub on a gpt boot partition and rootfs on lvm (plain logical volume, no encryption or raid). Grub is booting and displays a menu. If I boot the default arch entry it will display an error

   failure reading sector 0x0 from hd2.

Then it prompts to hit any key to continue and arch starts up fine.

There are two issues:

First that grub prompts me to hit a key. Previously i also saw this error, but boot would simply continue. The main changes to an older grub config are the definition of the root device. No prompt will show if the root device is defined like

set root='(main-root)'

now grub-mkconfig will create a line

set root='lvm/main-root'

and this will require a prompt.


The other issue is the hd2. There are only two harddisks in the system. There is no hd2. Dropping to a grub shell i can see hd0, hd1 with the correct partition tables but i have no idea what hd2 should be. Booting an old archlinux dvd image (2011.08) i can only see hd0 and hd1.

Offline

Board footer

Powered by FluxBB