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
  •  


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

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 picture

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 picture

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 picture

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

$284.79



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



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

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

$14.49



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



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

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 picture

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 picture

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

$768.00