If you are not going to make this a HD install, you are going to have to remaster knoppix with those options.
I'm really pleased with Knoppix, this is as far as I 've ever made it with Linux and I can see me ditching Windows sooooooon. (Dual boot at present). With the help of this forum I've been able to set Knoppix up for what I need, but not make the changes permanent so I have to manually put the commands in each session!
I appreciate that there are text files to make these changes permanent, just not where they are, or where is the correct place when you have a choice..... It's just for the one user (me) at the moment but system-wide is also fine.
I have downloaded and printed the 229 page 'Debian Reference' manual, but until I've read that..... anyone know where to add these changes so they are loaded at boot? Many thanks, Stuart.....
1). Enable DMA on for hardrives and CD/DVD-ROM drives ('/sbin/hdparm -qd1 /dev/hdx') and turn buffers on.
2). Enable read-write on all mounted volumes ('mount -o remount,rw /dev/hdx')
3). Automatically run Arno's IPtables-Firewall script, to setup 'ICS' (maquerading and NAT). ('/etc/rc.d/rc.iptables start')
Some other things I haven't been able to do (yet?) include importing my 1000s of emails from Outlook Express 6, 'print' to my plotter in hpgl (no ideas on that one!) and scanning.
(The list of things I can do is growing all the time, (like being able to install packages!!!) - but this is a long enough post already!
Stuart.....)
If you are not going to make this a HD install, you are going to have to remaster knoppix with those options.
It is a hard-disc install, you'll scare a newbie (me) using big words like 'remaster'!!!!
Thanks, Stu.....
Oh, another one I noticed, have 'cups' run automatically in a new session.
Cheers, Stu.....
Add these lines to /etc/init.d/bootmisc.sh:Originally Posted by stukennedyuk
Code:# Added by me for DMA /sbin/hdparm -qd1 /dev/hdx /sbin/hdparm -qd1 /dev/hdx # Added by me for firewall if [ -r /etc/rc.d/rc.iptables ]; then . /etc/rc.d/rc.iptables fiPost your /etc/fstab so I can see the permissions when mounted generally you would want rw in the line instead of ro. Not sure about the rest.2). Enable read-write on all mounted volumes ('mount -o remount,rw /dev/hdx')
It seems to ignore my entries. bootmisc.sh has other stuff in it, so it must do something. When does bootmisc.sh get run? Is it early in the boot sequence, could these settings get overwritten by the autoconfiguration, just after?
Stu.....
Auto-configuration?? How did you install with the knx-hdinstall or the new knoppix-installer if the new which mode debian or knoppix? AFAIK the bootmisc.sh is one of the last scripts run nothing should be overriding it.Originally Posted by stukennedyuk
You need to make the changes as root. That should be the only thing keeping the changes from sticking.Originally Posted by stukennedyuk
Okay-dokey, I've done some reading. (Debian reference manual) It will be a while before I understand it though!
This is how it works.....
Linux boots by running 'init' - the config file for 'init' (/etc/initab) specifies that the first script to run should be /etc/init.d/rcS which runs all of the scripts in /etc/rcS.d/ ('d' for directory?) - in alphanumeric order. This is where Klaus has put his clever autoconfig script, S00knoppix-autoconfig - the one that checks what hardware is being used and writes the correct config entries.
If you view this script, you can pick up bits that can be recognised by the messages appearing during boot, e.g. 'running from HD, regenerate....' and 'processor 0 is.....' and so on.
At some point the scripts in the appropriate run level directory are run, e.g. /etc/rc5.d for run level (init level?) '5' - I think this is the best place for me to add a script that overrides the autodetected values. It seems a bit perverse to do it this way, autodetect then overwrite, but it should work? I'll try later.
Just thought I'd share this with you!
Stu.....

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive
$23.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00
Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99