-
Please change /sbin/init to a symlink to...
In addition to using the Knoppix CD, I have Knoppix loading via PXE, from a tftp server with various other bootable images. A PXE image selection menu list the various images that can be booted.
In addition to using the Knoppix desk top, I am looking at using Knoppix as the core for various other special purpose boots e.g. a Kickstart or Yast like system installer, based on Knoppix and shell scripts instead (see cAosity.org for sample shell script installer.) The goal is to provide a single build server and PXE boot for installing multiple different distros.
Changing /sbin/init to a symbolic link to /init would allow init to be placed in the miniroot initrd file. This would thereby allow different system startup configs to be selected from the PXE menu -- without any changes to the core CDROM image (because the pxelinux.cfg/default allows different miniroot initrd's to be specified.) As a default, the /init could simply link back to say /sbin/initKnoppix which might be the new name for the original /sbin/init.
-
Senior Member
registered user
Re: Please change /sbin/init to a symlink to...

Originally Posted by
huhl
Changing /sbin/init to a symbolic link to /init would allow init to be placed in the miniroot initrd file. This would thereby allow different system startup configs to be selected from the PXE menu -- without any changes to the core CDROM image (because the pxelinux.cfg/default allows different miniroot initrd's to be specified.) As a default, the /init could simply link back to say /sbin/initKnoppix which might be the new name for the original /sbin/init.
You don't need that, just change linuxrc to create symlinks for /sbin/ too (like for etc/). Also as sbin is not big (16 MB here), you could just do a cp -a /sbin /ramdisk/
mount --bind /ramdisk/sbin /sbin
And then do whatever you want.
........
but if I now remember correctly init is already set as init=/etc/init, so just changing that file should be enough.
cu
Fabian
Similar Threads
-
By asearle in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2005, 10:02 PM
-
By probono in forum Ideas
Replies: 0
Last Post: 09-17-2004, 04:17 AM
-
By rrfish72 in forum General Support
Replies: 50
Last Post: 09-12-2004, 04:05 PM
-
By ManiOne in forum General Support
Replies: 1
Last Post: 08-11-2004, 11:36 AM
-
By berdy in forum General Support
Replies: 12
Last Post: 08-18-2003, 06:25 PM
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

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

SAMSUNG FIT PLUS 128GB USB 3.1 Flash Drive - fully working & authentic
$24.95

LOT OF 8 Samsung 32gb 2Rx8 PC4-3200AA RE3 12 DC1 Server Memory M393A4G43AB3
$1849.95

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1
$60.00

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM
$99.99

WiFi Only Samsung Galaxy Tab A9 Plus 11.0" 128GB Black SM-X210
$139.99

Samsung 870 EVO 4TB 2.5" SATA III Internal SSD (MZ-77E4T0B/AM)
$310.00