Tuesday, September 2, 2008

How to hide your linux partition fro co-users

This is for those who want to avoid nervous reactions of other users from the pc who are dead scared for something like Ubuntu:

If you just want to hide your linux partition then the best thing to do would be to hide grub.
This is done by editing the menu.lst file (sometimes called grub.conf) This can be found by typing into a terminal:

sudo gedit /boot/grub/menu.lst

Find the lines:

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

They should be near the top, edit them so that they read:

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

(No #) Then save, exit and reboot

You may also want to change your default boot entry, if you want your xp to load then add savedefault into your xp entry, mine looks like this:

title Windows XP bootloader (x3)
root (hd0,0)
savedefault
makeactive
chainloader +1

then change the default num option, usually first option to 'saved'

This should automatically boot to windows, without showing any traces of linux and if you want to boot to linux tap ESC on boot.

Still having problems and having to restore the pc to its original state?
Or otherswise stated to be sure that things are reversible:
How to uninstall grub and Linux: http://www.users.bigpond.net.au/hermanzone/p18.htm

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.