Results 1 to 2 of 2

Thread: Auto reboot after shutdown

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    2

    Auto reboot after shutdown

    I have a problem with knoppix 3.9. I want it to instantly reboot/shutdown without ejecting the cd and pressing return.
    For this I have edited the isolinux.cfg file like that:

    Code:
    DEFAULT linux
    APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=minirt.gz nomce quiet noeject noprompt myconfig=/mnt/uba1 BOOT_IMAGE=knoppix
    TIMEOUT 1
    KBDMAP german.kbd
    PROMPT 1
    DISPLAY boot.msg
    F1 boot.msg
    F2 f2
    F3 f3
    LABEL knoppix
    KERNEL linux
    APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=minirt.gz nomce quiet noeject noprompt myconfig=/mnt/uba1  BOOT_IMAGE=knoppix
    I first had problems with knoppix not executing any of this command and I then tried to change to order of the command and now it loads the config automatically but still no aout shutdown/reboot.
    It worked fine for the previous knoppix 3.4 I have also used but now the system just hangs up without message and without rebooting.

    Any help would be appriciated!

    Thanks in advance!

    Neo

  2. #2
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: Auto reboot after shutdown

    Quote Originally Posted by NeoAnderson
    I have a problem with knoppix 3.9. I want it to instantly reboot/shutdown without ejecting the cd and pressing return.
    Take a look at /etc/init.d/knoppix-reboot file. Section
    Code:
    if [ -z "$NOEJECT" ]; then
    # Turn on autoeject of CD-Roms
    for dev in /proc/sys/dev/cdrom*/lock; do [ -f "$dev" ] && echo 0 > "$dev"; done
    for dev in /proc/sys/dev/cdrom*/autoeject; do [ -f "$dev" ] && echo 1 > "$dev"; done
    fi
    is what you would like to modify. I have not tried that myself but I think commenting those lines out would do the job.


    -tapsa-

Similar Threads

  1. windows odd shutdown won't reboot - heard knoppix might help
    By kinrik in forum MS Windows & New to Linux
    Replies: 5
    Last Post: 04-05-2007, 02:10 AM
  2. Knoppix hangs on Eht0 when shutdown or reboot?
    By ThE_R_o_B in forum General Support
    Replies: 5
    Last Post: 04-22-2005, 04:20 AM
  3. Knoppix v3.3 Auto-Shutdown
    By djinn in forum General Support
    Replies: 1
    Last Post: 02-02-2004, 03:01 PM
  4. auto: auto: no such file or directory
    By maddany in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-16-2003, 02:19 AM
  5. Problems with x - Boot-shutdown... Boot-shutdown...Boot-shut
    By _CaLeB_ in forum Hardware & Booting
    Replies: 5
    Last Post: 03-31-2003, 06:20 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
  •  


Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX picture

For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX

$149.99



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km picture

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km

$15.99



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



HP Z440 Workstation TWR Xeon E5-1603 v3, 8GB RAM, NVS310, SB1570, NO SSD/OS #95 picture

HP Z440 Workstation TWR Xeon E5-1603 v3, 8GB RAM, NVS310, SB1570, NO SSD/OS #95

$89.99