[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting El Torito image from a partition table
From: |
Andrei Borzenkov |
Subject: |
Re: Booting El Torito image from a partition table |
Date: |
Fri, 11 Dec 2015 06:52:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
11.12.2015 02:29, Emilio Lazo Zaia пишет:
...
>> address@hidden:~$ grub-mkimage -O i386-pc -o /tmp/temp.img -p
>> '(,msdos2)/boot/grub' -d /tmp/kasp/boot/grub/i386-pc biosdisk
>> part_msdos iso9660
...
> Indeed, I did include part_gpt and the prefix as '(,gpt20)/boot/grub'...
> The prefix starting with ',' always means the current disk?
>
No, it means GRUB tries to fill in missing disk name with boot disk name
based on information provided by firmware (or in some cases by previous
bootloader which chained it). It happens exactly once when GRUB is
initialized. You never see this prefix after GRUB is loaded (unless you
set it yourself of course) and this prefix would be invalid in running GRUB.