-
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
Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box
$149.99
Samsung Galaxy Tab A 8.0" 2019 SM-T290 32GB WiFi Tablet Open Box
$94.99
Samsung - S Pen Creator Edition - White
$40.00
Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)
$129.99
SAMSUNG M393A2G40DB0-CPB 16GB PC4-17000P DDR4-2133 2RX4 ECC
$14.95
Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM
$8.90
Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G
$89.99
Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver
$99.95
512GB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter
$21.99
Tempered Glass Screen Protector For Samsung Galaxy Tab S9/S9 FE/S9 Plus/S9 Ultra
$10.95