FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I stop Fedora 9 from automounting my dual-boot system's Windows XP partition? The partition doesn't seem to be in /etc/fstab or in GNOME's Applications > System Tools > Disk Management.
Can you confirm that the partition is automounted? Did you try the mount command to check this? In my experience, internal drives that are not in fstab are not automounted.
You can setup fstab to prevent automounting, google for "disable fstab automount" to find out how.
in fedora 9 partitions and drives are auto mounted
In my exp. most of the time when this question is asked it really means " HOW do i get ride of that annoying icon on my gnome desktop"
is this what you mean ?
-- or --
do you want to ( by hand) type
Code:
su -
root password
mkdir /mnt/windows
mount -t ntfs-3g /dev/sda1 /mnt/windows
every time you want to access that drive
-----
if it is the icon
then add the windows drive to fstab
Code:
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
and reboot
installing "autofs" may also be required.
------------ and/or --------
install " gconf-editor"
yum install gconf-editor
and uncheck
apps/nautilus/desktop/"volumes_visible"
---------------
or add " noauto " to the fstab to stpo auto mount
see
make WinXP parition completely inaccessible, everything else "automounts"
I want the WinXP partition to be completely invisible and inaccessible from Linux, while leaving everything else as-is:
- vfat shared partition automounted as /vfat (no desktop icon)
- external USB device icon on desktop when connected
- CD/DVD icon on desktop when disk inserted
BTW what is the correect term for "mounting" a drive without putting it in /etc/fstab or making it a mount point?
Assuming you want to block it from everyone except root, you could mount the FS to a mount point(in fstab) that only root has read permissions on. That would prevent all users (excluding root) from having access to the FS.
Edit: Just as a general rule in Linux: if something is being particularly hard to prevent, take a step back. Usually it is easier to control HOW something is being done, than to prevent it from being done.
Okay, now the automounting that gnome does (launches? instigates?) is bugging me too. I'm using Fedora 9 and nothing was automounted until after I used gnome-volume-properties (I'm pretty sure). Other accounts that login with gnome do _not_ automount these partitions ... what changed and how can I change it back?
What _gnome_ config item needs to be set/changed so that partitions on a fixed hard drive are _not_ automounted? [Yes, I'll mount them manually if I need them.]
There must be a gnome control (or should be) since these other partitions are not mounted at boot and are not mounted when logging in with other window managers. [And no, I do not want to modify fstab. Gnome should be controllable, yes?]
What _gnome_ config item needs to be set/changed so that partitions on a fixed hard drive are _not_ automounted? [Yes, I'll mount them manually if I need them.]
There must be a gnome control (or should be) since these other partitions are not mounted at boot and are not mounted when logging in with other window managers. [And no, I do not want to modify fstab. Gnome should be controllable, yes?]
Okay, if you just want to prevent gnome from mounting specific partitions, you can issue commands like this (as a normal user).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.