Protect/Hide your Windows Installation

Share your own howto's etc. Not for support questions!

Protect/Hide your Windows Installation

Postby bester69 » 2017-01-17 02:02

If we've a windows installation, we might wish to prevent from messing accidentally some window system directories, but at the same time you might want to have available the free space of that windows partition from our linux.

I'd recommend you to create a WORK FOLDER in that windows partition and remap that folder over the windows partition, so you can hide the sensible windows files at your linux session.

So easy like this:
1) We create a WORK FOLDER in windows partition:
cd /media/sda1 (Win partition)
mkdir MYWINFOLDER

2) We remap over Windows partition
sudo mount --bind /media/sda1/MYWINFOLDER/ /media/sda1/
This way all Windows directories get hidden and protected to our activities.

The result: --> /media/sda1 (just see WORk FOLDER):
Imagesubir imagenes gratis

3) We create a script to remap (hide windows) at startup:
hidewin.sh
Code: Select all
#!/bin/bash
#
sudo mount --bind /media/sda1/MYWINFOLDER/ /media/sda1/


---------------------------------------------------

Once done, we might wish to remove availability Windows from Grub by just updating the grub:
sudo update-grub
As linux can't find windows installation (its overmapping), it updates the grub without the windows enterline.



Im applying this solution of my own to protect/hide windows system directories. :D
Last edited by bester69 on 2017-01-17 02:13, edited 1 time in total.
User avatar
bester69
 
Posts: 813
Joined: 2015-04-02 13:15

Re: Protect/Hide your Windows Installation

Postby Segfault » 2017-01-17 03:38

I want to try it, how to get Windows? I tried "apt-get install windows", but it printed "E: Unable to locate package windows". What repo I need to add to install Windows?
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: Protect/Hide your Windows Installation

Postby 4D696B65 » 2017-01-17 09:03

Segfault wrote:I want to try it, how to get Windows? I tried "apt-get install windows", but it printed "E: Unable to locate package windows". What repo I need to add to install Windows?

Its in an Ubuntu PPA I think.
User avatar
4D696B65
 
Posts: 1961
Joined: 2009-06-28 06:09


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable