-
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
Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E
$55.99
Cisco Catalyst 48-Port Manage Gigabit Switch w/ 2x 10G SFP+ WS-C2960S-48FPD-L
$59.99
8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch
$76.50
Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED
$799.00
HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A
$30.95
New Linksys SE3005 5-port Gigabit Ethernet Switch
$18.99
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch
$34.99
Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord
$43.95
HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter
$37.99