-
PXE-boot Knoppix (from a non-knoppix server)
I wanted to PXE-boot knoppix without having a knoppix-server to boot from, this is my solution:
Step 1.
Boot up from the knoppix-image you want to netboot later, run these commands:
Start the Terminal Server..
Code:
rsync -axv /lib/modules/2.6.12 user@server:~/knoppix-2.6.12
rsync -axv /tftpboot user@server:~/knoppix-tftproot
Then edit MODULES, cd to ~/knoppix-tftproot and run this script:
Code:
#!/bin/bash
MODULES=/home/victor/knoppixdev-v2/knoppix-2.6.12
gunzip -c miniroot.gz > miniroot
mkdir miniroot-temp newroot-temp
mount -o loop miniroot miniroot-temp
totalsize=$(du -csm miniroot $MODULES/kernel/drivers/net|awk '/total/ { print $1; }')
dd if=/dev/zero of=newroot bs=1M count=$(($totalsize+3))
mkfs.ext2 -F newroot
mount -o loop newroot newroot-temp
rsync -axv miniroot-temp/ newroot-temp
rsync -axv $MODULES/kernel/drivers/net/ newroot-temp/modules/net
umount newroot-temp
umount miniroot-temp
rmdir newroot-temp miniroot-temp
gzip newroot
rm miniroot
Voilá, you now have a bloated initrd called newroot,gz which you can use with ~/knoppix-tftproot/vmlinuz to netboot.
-
I use PXE to boot slave nodes with ParallelKnoppix (http://pareto.uab.es/mcreel/ParallelKnoppix). I think I could possibly use this to boot a set of slave nodes from a computer that's not running Knoppix, correct? Where do the computers that are PXE booted get their filesystem from, from /cdrom, on the computer you use as the server, no? The knoppix CD must be mounted on that computer no? Or one could use a poor man's install?
Can you please explain this in more detail? Exactly what steps do I need to follow to PXE boot Knoppix over the net, from a computer running some arbitrary (assume Debian-based, if that helps) Linux distro? I'd really appreciate as much detail as you're willing to provide.
Thanks, Michael
Similar Threads
-
By Screech in forum General Support
Replies: 1
Last Post: 12-14-2009, 07:59 PM
-
By larrycow in forum Networking
Replies: 7
Last Post: 06-24-2005, 06:42 PM
-
By thewolf in forum General Support
Replies: 0
Last Post: 05-06-2005, 08:01 PM
-
By sunburnt in forum Networking
Replies: 5
Last Post: 04-07-2005, 09:49 PM
-
By Stonent in forum Ideas
Replies: 3
Last Post: 12-30-2002, 08:14 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD
$399.99
ibm server z series
$16000.00
IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server
$209.98
IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server
$191.99
IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES
$26.97
IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs
$58.52
IBM System x3500 m3 Server
$100.00
IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W
$199.00
IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED
$99.99
IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*
$599.99