Results 1 to 5 of 5

Thread: How to disable automount of hard disk partitions

Hybrid View

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    1

    How to disable automount of hard disk partitions

    Hi,

    Here is my problem : I want my Knoppix CD to be totally independent, and really don't want it to mount local hard disk partitions, not even for swap.
    Unfortunately, at boot, every available partition is mounted, and that's what I want to avoid.
    On the other side, I would keep the function of automatic mount of USB keys...

    Can someone tell me how to do so ?
    I commented out some lines in /etc/init.d/knoppix-autoconfig (around line 715) which seemed to concern automounting process.
    Did I right ?

    Is there a best way to do the same ?

    Thanks in advance for any reply.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Did you look into the bootmenu? Perhaps there is an option...

  3. #3
    Junior Member
    Join Date
    May 2004
    Posts
    2
    i can't find any option to disable automount.
    i can't use qparted because of automount (cant unmount: busy...)

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I don't run automount, so I don't know the name of the program.

    To stop the automounter, you need to know it's name, then you may stop it by calling kill with it's PID.
    Use
    Code:
    ps ax
    to lists the running processes, one entry might be like this:
    PID...tty...stat...time.......command
    56....?......SW....00:00... automount
    Code:
    kill -15 56
    which is a rude way to solve the problem, but shouldn't matter.
    If the process refuses to stop, we could be a bit ruder too:
    Code:
    kill -9 56

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Location
    Shanghai, China
    Posts
    9

    Rebuild FSTAB

    The knoppix-autoconfig file calls a file in /usr/sbin called rebuildfstab.
    This file is a shellscript that does as the name says. If you edit this file you can change the options that it writes to the fstab file.

    Hope that helps

    -Robbert

Similar Threads

  1. Renaming Hard Drives/Partitions
    By Mustang64 in forum Hdd Install / Debian / Apt
    Replies: 12
    Last Post: 04-25-2005, 10:21 PM
  2. how knoppix automount existent partitions?
    By changux in forum General Support
    Replies: 0
    Last Post: 09-03-2004, 07:29 PM
  3. Partitions on one disk appear blank in Knoppix
    By chrisjhurl in forum Hardware & Booting
    Replies: 3
    Last Post: 08-06-2004, 01:26 PM
  4. Replies: 2
    Last Post: 04-07-2004, 03:51 AM
  5. Hard Disk Problem
    By Philly_Blunt in forum Hardware & Booting
    Replies: 3
    Last Post: 01-21-2004, 05:43 PM

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 EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



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 R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox picture

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox

$620.00



Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



Dell Poweredge R620 10x 2.5

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710

$349.99



Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM) picture

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)

$299.95