[SOLVED] How to Disable access to rest of the drive/partition and second HDD
UbuntuThis forum is for the discussion of Ubuntu 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.
How to Disable access to rest of the drive/partition and second HDD
I have two HDD 2TB and 200GB.
while installing Ubuntu 11.10 I remove 2TB from my PC and install Ubuntu in 200 GB HDD (root partition in "/dev/sdb2" and swap at /dev/sdb8).
Now I want the following:
find the screen shot. My second (2TB) HDD has lot of encrypted drives.
these are not in the computer (my computer home) list, so they are not mounted as well. but rest of the drives are in visible and right click mount/unmount list. I want to stop Ubuntu accessing all these drives not even mount/unmount list and not again visible after restart (like Ubuntu failed to read my encrypted drives... It should also failed to read-write all my NTFS or ext3 drives).
It (Ubuntu) should only get the access to File system Drive (which is the " / " of it).
Please help me by details command.. I am a new in linux
while installing Ubuntu 11.10 I remove 2TB from my PC and install Ubuntu in 200 GB HDD (root partition in "/dev/sdb2" and swap at /dev/sdb8).
Now I want the following:
find the screen shot. My second (2TB) HDD has lot of encrypted drives.
these are not in the computer (my computer home) list, so they are not mounted as well. but rest of the drives are in visible and right click mount/unmount list. I want to stop Ubuntu accessing all these drives not even mount/unmount list and not again visible after restart (like Ubuntu failed to read my encrypted drives... It should also failed to read-write all my NTFS or ext3 drives).
It (Ubuntu) should only get the access to File system Drive (which is the " / " of it).
Please help me by details command.. I am a new in linux
It should be as easy in Ubuntu as well.
Access can be controlled by users and groups.
icons can simply be thrown away...some thing like system settings/administration controls that.
ntfs-3g is required for r/w of ntfs drives.
I need to stop access my second HDD from Ubuntu 11.10 and also I want to stop the rest of the partition rather that Ubuntu's root partition of it.
Ubuntu should only access to its file system partiotion.
There is no need to write that in fstab unless you want the mount command to be shorter. Your initial description did not sound like you wanted to mount them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.