SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
One fat drive was automatically mounted at /windows/c.
I removed that drive, removed "or rather commented out" the entry in fstab, and deleted the "c" folder in /windows.
I am left with a device icon on Gnome desktop named c.
C properties show- Name: c, Location: on the desktop, and "unknown" for the rest of the attributes.
Permissions show: the permissions of "C" could not be determined.
I can get it off the desktop with gnome config but it is still shows in nautilus "places".
Stopping a hard drive from being mounted on linux boot
Quote:
Originally Posted by douart
I reinstalled 10.2.
One fat drive was automatically mounted at /windows/c.
I removed that drive, removed "or rather commented out" the entry in fstab, and deleted the "c" folder in /windows.
I am left with a device icon on Gnome desktop named c.
C properties show- Name: c, Location: on the desktop, and "unknown" for the rest of the attributes.
Permissions show: the permissions of "C" could not be determined.
I can get it off the desktop with gnome config but it is still shows in nautilus "places".
How do I get rid of it?
Dear douart,
You removed a mount point from your hard drive, this is quite a brute way of 'unmounting'. But still, I can understand that it is quite unpleasant to have a directory windows/c.
What you have to do is change your /etc/fstab. This is a file, containing all the mount points of your hard drives. You can only open it with root access. You can do so by opening a console, and then typing 'su' for switch user, it will ask for a root password. then, when you are root (you can check by the command 'whoami') you have to open an editor like 'nano /etc/fstab' (console-editor) or 'kate /etc/fstab/' (graphical window) or whatever editor you like.
You will see that there is one line containing your hard drive. It might for example be hda1.
You will see that the line tells you stuff about the file system on your hard drive, as where it is mounted. You ought to delete this line. BUT BE CARERFULL. make sure it is the the right line you remove. Only remove the line if and only if you are sure that it is the drive you want to unmount. DON'T REMOVE THE LINE WHERE THE MOUNT POINT IS / !
I've written another thread on mounting on this forum-site, it specifically tells one how to mount a hard drive as a home directory. Search for my name on this forum, and you will reach it.
Thanks Herbert,
I had physically removed the drive.
Instead of deleting the mount point from fstab I had put a comment mark (*) in front of the line.
I deleted the line from fstab and the unwanted icon from the removed drive is gone.
Thanks Herbert,
I had physically removed the drive.
Instead of deleting the mount point from fstab I had put a comment mark (*) in front of the line.
I deleted the line from fstab and the unwanted icon from the removed drive is gone.
Hello Douart,
I'm not for sure if the asterix (*) is a comment token in your fstab, It also could be the # or the % char. But anyway, as long as you don't delete your main file system, there is not much damage possible. And in case you would, I don't think it would be irresolvable.
I see that you are using openSuSE linix, I think that's a good choice! Although I heard that the 64-bit version is a little unstable. But I never used it, when it feels stable, it probably is.
Greetings,
Last edited by anonymous234; 04-03-2007 at 12:05 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.