-
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

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99

Intel Core Ultra 7 265K CPU Desktop Processor LGA 1851 20-Core - New
$284.79

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700 3.00 GHz LGA 1151 Desktop CPU Processor SRG13
$79.99

AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00