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.
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
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![]()
I think the simplest and most safe way is to edit /etc/rc.local.
For example, here are my modifications
I could also have started servers etcHTML 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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$155.00
pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99
OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$298.00
Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00
Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance
$155.75
Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00
TWO (2) Firewalla Gold Pro Devices - 10 Gbps Cyber Security Firewall
$1444.00
OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00
Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed
$202.50
SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99