I would edit the isolinux.cfg file and add the cheatcodes noswap and nofstab.
I have been working on remastering Knoppix for my company's custom needs, and have been through a lot of problems...solved thankfully, through a combination of looking up answers here and elsewhere. Now I have a problem I have not been able to fix: I have to stop Knoppix from auto-mounting any partition on a harddrive, including the swap, hopefully without uninstalling autofs.
Allow me to explain: we use partimage in a script along with sfdisk and dd to (re)image workstations, servers, etc. Everything is automated, so when sfdisk tries to put a partition table onto a disk, it expects the disk to not be in use (I don't want to use the --force parameter for other reasons). Knoppix default CD/DVD automounts the swap partition for speed reasons, I take it. This makes sfdisk bomb out at trying to modify the partition table, but doesn't stop the script. When the script gets to the part of actually using partimage, it bombs out due to the partition not being the right size - of course with no error code whatsoever. Since the sfdisk part of the script went by so fast, tracking down this problem took some time, and led to a wild goose-chase centered around partimage's functionality.
What I have done in subsiquent Knoppix remasters is to turn off the autofs script and remove it from init.d. This stops autofs from starting at boot, or so I thought. When I do a ps auxw, there sits automount, all fat and happy. The strange thing is that it now does not mount swap partitions - at least not at boot. It will however mount swap partitions JUST AFTER sfdisk modifies and writes the partition table back to disk! This does not interfere with our script, thank goodness, but still is puzzling, and leaves open the question that if we modify our scripts in future will this behaviour be a detrement. How the hell did the automount daemon run if it was not even in the init.d? I have scanned the knoppix-autostart file, but I can't find anywhere to change it there either. I would just like to kill it, possibly uninstall it, but I think Knoppix depends on automount a bit too much for that radical of a fix.
Any thoughts?
I would edit the isolinux.cfg file and add the cheatcodes noswap and nofstab.
Thanks, underscore, that sounds like a plan. I was so focused on making changes in the OS itself I forgot about the boot parameters. I'll try it and see what effect it has on our scripts here.Originally Posted by UnderScore

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640
$39.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Western Digital Red WD60EFRX-68MYMN1 6 TB,Internal,5400 RPM,3.5 inch Hard Drive
$179.99