[syslinux] INITRD > MEMSIZE / 2

Gerry Dubois gerry at dazoo.net
Mon Sep 22 19:15:22 PDT 2003


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.

- Gerry

-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com]On
Behalf Of H. Peter Anvin
Sent: Monday, September 22, 2003 8:17 PM
To: Luciano Miguel Ferreira Rocha
Cc: Gerry Dubois; syslinux at zytor.com
Subject: Re: [syslinux] INITRD > MEMSIZE / 2


Luciano Miguel Ferreira Rocha wrote:
>
> You can have a small initrd that mounts the cdrom, a tmpfs device, untars
> the files over that fs over that fs and then does a pivot_root, etc..
>
> That's how I do it, with support for several tar.gzs that work as
packages. :)
>

That's how I did it in "superrescue" too.  Being able to use ramfs/tmpfs
is a *big* win.

	-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.




More information about the Syslinux mailing list