[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub_machine_get_bootlocation and partitions
From: |
Andrei Borzenkov |
Subject: |
grub_machine_get_bootlocation and partitions |
Date: |
Tue, 1 Dec 2015 19:18:59 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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_machine_get_bootlocation and partitions,
Andrei Borzenkov <=