Results 1 to 4 of 4

Thread: Reboot computer without prompt for for a keypress

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    3

    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

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    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/

  3. #3
    Junior Member
    Join Date
    May 2007
    Posts
    2

    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

  4. #4
    Junior Member
    Join Date
    May 2007
    Posts
    2

    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 "//"

    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

  1. Computer reboot when kernel is loading
    By gauclair in forum General Support
    Replies: 0
    Last Post: 01-23-2005, 05:36 AM
  2. Log out prompt
    By Fiazle in forum General Support
    Replies: 2
    Last Post: 12-05-2004, 10:25 PM
  3. frozen computer+ reboot= no kde?
    By mimes in forum General Support
    Replies: 1
    Last Post: 11-29-2004, 04:57 AM
  4. it does not prompt me how to log in
    By DimGR in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-25-2004, 02:46 AM
  5. Changing prompt
    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
  •  


A8PicoCart Kit Atari XE XL unocart clone multicart cartridge game picture

A8PicoCart Kit Atari XE XL unocart clone multicart cartridge game

$18.95



Atari 8bit A8PicoCart Multi-Cart For Atari Computer picture

Atari 8bit A8PicoCart Multi-Cart For Atari Computer

$28.95



SIO2PC Atari 400 800 XL XE Drive Emulator picture

SIO2PC Atari 400 800 XL XE Drive Emulator

$15.85



Atari Mega STE Keyboard (new in box) picture

Atari Mega STE Keyboard (new in box)

$299.99



A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart atarimax clone picture

A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart atarimax clone

$28.50



ATARI Mega ST2 Highly UPGRADED 4Mb Switchable TOS 1.2 & 1.4 520ST/1040ST/STE/TT picture

ATARI Mega ST2 Highly UPGRADED 4Mb Switchable TOS 1.2 & 1.4 520ST/1040ST/STE/TT

$698.97



Atari Best XE Touch Upgrade Keyboard Contacts picture

Atari Best XE Touch Upgrade Keyboard Contacts

$30.00



A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart atarimax clone picture

A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart atarimax clone

$28.50



Atari Touch Tablet CX77 Not Tested Vintage As Is Tablet Only - Clean picture

Atari Touch Tablet CX77 Not Tested Vintage As Is Tablet Only - Clean

$39.00



TEAM TAP Atari Jaguar Multi Player Adapter NEW In Box picture

TEAM TAP Atari Jaguar Multi Player Adapter NEW In Box

$25.46