Mailing List Archive

pxelinux & memdisk
This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C1B02B.C28BAAE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Excellent, excellent work, Peter!

Is it possible to unload memdisk and the initial ram disk after chaining to
a subsequent shell? I'd like to boot a small dos image via pxelinux &
memdisk that creates a large ram disk containing core Win98 files in a
compressed volume, then mount the compressed volume, fire up Win98 from it,
and then unload memdisk and the initial, small ram disk.

Dave


------=_NextPart_000_0000_01C1B02B.C28BAAE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D340125103-08022002><FONT size=3D2>Excellent, =
excellent work,=20
Peter!</FONT></SPAN></DIV>
<DIV><SPAN class=3D340125103-08022002><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D340125103-08022002><FONT size=3D2>Is it possible to =
unload=20
memdisk and the initial ram disk after chaining to a subsequent =
shell?&nbsp; I'd=20
like to boot a small dos image via pxelinux &amp; memdisk that creates a =
large=20
ram disk containing core Win98 files in a compressed volume, then mount =
the=20
compressed volume, fire up Win98 from it, and then unload memdisk and =
the=20
initial, small ram disk.</FONT></SPAN></DIV>
<DIV><SPAN class=3D340125103-08022002><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D340125103-08022002><FONT =
size=3D2>Dave</FONT></SPAN></DIV>
<DIV><SPAN class=3D340125103-08022002><FONT=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0000_01C1B02B.C28BAAE0--
pxelinux & memdisk [ In reply to ]
Dave Puchyr wrote:

> Excellent, excellent work, Peter!
>
> Is it possible to unload memdisk and the initial ram disk after chaining
> to a subsequent shell? I'd like to boot a small dos image via pxelinux
> & memdisk that creates a large ram disk containing core Win98 files in a
> compressed volume, then mount the compressed volume, fire up Win98 from
> it, and then unload memdisk and the initial, small ram disk.
>


No. There simply is no way whatsoever to do that generically.

-hpa
pxelinux & memdisk [ In reply to ]
H. Peter Anvin wrote:

> Dave Puchyr wrote:
>
>> Excellent, excellent work, Peter!
>>
>> Is it possible to unload memdisk and the initial ram disk after
>> chaining to a subsequent shell? I'd like to boot a small dos image
>> via pxelinux & memdisk that creates a large ram disk containing core
>> Win98 files in a compressed volume, then mount the compressed volume,
>> fire up Win98 from it, and then unload memdisk and the initial, small
>> ram disk.
>
> No. There simply is no way whatsoever to do that generically.
>


I probably should clarify why. The problem is hiding the memory that
the ramdisk uses. In order to do it in a reasonable OS-independent
manner, we have to intercept the BIOS memory-sizing calls and hide
memory that way. However, that's an awfully permanent operation.

I might incorporate decompression in a future version of MEMDISK,
however. It's not really that hard to do, it's just work.

-hpa