-
Reboot computer without prompt for for a keypress
Hi,
I would like to reboot my knoppix-system without a prompt for for a keypress. But the CD should be ejected.
There is a cheatcode "noprompt", but then the CD won't be ejeceted.
I will use this for getting automatically images of servers over night. It would be great if someone can help me.
Thx & cheers
-
Senior Member
registered user
Well, this has been discussed here http://www.knoppix.net/forum/viewtopic.php?t=14175 where we discover that knoppix uses a modified sysvinit. If you want to follow up & edit the source, then you can get them at http://debian-knoppix.alioth.debian.org/sources/
-
Ok .. but ..
Ok, so this was covered a little in another thread --
BUT ..
If KNOPPIX has a "noprompt" and "noeject" runtime parameter, passed into the kernel at boot time - WHY oh WHY aren't they honored?
I have a situation where I NEED the box to be able to reboot unattended at a given time.
I've modified lilo to pass in "noprompt" -- which brings be to the point where the system says "Preparing for reboot" and then sits there forever.
I know KNOPPIX >CAN< reboot, since when I leave the prompt up and hit a key, the system reboots / powers down normally.
What I don't understand is why setting "noprompt" doesn't work, regardless of the modified SysVInit package.
Any help?!
P
-
Fixed...
Ok,
So without anyone responding, I took it upon myself to make the change.
I was using a LiveCD KNOPPIX style installation, but it was running from a Read/write CF card, so I downloaded the file: sysvinit-knoppix-2.84.tar.gz from http://debian-knoppix.alioth.debian.org/sources/ and had a go at removing the prompt and cdrom removal in a way that actually worked.
After reading the code, I couldn't figure out WHY setting "NOPROMPT" and "NOEJECT" passing into the kernel at boot time wasn't working as it should - the code read quite clearly that if those were there, move on and finish rebooting.
Clearly frustrated at the whole ordeal - I simply removed the offending block of code using the magic of "//" ![Smile](images/smilies/icon_smile.gif)
I then recompiled init, did the special dance of 1,000 files to extract, insert, and recompress the KNOPPIX file, and put it back onto my CF Card..
Voila - No keypress!
If anyone ever has this problem again - (IE: Someone breaks sysvinit to require a freakin' keypress ..) - let me know and I'll forward you either a diff, patch, or zip of the whole mess fixed up.
P
Similar Threads
-
By gauclair in forum General Support
Replies: 0
Last Post: 01-23-2005, 05:36 AM
-
By Fiazle in forum General Support
Replies: 2
Last Post: 12-05-2004, 10:25 PM
-
By mimes in forum General Support
Replies: 1
Last Post: 11-29-2004, 04:57 AM
-
By DimGR in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 05-25-2004, 02:46 AM
-
By n3150nao in forum General Support
Replies: 2
Last Post: 03-18-2004, 02:12 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
![Future Systems Indus GT-100 Atari 520ST 1040ST STE MEGA Falcon KL picture](/store/img/g/gZsAAOSwK2lmbxXb/s-l225/Future-Systems-Indus-GT-100-Atari-520ST-1040ST-STE.jpg)
Future Systems Indus GT-100 Atari 520ST 1040ST STE MEGA Falcon KL
$74.99
![Atari 8bit A8 Pico Cart XL XE XEGS - NEW picture](/store/img/g/LZIAAOSwKy5mbHDD/s-l225/Atari-8bit-A8-Pico-Cart-XL-XE-XEGS-NEW.jpg)
Atari 8bit A8 Pico Cart XL XE XEGS - NEW
$20.00
![A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game picture](/store/img/g/uAQAAOSwhaxmVnIS/s-l225/A8PicoCart-Kit-Atari-130-65-XE-800-600-XL-unocart-.jpg)
A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game
$19.95
![SIO2PC Atari 400 800 XL XE Drive Emulator picture](/store/img/g/sQ8AAOSwLqZmTSDZ/s-l225/SIO2PC-Atari-400-800-XL-XE-Drive-Emulator.jpg)
SIO2PC Atari 400 800 XL XE Drive Emulator
$15.85
![Atari 800XL Computer Game Console, 6 Games 4 Controllers POWERS ON limited test picture](/store/img/g/-OcAAOSwYLVmbxNg/s-l225/Atari-800XL-Computer-Game-Console-6-Games-4-Contro.jpg)
Atari 800XL Computer Game Console, 6 Games 4 Controllers POWERS ON limited test
$299.00
![Atari ST SUPRADRIVE 20Mb HD HDD Supra Hard Disk Drive KL picture](/store/img/g/qJ0AAOSwyWVmbxLH/s-l225/Atari-ST-SUPRADRIVE-20Mb-HD-HDD-Supra-Hard-Disk-Dr.jpg)
Atari ST SUPRADRIVE 20Mb HD HDD Supra Hard Disk Drive KL
$64.99
![Vintage Atari 800 Computer System - UNTESTED AS IS - picture](/store/img/g/itwAAOSwkKdmbL3V/s-l225/Vintage-Atari-800-Computer-System-UNTESTED-AS-IS-F.jpg)
Vintage Atari 800 Computer System - UNTESTED AS IS -
$179.95
![Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On picture](/store/img/g/3dEAAOSw4EFma4Kg/s-l225/Rana-Systems-1000-Atari-Compatible-Floppy-Disk-Dri.jpg)
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
![Atari Computer 8 Bit XF551 Floppy Disk Drive Power Cord & Manual FOR PARTS READ picture](/store/img/g/ExUAAOSwnsBmbRDh/s-l225/Atari-Computer-8-Bit-XF551-Floppy-Disk-Drive-Power.jpg)
Atari Computer 8 Bit XF551 Floppy Disk Drive Power Cord & Manual FOR PARTS READ
$199.90
![Atari 800xl 65xe 130xe XEGS Pico Kit. A8PicoCart picture](/store/img/g/DQYAAOSw6~FmY95p/s-l225/Atari-800xl-65xe-130xe-XEGS-Pico-Kit-A8PicoCart.jpg)
Atari 800xl 65xe 130xe XEGS Pico Kit. A8PicoCart
$15.00