Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: remote bootlocal.sh for pxe-boot< Next Oldest | Next Newest >
aga Offline





Group: Members
Posts: 3
Joined: Sep. 2006
Posted: June 02 2008,21:50 QUOTE

I remastered the dsl-4.3-initrd.iso and it comes very handy. Maybe you want to use my bootlocal.sh

bootlocal.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:pwd@172.16.100.250/bootlocal.sh
Back to top
Profile PM 
bbmak Offline





Group: Members
Posts: 9
Joined: May 2007
Posted: June 08 2008,10:20 QUOTE

Quote (aga @ June 02 2008,13:50)
I remastered the dsl-4.3-initrd.iso and it comes very handy. Maybe you want to use my bootlocal.sh

bootlocal.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:pwd@172.16.100.250/bootlocal.sh

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.
Back to top
Profile PM 
aga Offline





Group: Members
Posts: 3
Joined: Sep. 2006
Posted: June 09 2008,06:37 QUOTE

Quote
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.

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)
Back to top
Profile PM 
2 replies since June 02 2008,21:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: remote bootlocal.sh for pxe-boot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code