The answer seems to be to insert the knoppix.sh script into the minirt.gz. Then it executes just fine. I do not see that step anywhere in the various instructions, though.
Rich
I am remastering 5.1.1 to a USB drive so that it boots into text mode (via inittab), has a custom boot graphic and message, and has a password for ssh access; those changes work just fine.
However, trying to mount a second partition and start sshd on boot (/usr/sbin/sshstart) fails. I have tried several suggestions from this and other forums. A shell script (/start) that does this works manually. Adding a line to /etc/rc.local (which exists) to call this script (/start) doesn't make it execute on boot. Adding a cron job with @reboot and specifying the script (/start) doesn't work. Copying the script itself to KNOPPIX/linux.sh or to /etc/init.d/local.sh doesn't work.
Is this something you have to do in minitrt.gz? Other suggestions?
Rich
The answer seems to be to insert the knoppix.sh script into the minirt.gz. Then it executes just fine. I do not see that step anywhere in the various instructions, though.
Rich
As you're starting at init 2 (text mode)
add another start script for your commands at /etc/rc2.d/
Call is S99start_ssh
or similar and change its permissions to be executable.
Hopefully this should work.
That finally did the trick. None of the other attempts were completely successful, apparently because not enough of the system initialization had occurred (linuxrc, knoppix.sh, rc.local. isolinux.cfg). I was surprised because rc.local didn't work, but adding a link rc2.d and rc3.d to a script in init.d worked just fine. I can mount a partition and reconfigure the nic as needed. Thanks for the help! Rich

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$49.00
Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99
Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99
2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80
Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99
Samsung 850 PRO 512GB 2.5" SATA SSD MZ-7KE512 MZ7KE512
$65.00
SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00