-
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
-
Senior Member
registered user
Re: Auto reboot after shutdown

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
-
By kinrik in forum MS Windows & New to Linux
Replies: 5
Last Post: 04-05-2007, 02:10 AM
-
By ThE_R_o_B in forum General Support
Replies: 5
Last Post: 04-22-2005, 04:20 AM
-
By djinn in forum General Support
Replies: 1
Last Post: 02-02-2004, 03:01 PM
-
By maddany in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2003, 02:19 AM
-
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
-
Forum Rules

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$316.61

PNY CS2340 1TB M.2 NVMe PCIe Gen4x4 Upgrade Kit SSD 7400/6100MB/s
$130.00

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$255.98

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1671.47

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99

SanDisk Optimus GX 7100 1TB M.2 2280 NVMe PCIe 4.0 x4 SSD Heatsink
$150.00

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99