[syslinux] INITRD > MEMSIZE / 2

H. Peter Anvin hpa at zytor.com
Mon Sep 22 20:15:20 PDT 2003


Gerry Dubois wrote:
> Thanks for the reply. I have gotten this to work from CD doing exactly what
> you suggested. I'd like to get it to work over the network using PXELINUX.
> Hence my problem, there is no media to mount to get the tarball from. One of
> my other goals was to avoid somehow trying to figure out what the boot
> device was that was used to load the initrd. It could be a local USB CD-ROM,
> Network, IDE CD-ROM, USB FLash disk. Is there some linux magic to figure out
> which device was used to load the kernel/initrd?
> Now that I think about it, I suppose I could boot a minimal initrd image
> then tftp the tarballs onto the ramdisk then untar them from there. How do
> you find out the IP address of the tftp server that was used to load the
> kernel/initrd? This may work, but I was hoping to have a "one size fits all"
> implementation for CD and Network.
> 

There is no Linux magic -- the Linux kernel doesn't know where it was
booted from -- but you can pass command-line parameters and get them
from /proc/cmdline.  Again, what I do in SuperRescue is have the network
admin set up a parameter and mount over NFS.

	-=hpa




More information about the Syslinux mailing list