User: Password:
|
|
Subscribe / Log in / New account

PXE is awesome

PXE is awesome

Posted May 21, 2009 23:42 UTC (Thu) by njs (guest, #40338)
In reply to: PXE is awesome by jello
Parent article: Rescue and recovery distributions

But -- if I understand correctly -- using SystemRescueCD's PXE boot requires that you either:
-- have SystemRescueCD boot media and a spare computer to use as the boot host, or
-- have an NFS server set up and be willing to extract the relevant files into it by hand (there's no official documentation)

For Parted Magic, you can just download the PXE version, drop it in /var/lib/tftpboot, and add an entry to your pxelinux.cfg/default -- it loads the whole root filesystem as its initrd. That's easy enough that it's worth throwing it in there and leaving it "just in case". I don't think one can say the same about deploying NFS...


(Log in to post comments)

PXE is awesome

Posted May 22, 2009 2:59 UTC (Fri) by jello (subscriber, #6083) [Link]

I have it fetch the sysrcd.dat via HTTP, which isn't as much trouble as NFS, but having it all in the initrd does sound nicer. I have it all working already, so obviously there's no reason to change though, also I couldn't find anything saying if Parted Magic supports using a serial console, which I need.

PXE is awesome

Posted May 28, 2009 19:10 UTC (Thu) by sciurus (subscriber, #58832) [Link]

It's not that complicated. All you need is a tftp server.

1) Download the sysresccd cd image.
2) Extract the kernel (rescuecd), initrd (initram.igz), filesystem (sysrcd.dat), and checksum (sysrcd.md5) to a directory under your tftp root. Let's call that directory sysrcd.
3) Add the following to your pxelinux configuration.

label sysrcd
menu label Start SystemRescueCD
kernel sysrcd/rescuecd
append initrd=sysrcd/initram.igz boottftp=tftp://your.ip.address/sysrcd/sysrcd.dat


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds