[clug-talk] how to stop partitions being autodetected.

Gustin Johnson gustin at echostar.ca
Tue May 9 16:24:38 PDT 2006

Hash: SHA1

To be clear, he should leave those partitions in his  /etc/fstab, just
do not put the auto option in.

I am not sure what Mepis is doing, but when I remove a partition from
fstab, it stays removed.

I am surprised that his setup works, windows (at least the NT variants)
do not like booting from secondary disks.  This setup is begging for
trouble, but then I have never been a fan of multiboot (or dual boot).

In this case I would strongly suggest VMware or something similar
(VMware has worked the best for me).

Hendrik Schaink wrote:
> To prevent mounting, change the "auto" settings in the 4th parameter in
> /etc/fstab from "auto" to "noauto", like this:
> From:
> /dev/hdb1   <mntpoint>   auto   defaults,user,auto   0  0
> To:
> /dev/hdb1   <mntpoint>   auto   defaults,user,noauto   0  0
> Do this for all partitions that should _not_ be mounted. Save fstab and
> issue the command (as root) mount -a.
> WARNING: do _not_ touch any root, boot, home, tmp, usr, var, opt
> partitions!! Or you will not be able to start your computer.
> Also backup your system's fstab with
> 	cp -p /etc/fstab /etc/fstab.orig
> HTH,
> Hendrik Schaink
> Graham Monk wrote:
>> I'm getting frustrated. Here is the situation: the computer has three
>> IDE drives, one DVD/RW drive, and one USB drive. The partitioning is
>> as follows:
>> hda1 = XOSL 1.15 bootloader;
>> hda2 = QNX 6.2.1;
>> hda3 = Windows 98SE;
>> hdb1 = Windows 2000 Pro SP4;
>> hdb2 = SimplyMEPIS 3.4-3 (currently);
>> hdc1 = Linux swap;
>> hdc2 = Windows swap;
>> hdc3 = FAT32 userdata partition;
>> hdc4 = FAT32 userdata partition;
>> hdd = DVD/RW drive;
>> sda1 = FAT32 userdata partition (USB HDD).
>> What I need is for MEPIS (or any other distro) to:
>> Never detect or try to mount or show in any way at all any of the
>> above-listed partitions, except for hdc3, hdc4, hdd, and sda1 - which
>> I do want automounted, and displayed on the desktop as named icons.
>> And, I also need MEPIS to use hdc1 for swap - which is something it
>> does not seem to be willing to do, at the moment... argh.
>> I have tried editing fstab repeatedly; however, the "dynamic" portion
>> always keeps coming back... despite having already turned Kwikdisk
>> off. Why??
>> Can anyone offer any help on this, please?
>> djallan
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the clug-talk mailing list