remote bootlocal.sh for pxe-bootForum: DSL Ideas and Suggestions Topic: remote bootlocal.sh for pxe-boot started by: aga Posted by aga on June 02 2008,21:50
I remastered the dsl-4.3-initrd.iso and it comes very handy. Maybe you want to use my bootlocal.shbootlocal.sh is now: if egrep " rboot" /proc/cmdline; then RBOOT=`sed 's/.* rboot=\([^ ]*\).*/\1/' /proc/cmdline` echo booting $RBOOT while ! (wget -O - $RBOOT > /tmp/rboot) do sleep 2; done . /tmp/rboot fi The remote bootlocal.sh is something like: #!/bin/bash mkdir /tmp/wget_remote cd /tmp/wget_remote for i in dsl-dpkg.dsl gnu-utils.unc loopaes-3.1f-2.4.31_x86.dsl \ php-4-monkey-0.9.1.tar.gz pptp-linux_1.1.0-1_i386.deb xampp.unc do wget ${RBOOT%/*}/$i # get everything from remote user done for i in *tar.gz *unc *uci *dsl; do mydsl-load $i; done for i in *.deb; do dpkg -i $i; done pxe_default could contain: APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=mini rt24.gz nomce noapic quiet BOOT_IMAGE=knoppix rboot=ftp://user:[email protected]/bootlocal.sh Posted by bbmak on June 08 2008,10:20
Can you document the procedure of how to boot it with pxe? I am always wanting to install dsl via pxe, but just cannot find a way. Posted by aga on June 09 2008,06:37
1) download pxedsl.tar.gz from the testing section. read the instructions carefully 2) When your remote PC is booting, there will be some Message like "Press <F12> for Netboot" You press this Key, and your PC will boot via PXE. 3) If you want to use a remote bootlocal.sh, you have to remaster dsl-4.4-initrd.iso, which is explained in "The official Damn Small Linux Book" (ISBN-13: 978-0132338691) |