-
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...
![Quote](images/misc/quote_icon.png)
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
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture](/store/img/g/7KoAAOSwephiKTf4/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-3Ghz-8.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00
![1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture](/store/img/g/fxsAAOSwZD5l6PSG/s-l225/1U-BareMetal-pfsense-opnsense-Router-Firewall-DNS-.jpg)
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
![HPE ProLiant MicroServer Gen10 picture](/store/img/g/tb4AAOSwpRxmfLpK/s-l225/HPE-ProLiant-MicroServer-Gen10.jpg)
HPE ProLiant MicroServer Gen10
$420.00
![SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture](/store/img/g/MFoAAOSwQYhmavYc/s-l225/SuperMicro-Server-505-2-Intel-Atom-2-4GHz-8GB-RAM-.jpg)
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
![HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture](/store/img/g/eHkAAOSwVbBmJhq0/s-l225/HPE-ProLiant-MicroServer-Gen10-Plus-v2-Ultra-Micro.jpg)
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon
$846.48
![HP ProLiant Microserver Micro Server HSTNS-5151 untested NO DRIVE CADDIES picture](/store/img/g/M6MAAOSwYl1l83E9/s-l225/HP-ProLiant-Microserver-Micro-Server-HSTNS-5151-un.jpg)
HP ProLiant Microserver Micro Server HSTNS-5151 untested NO DRIVE CADDIES
$49.21
![Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD picture](/store/img/g/aYkAAOSwLGpmYf9P/s-l225/Supermicro-1U-Server-X9SRI-F-Xeon-E5-2640-v2-2-5Gh.jpg)
Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD
$149.99
![SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears picture](/store/img/g/aUIAAOSwlmVmVlh9/s-l225/SuperMicro-SuperServer-5018A-FTN4-505-2-Intel-Atom.jpg)
SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears
$174.99
![Super micro Server picture](/store/img/g/PNgAAOSweU1mSkvR/s-l225/Super-micro-Server.jpg)
Super micro Server
$168.00
![Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture](/store/img/g/1ksAAOSwuqhhuPcE/s-l225/Supermicro-2U-Server-12-Caddy-Bay-3-5-LFF-E-ATX-St.jpg)
Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail
$199.00