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
Pages: (6) </ 1 2 3 4 [5] 6 >/

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

reply to topic new topic new poll
Topic: How-to: PXE - Packing the KNOPPIX image in initrd< Next Oldest | Next Newest >
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: Dec. 07 2006,20:48 QUOTE

I tried to add the package nxclient as described above. After booting the following message shows up:

"Checking for myDSL Apps ....
nxclientgzip: short read
Done"

After that message X starts.

But there is no icon for the nxclient software.
"find / -name nx*" also only shows the nx....gz archive file and no installed nx client software.

Any ideas?

Rigas
Back to top
Profile PM 
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 20 2007,12:25 QUOTE

Just a little update half a year later:

To got mydsl applications running, I had to do the following:

I created a larger (100 MB instead of 50 MB) minirt24.gz and copied the mydsl archive files on the highest level there ( / ).

After starting DSL, the appletes did not start by themselves ...
So I just wrote l little script with a line like

mydsl-load jre1_5_0.tar.gz

So this script installs the jre mydsl package ...

User DSL must be owner of the script, group must be staff ...

So I can run DSL on every computer in the house that is connected to the network .. I neither do need a usb-stick nor a CD any more .... pretty cool.


Rigas
Back to top
Profile PM 
Screwba Offline





Group: Members
Posts: 2
Joined: Feb. 2007
Posted: June 26 2007,20:30 QUOTE

Does anyone know if this works for 3.3?

I am getting the 'Can't find KNOPPIX filesystem...' message.  I believe my linuxrc file is properly changed...it goes through all the hardware detection fine.

Thanks in advance.
Screwba
Back to top
Profile PM 
rja Offline





Group: Members
Posts: 46
Joined: Jan. 2005
Posted: June 26 2007,23:42 QUOTE

I have setup both 3.3 and 3.4rc1 to pxe boot using these instructions.  I didn't try adding any extra packages.

It does sound like you need to re-check the linuxrc that needed
to be modified.

I'll try to make a diff of what I did to my  linuxrc for 3.3.

Also, make sure that you have frominitrd in your pxelinux.cfg/default or whatever config file you setup.  I have this:



Code Sample

LABEL dsl-3.4RC1
KERNEL /dsl-3.4RC1/linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=791 initrd=/dsl-3.4RC1/minirt24.gz quiet BOOT_IMAGE=knoppix syslog dma usb2 host=keyhole tz=America/Chicago frominitrd base norestore noswap

LABEL dsl-3.3
KERNEL /dsl-3.3/linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=791 initrd=/dsl-3.3/minirt24.gz quiet BOOT_IMAGE=knoppix syslog dma usb2 host=keyhole tz=America/Chicago frominitrd base norestore noswap

LABEL dsl-1.5
KERNEL /dsl-1.5/linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=791 initrd=/dsl-1.5/minirt24.gz quiet BOOT_IMAGE=knoppix syslog dma usb2 host=keyhole tz=America/Chicago frominitrd base norestore noswap


This uses separate directories in /tftpboot for each version.
Back to top
Profile PM 
rja Offline





Group: Members
Posts: 46
Joined: Jan. 2005
Posted: June 27 2007,00:23 QUOTE

Here is the diff from the linuxrc for dsl-3.3 to allow frominitrd:

Code Sample

--- linuxrc.orig        2007-06-26 19:07:56.000000000 -0500
+++ linuxrc-frominitrd  2007-06-26 19:04:00.000000000 -0500
@@ -334,6 +334,8 @@
test -n "$FOUND_SCSI" -a -z "$NOSCSI" && DEVICES="$DEVICES /dev/sd?[1-9] /dev/sd?[1-9][0-9]"
DEVICES="$DEVICES /dev/hd?[1-9] /dev/hd?[1-9][0-9]"
case "$CMDLINE" in *fromhd=/dev/*) DEVICES="$fromhd";;; esac
+# Unset all devices if booted from initrd
+case "$CMDLINE" in *frominitrd*) DEVICES="";;; esac
for i in $DEVICES
do
echo -n "${CRE}${BLUE}Looking for CDROM in: ${MAGENTA}$i${NORMAL}   "
@@ -349,6 +351,16 @@
fi
done

+# Look for KNOPPIX directory without mounting anything
+case "$CMDLINE" in *frominitrd*)
+if test -f /cdrom/$KNOPPIX_DIR/$KNOPPIX_NAME
+then
+echo -n "${CRE} ${GREEN}Accessing DSL image at ${MAGENTA}/cdrom/${KNOPPIX_DIR}/${KNOPPIX_NAME}${GREEN} on initrd...${NORMAL}";
+FOUND_KNOPPIX="initrd";
+fi
+;;
+esac
+
# Harddisk-installed script part version has been removed
# (KNOPPIX can be booted directly from HD now).
Back to top
Profile PM 
25 replies since Nov. 06 2006,06:25 < Next Oldest | Next Newest >

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

Pages: (6) </ 1 2 3 4 [5] 6 >/
reply to topic new topic new poll
Quick Reply: How-to: PXE - Packing the KNOPPIX image in initrd

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