[finnix] Attempting to be sneaky with pxeboot, need help.
Ferenc Wagner
wferi at niif.hu
Sun Dec 13 12:53:42 PST 2009
Joel Stiller <joelstiller at gmail.com> writes:
> My goal is to boot finnix over the network, using only the kernel and
> the minirt image file. Then use the toram option, so no disk is
> needed.
If there's no disk to start off, that is, you stuff everything into your
initrd, toram sounds somewhat superfluous...
> Ok, so I mounted the old minirt file and copied the contents of
> /FINNIX/* to /image/. I then hacked the init script to add a
> "frominit" option. All this does is trick the init script into
> thinking the media has been found, and copies the contents of /image/*
> to /ramdisk/cdrom. The "toram" option takes care of the rest of the
> dirty work.
Try this instead:
1. Patch /init in minirt like:
--- /tmp/minirt/init 2009-12-13 14:56:29.966203814 +0100
+++ init 2009-12-13 21:38:05.542150745 +0100
@@ -280,6 +280,11 @@
FINNIX_CLOOP="$USERROOT"
FOUND_FINNIX="yes"
+# use it from the initramfs
+elif [ -e "$FINNIXFILE" ]; then
+ FINNIX_CLOOP="$FINNIXFILE"
+ FOUND_FINNIX=yes
+
# ELSE SQUASHROOT SKIP
else
2. Add FINNIX/FINNIX to minirt.
That's it.
--
Good luck,
Feri.
More information about the finnix
mailing list