[coreboot] seabios change to boot from last boot device for gPXE or other option rom booting

Joe Julian joe at julianfamily.org
Thu Mar 12 16:08:30 CET 2009


Kevin O'Connor wrote:
> On Wed, Mar 11, 2009 at 09:15:01AM -0700, Joe Julian wrote:
>   
>> The hardcoded boot order method when using seabios with coreboot makes  
>> booting from option roms difficult if the number of hard drives  
>> installed is not a fixed number. I used this patch to allow choosing the  
>> last boot device by setting the nibble to 0xf. This allows me to boot  
>> from the gPXE option rom.
>>     
>
> I don't think that is necessary.
>
>   
>> -        IPL.bootorder = 0x00000231;
>> +        IPL.bootorder = 0x0000231f;
>>     
>
> You want:
>
>         IPL.bootorder = 0x00002314;
>
> which will set the default order to option rom (BEV), floppy, cdrom,
> and then hard drive.
>
> -Kevin
>   
Ah yes, I see. It threw me off because the boot menu showed all my hard 
drives and put gPXE as item 6.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090312/337c1ee0/attachment.html>


More information about the coreboot mailing list