Results 1 to 3 of 3

Thread: How do I kill automounter? or: Stop the swap, PLEASE!

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    6

    How do I kill automounter? or: Stop the swap, PLEASE!

    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?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    I would edit the isolinux.cfg file and add the cheatcodes noswap and nofstab.

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    6
    Quote Originally Posted by UnderScore
    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.

Similar Threads

  1. automounter(?) problem
    By posmanet in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-22-2006, 06:54 PM
  2. automounter started for: floppy cdrom
    By xudzh in forum Hardware & Booting
    Replies: 3
    Last Post: 05-27-2006, 06:20 PM
  3. Automounter Started for: Floppy Cdrom ?
    By ar0ne in forum General Support
    Replies: 0
    Last Post: 12-15-2005, 06:40 AM
  4. 3.8 automounter
    By jdohrmann in forum German Forum
    Replies: 0
    Last Post: 04-04-2005, 11:58 AM
  5. Stop Knoppix from using a Win98 swap. [Solved]
    By Decibels in forum General Support
    Replies: 1
    Last Post: 01-04-2005, 04:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Lenovo ThinkServer TS460 Part Number: 70TS-S01U00 picture

Lenovo ThinkServer TS460 Part Number: 70TS-S01U00

$279.00



INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid picture

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid

$139.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$249.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00