I fixed it... I just got the latest version of sysvinit, modified halt.c and remade init.
I need to be able to remotely reboot or poweroff knoppix. I want to use the noeject and noprompt cheat codes so that the computer can restart knoppix without using a keyboard and monitor. However, when I use these codes, it gets to the last message: Preparing for reboot... , and then it just stops. It doesn't reboot or do anything else. I don't know if I should change the /etc/init.d/koppix-reboot file, or what. (I'm pretty new to linux and knoppix!)
BTW - I have successfully remastered knoppix and added startup scripts so that ssh and some other code of mine runs on startup. This way, I can just send a reboot command over ssh. I am actually booting off USB - but that shouldn't be the issue. When I try the noprompt/ noeject in any combination on the original, unchanged knoppix 3.9 CD it hangs like I described.
Thanks for your help!
I fixed it... I just got the latest version of sysvinit, modified halt.c and remade init.
I've also got this problem. Which sysvinit did you download? The 'real' one or the knoppix version? What was the actual version you compiled?
Even better, can you just email me the re-compiled 'init'?
Cheers,
Andy
[email protected]
Sorry I took so long to reply. I stopped watching this topic.
Anyway, I donwloaded sysvinit-knoppix-2.84, which was the latest version I could find. I edited halt.c in the src folder:
All I did was comment out those lines and then do make to build a new version of init.Code:if(umount("/cdrom")==0) { // write(2,msg1,strlen(msg1)); // tcflush(1,TCIFLUSH); // getchar(); write(2,msg2,strlen(msg2)); usleep(250000);} break; }
However, i have a new problem. I had been doing remote reboots that were working, but the keyboard was still attached to the remote computer even though I wasn't using it. Now I've found that if I detach the keyboard and try the same exact thing, Knoppix goes through reboot as it should but then never actually reboots at the end.
Does anyone know a way around this?

RAM-GDS-U1-SAM90-KIT5 RAM GDS Uni-Conn USB-C & USB-A for Samsung Tab Active5
$407.99
Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated
$99.00
Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem
$169.99
Original for Samsung NP950QCG-K01US LCD Screen Touch Full Top Assembly FHD Blue
$299.00
Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A
$22.02
RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99
RAM-GDS-DOCK-SAM62CDU RAM GDS Tough-Dock + Single USB-A Samsung Tab Active5 & 3
$241.99
3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G
$155.00
Samsung Galaxy Tab A 8.4" 2020 32GB Wi-Fi+ 4G Verizon Unlocked SM-T307U ~Grade B
$49.99
WiFi Only Samsung Galaxy Tab S11 11.0" 128GB Black SM-X730
$439.00