Unmounting a partition during system startup

By ramkrishnacs ยท 6 replies
Oct 1, 2010
Post New Reply
  1. Hi All,
    Can any one tell me how to unmount a partition during the system start-up. That is, the partition should not available for the user when he gets logged on.
  2. hellokitty[hk]

    hellokitty[hk] Hello, nice to meet you! Posts: 3,448   +145

    On windows? I think you'd have to lock it instead.
  3. ramkrishnacs

    ramkrishnacs TS Rookie Topic Starter

    Thanks HK.

    Actually my requirement is , i have 2 windows operating system's installed on my system which has 2 logical drives c: and d: .each drive is a root for a different OS (c:\winxp and d:\win7). when i run the first OS i don't want to see the drive d: and vice versa for the second OS (running it i don't want to see drive d:)
    what i am trying to do is unmount a drive ... how can i do that.
  4. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +184

    Hmm.. On the one hand, i'd say unassign it's drive letter, tho on the other tho on other hand, not really sure if / what impact would have if was unassigned next time you tried to reboot...

    Anyone know? or take a guess???? (and, yes, i'm too lazy to try doing it myself to find out. So what's the opionion? Wha'dya think will happen??)
  5. gbhall

    gbhall TechSpot Chancellor Posts: 2,431   +77

    Suggest you look here http://news.softpedia.com/news/How-to-hide-partition-drive-for-your-privacy-44023.shtml which is a tweakui registry change to prevent the drive letter appearing in windows explorer. You can still access it, however.

    The thing about literally disabling of a drive is more usually done by a boot manager, and causes the drive letters to change, so currently C;,D:,E; where D: is your other OS and E: is a data partition, become C:,D: where D: is now the former E: drive

    A good boot manager can actually hide and unhide a drive at boot time, hiding different drives according to the OS selected. Linux GRUB loader is a good example.

    Apparently, you will be using the Win7 boot manager, BCDedit. It is quite likely that advanced usage can do what you want (I am not sure). Failing that, there are several commercial boot managers that can.
  6. hellokitty[hk]

    hellokitty[hk] Hello, nice to meet you! Posts: 3,448   +145

    BTW mounting a drive is usually something that only linux does, since it runs on ext filesystem, it has to "mount" any NTFS drive.
    Unmounting is the opposite, but you can't exactly do that between two identical filesystems since they would natively access each other.
    If you don't want you're drive seen, hide it.
    If you don't want it accessed, lock it.
  7. jobeard

    jobeard TS Ambassador Posts: 11,173   +989

    Consider NTFS permissions as a means to control.

    Using an admin account, you could always
    1. Add User JoeDoe
    2. and then set Deny Joedoe everything
    while the drive is still visable, all access can be denied

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...