-
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
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$41.69
HGST 3.5 Internal Hard Drive 3TB 7200rpm 0F12470
$30.00
*LOT OF 40* 500GB Desktop PC 3.5" SATA Hard Drive HDD*Tested*
$212.00
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$28.52
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601
$69.99
Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5" Enterprise Hard Drive ST12000NM0558
$99.95
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$19.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$44.62
Western Digital 4TB Internal 7.2KRPM 3.5" (WD4000FYYZ) SATA Hard Drive ZERO HOUR
$69.99