-
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.
-
Senior Member
registered user
Did you look into the bootmenu? Perhaps there is an option...
-
i can't find any option to disable automount.
i can't use qparted because of automount (cant unmount: busy...)
-
Senior Member
registered user
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
to lists the running processes, one entry might be like this:
PID...tty...stat...time.......command
56....?......SW....00:00... automount
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:
-
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
-
By Mustang64 in forum Hdd Install / Debian / Apt
Replies: 12
Last Post: 04-25-2005, 10:21 PM
-
By changux in forum General Support
Replies: 0
Last Post: 09-03-2004, 07:29 PM
-
By chrisjhurl in forum Hardware & Booting
Replies: 3
Last Post: 08-06-2004, 01:26 PM
-
By Valent in forum General Support
Replies: 2
Last Post: 04-07-2004, 03:51 AM
-
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
-
Forum Rules

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
$275.00

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
$374.99

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
$409.99

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
$289.99

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)
$299.95