Skip to contentSkip to conversation

grub_machine_get_bootlocation and partitions

DISCUSSION Andrei Borzenkov 2 participants 3 messages Dec 1, 2015 – Dec 5, 2015

lore
Share & tools
lore
#0 lore raw

If partition information is actually present, it results in bogus and invalid device name like

hd0,1

This device cannot be opened as it requires partmap name.

One obvious case when partition *is* passed to GRUB is multiboot. I suppose nobody ever noticed it because standard grub-install generates fixed partition part.

We probably can fallback to probing partmap on current level in this case, except it means more code again. But current situation is rather useless as is.

#1 lore raw

Do you have a failure scenario? hd0,1 is not recommended but it's still valid and so should still work

Quoted 20 lines · Andrei Borzenkov

If partition information is actually present, it results in bogus and invalid device name like

hd0,1

This device cannot be opened as it requires partmap name.

One obvious case when partition *is* passed to GRUB is multiboot. I suppose nobody ever noticed it because standard grub-install generates fixed partition part.

We probably can fallback to probing partmap on current level in this case, except it means more code again. But current situation is rather useless as is.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw

01.12.2015 20:45, Vladimir 'phcoder' Serbinenko пишет:

Quoted 2 lines

Do you have a failure scenario? hd0,1 is not recommended but it's still valid and so should still work

Yes, I misunderstood what I have seen. Sorry.

Quoted 30 lines · Andrei Borzenkov
Quoted 12 lines

If partition information is actually present, it results in bogus and invalid device name like

hd0,1

This device cannot be opened as it requires partmap name.

One obvious case when partition *is* passed to GRUB is multiboot. I suppose nobody ever noticed it because standard grub-install generates fixed partition part.

Quoted 9 lines

We probably can fallback to probing partmap on current level in this case, except it means more code again. But current situation is rather useless as is.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel