LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2009, 05:19 AM   #1
t-vercetti
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Rep: Reputation: 0
Autohide Windows NTFS Partition


hey guys!

i've read many postings on this issue so far, but i don't seem to find an answer to my situation:

i want my ntfs windows partition to be invisible under "my places" or "computer" or wherever else it could appear. i do not want it unmounted, or no icon on the desktop: i want it invisible.
i wish i had the entry in fstab but i don't.
i run /etc/mtab and there i can see it when it's mounted.

here's the windows partition in my mtab:
/dev/sda1 /media/disk fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0

and here's my fstab:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda6 during installation
UUID=76ebda76-5d17-4d6f-b5af-8a8b980eb3ae / ext3 relatime,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

further details:
my 80gb harddrive consists of the following partitions from left to right:
windows 15gb ntfs, swap 1gb, ext3 14gb, 50gb fat32

looks like my fstab only lists the ext3 and swap partition plus cdrom. where are the other 2 (ntfs and fat32)?

what i'd like to know is how i can make the windows partition disappear completely.
i followed a tip yesterday creating a mountpoint (sudo mkdir /mnt/sda1) and then adding the following line to fstab "/dev/sda1 /mnt/sda1 ntfs-3g defaults,locale=en_IN 0 0"

this worked fine as the partition was gone.
but somehow the 15gigs were added to the linux partition when i opened the gnome diskusage analyzer (babao) and also when i checked in "system monitor". it will tell me then that my linux system status is 30gb (the 15gb from ext3 and the 15gb from the hidden ntfs). i guess because it was mounted under the linux ext3 in order to make it disappear.

so how can i make it disappear without the mentioned side effect?

i found this wiki here but i don't know what to do with it, please help if this would solve my problem!

http://webapps.itcs.umich.edu/radmin...al_boot_setups

thanx a lot,
greetz,
vercetti.
 
Old 08-21-2009, 05:47 AM   #2
t-vercetti
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Original Poster
Rep: Reputation: 0
ok, quick edit:

i ran "pysdm" and there i can see and configure my partitions. this is a gui for fstab. i came up with the following fstab file after hardly changing anything in pysdm:

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda6 during installation
UUID=76ebda76-5d17-4d6f-b5af-8a8b980eb3ae / ext3 relatime,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

/dev/sda1 /media/sda1 ntfs noexec,noauto,nosuid,nodev,noatime,nodiratime 0 0
/dev/sda7 /media/sda7 vfat users,noauto,user 0 0

now i just have to figure out how to make it invisible.
any tips?

thx,
vercetti.
 
Old 08-21-2009, 07:05 AM   #3
t-vercetti
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Original Poster
Rep: Reputation: 0
hey guys!

i got the answer to my problem, hopefully others will find this thread via the search function.

i found these 2 threads (describing exactly the same procedure) and it worked perfectly for me.

http://ubuntuforums.org/showpost.php...79&postcount=2
http://ubuntuforums.org/showpost.php...8&postcount=34

so what's the problem here anyway? why doesn't it work thru editing fstab?
and is this solution somehow doing anything "bad" or otherwise disadvantageously to the system, or is it ok to use this workaround?

thx + greetz,
vercetti.
 
Old 08-21-2009, 01:31 PM   #4
z01krh
Member
 
Registered: May 2009
Posts: 34

Rep: Reputation: 0
Even though you found your answer I thought I would post my two cents.. Instead of "hidding" anything why not set up proper user rights and only allow a user goup or certain UID level access to the drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
recover windows NTFS partition thebluetrain Linux - Newbie 12 05-05-2009 06:12 AM
cannot mount Windows (NTFS) partition SharX Linux - General 14 06-21-2006 03:12 AM
cant access my windows ntfs partition Saulo SUSE / openSUSE 2 04-22-2006 09:59 PM
writing to a ntfs windows partition roseplant Linux - Newbie 2 01-22-2006 08:16 PM
need help making a partition over windows ntfs blackman890 Linux - Hardware 5 09-13-2005 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration