public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pxe + initramfs
@ 2009-12-25 17:15 James
  2009-12-28  6:58 ` Kyle Bader
  0 siblings, 1 reply; 2+ messages in thread
From: James @ 2009-12-25 17:15 UTC (permalink / raw
  To: gentoo-user

All,

I have been experimenting heavily with netboot (PXE booting).

When I go to boot the Ubuntu LiveCD via the network I have to set up
an NFS share and export it with the content of the LiveCD so that the
kernel can boot from it.

However, when booting the Gentoo LiveCD from the network, everything
seems to be downloaded as one large initramfs image that is then
extracted and used to boot. i.e., no NFS required.

How would I go about taking a LiveCD and packing it into a LiveCD so
that I don't have to set up NFS exports for all the other Linux
distributions?

Thoughts appreciated.

-j



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] pxe + initramfs
  2009-12-25 17:15 [gentoo-user] pxe + initramfs James
@ 2009-12-28  6:58 ` Kyle Bader
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Bader @ 2009-12-28  6:58 UTC (permalink / raw
  To: gentoo-user

James:

> How would I go about taking a LiveCD and packing it into a LiveCD so
> that I don't have to set up NFS exports for all the other Linux
> distributions?

I assume you mean taking a livecd and packing it into a initramfs. I
would suggest you read this guide:

http://www.ibm.com/developerworks/linux/library/l-initrd.html

RDSIZE will have to be substantially larger though, large enough to
fit whatever your putting into the image. Ubuntu Karmic netinstall is
about 12Mb [1] so 13000 might be appropriate, iirc initramfs cannot
exceed 16Mb (if this isn't true let me know :D).  Some hackery of the
"init" script will likely be required.

[1] http://archive.ubuntu.com/ubuntu/dists/karmic/main/installer-amd64/current/images/netboot/mini.iso
-- 

Kyle



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-28  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-25 17:15 [gentoo-user] pxe + initramfs James
2009-12-28  6:58 ` Kyle Bader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox