Extending cdboot with options "Press any key to boot from CD" prompt

Maxim Sobolev sobomax at portaone.com
Fri Aug 20 04:04:20 PDT 2004


Sergey Mokryshev wrote:
> On Thu, 19 Aug 2004, Maxim Sobolev wrote:
> 
>> Hi,
>>
>> Please review/comment on attached patch, which extends cdboot with 
>> "Press any key to boot from CD" prompt inspired by Windows 
>> installation CDs. IMHO this feature is quite useful for installation 
>> CDs, and probably for other interactive one-shot CDs, to prevent 
>> machine from booting off CD again after work is complete. If there is 
>> no objections, I'd like to request repo copy from cdboot.s into 
>> cdboot.S and then commit this change. My plan is to keep this feature 
>> turned off by default, and provide make(1) knob to turn it one if 
>> necessary.
>>
>> Thanks!
>>
>> -Maxim
>>
> Maxim,
> 
> Windows 2000 and later checks for an active partition on HDD first, and 
> display this message if none found.
> 
> Is it hard to implement?

Don't know for sure. Also you can have several hard drives, another 
CD-ROMs, floppies etc., that set for bootstraping in BIOS after current 
CD-ROM, so that I doubt that such detection is a good idea and worth 
efforts.

-Maxim


More information about the freebsd-current mailing list