[syslinux] memdisk - reboot loaded image
Murali Krishnan Ganapathy
gmurali at cs.uchicago.edu
Wed Apr 6 09:13:43 PDT 2005
I had the exact problem some time ago, and my solution was the "magic
cookie" approach. In my case, I was partitioning the hard disk in Linux
and had to reboot (because I was partitioning for Windows installation).
I write the information "boot into DOS next" in an unused portion of the
hard disk and reboot. SYSLINUX then boots my com32 program, which reads
this information off the hard disk and instructs SYSLINUX to boot
directly into DOS.
This autoboot code can be got from
http://people.cs.uchicago.edu/~gmurali/gui/downloads.html
- Murali
H. Peter Anvin wrote:
> Puckett, Richard H. wrote:
>
>> I was looking for a way for the user to enter some configuration
>> information, re-partition (and reboot), and continue with the
>> installation.
>>
>
> The way to do this is repartition the disks, and then write to a sector
> on the hard disk a "magic cookie" that you can then use for a different
> boot selection. Unfortunately DOS *has* to be rebooted, so there is no
> way to do that without.
>
> Linux would be a better choice, really, as you have already surmised.
>
> -hpa
>
More information about the Syslinux
mailing list