[syslinux] RE: memdisk - reboot loaded image
Puckett, Richard H.
richard.puckett at ngc.com
Wed Apr 6 09:21:42 PDT 2005
Murali,
Thanks for the suggestion, I'll check out the link you provided.
- Rick
-----Original Message-----
From: Murali Krishnan Ganapathy [mailto:gmurali at cs.uchicago.edu]
Sent: Wednesday, April 06, 2005 12:14 PM
To: Puckett, Richard H.
Cc: syslinux at zytor.com
Subject: Re: [syslinux] memdisk - reboot loaded image
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