-
Script to run at bootup
Where can I put a short script that will be run at bootup in Knoppix 6.2?
I find it tedious to have to type in 'setxkbmap gb' every time after boot up, and it will confuse my friends who want to use it, but are not used to CLI.
-
Hey-
Do you have a "persistent store" set up? On both flash drives and "poor man's install" (tohd=/dev/whatever, on bootup) you can set up a filesystem that is merged with the main KNOPPIX system files, and your settings will be saved. Once you have that done, you can poke around in the /etc/init.d/ or whatever and your modifications will take effect permanently.
Hope that helps!
Krishna
Last edited by krishna.murphy; 05-01-2010 at 05:38 AM.
Reason: Ooops
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
krishna.murphy
Hey-
Do you have a "persistent store" set up? On both flash drives and "poor man's install" (tohd=/dev/whatever, on bootup) you can set up a filesystem that is merged with the main KNOPPIX system files, and your settings will be saved. Once you have that done, you can poke around in the /etc/init.d/ or whatever and your modifications will take effect permanently.
Additional info (from the cheatcodes):
If you would like to edit your X-Server configuration manually
(config file /etc/X11/xorg.conf), use "knoppix 2" to boot
into runlevel 2 (textmode only) and, after changing the X
configuration, start the X environment with "init 5". Note that
you can always leave the graphical environment with "init 2", and
restart it later with "init 5".
Hope that helps!
Krishna
-
Senior Member
registered user
I think the simplest and most safe way is to edit /etc/rc.local.
For example, here are my modifications
HTML Code:
# Bug in initial 6.2.1 loop devices created wrong! Only one, create the rest
mknod -m660 /dev/loop/1 b 7 1
mknod -m660 /dev/loop/2 b 7 2
mknod -m660 /dev/loop/3 b 7 3
mknod -m660 /dev/loop/4 b 7 4
mknod -m660 /dev/loop/5 b 7 5
mknod -m660 /dev/loop/6 b 7 6
mknod -m660 /dev/loop/7 b 7 7
# Mounting extra persistent storage + creating directories
mkdir /store
mkdir /store/local
mkdir /store/var
mkdir /store/share
mount -o loop /mnt-system/KNOPPIX/knoppix-data2.img /store/share
mount -o loop /mnt-system/KNOPPIX/knoppix-data3.img /store/var
export GDK_NATIVE_WINDOWS=1
I could also have started servers etc
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
![Atari LOGO Programming Cartridge RX8032 for Atari 400 & 800 8-bit Computers picture](/store/img/g/qcMAAOSwH0RmgBWQ/s-l225/Atari-LOGO-Programming-Cartridge-RX8032-for-Atari-.jpg)
Atari LOGO Programming Cartridge RX8032 for Atari 400 & 800 8-bit Computers
$19.99
![Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU picture](/store/img/g/YVgAAOSwe-pmGvcM/s-l225/Atari-Power-Cube-800XL-600XL-65XE-130XE-USB-C-Powe.jpg)
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
![Atari 800xl Excellent cond. Mechanical KB. Custom upgrades (Video, Case) picture](/store/img/g/sgEAAOSw3CRmfxk-/s-l225/Atari-800xl-Excellent-cond-Mechanical-KB-Custom-up.jpg)
Atari 800xl Excellent cond. Mechanical KB. Custom upgrades (Video, Case)
$280.00
![Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray picture](/store/img/g/KnsAAOSwR8Fmc1qN/s-l225/Atari-800xl-65xe-130xe-XEGS-Pico-A8PicoCart-Loaded.jpg)
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray
$25.00
![ATARI 130XE Computer TESTED WORKING Original Box Power Supply MANUAL TV Cable picture](/store/img/g/~IsAAOSwY51mfvmM/s-l225/ATARI-130XE-Computer-TESTED-WORKING-Original-Box-P.jpg)
ATARI 130XE Computer TESTED WORKING Original Box Power Supply MANUAL TV Cable
$249.99
![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 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Red/White picture](/store/img/g/1JIAAOSwN0FmehzW/s-l225/Atari-800xl-65xe-130xe-XEGS-Pico-A8PicoCart-Loaded.jpg)
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Red/White
$28.00
![Submarine Commander Video Game Cartridge Atari 400, 800, XL, XE Tested & Cleaned picture](/store/img/g/0-gAAOSwuqNmgBfN/s-l225/Submarine-Commander-Video-Game-Cartridge-Atari-400.jpg)
Submarine Commander Video Game Cartridge Atari 400, 800, XL, XE Tested & Cleaned
$10.99
![Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up picture](/store/img/g/jwkAAOSwQU9mQpmy/s-l225/Atari-800-8-Bit-Home-Computer-Complete-in-Box-Buea.jpg)
Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up
$399.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