Hide OS
I'm planning to dual boot Linux and Windows XP / Vista.
My question is, is there anyway to hide the option to boot to Windows? and unhide it again when I want to use the windows? The objective: - to hide windows, so that the only visible things is Linux. I have a thought that this might be done with some settings in boot loader ( grub or lilo ). But I have completely no idea how to do it. Thanks |
You can remove the windows entry in the bootloader (grub) config files. Edit /boot/grub/grub.conf or menu.lst for that.
So only Linux things will be visible. To boot anything else, press 'c' and do #root (hd0,0) #chainloader +1 #boot |
Perhaps the easiest way is to use the menu system.
One Master menu (menu.lst) to boot either Menu A (menu-A.lst) or Menu B (menu-B.lst) Menu A to boot Windows Menu B to boot Linux. I have done it with a menu C too that boots BSD and Solaris. My menu A has 3 Dos and 5 Windows. Menu B has 100+ Linux. menu.lst should look like Code:
title menu-A.lst |
I'm not sure there's any real reason to "hide" Windows if you plan to actually use it on occasion. Just make Linux the default, and your system will always boot into Linux unless you specifically choose Windows
|
Put a blank title line in - only you will know it is selectable ...
|
Or make Linux the default and hide the boot menu ("hiddenmenu" option in menu.lst)
|
I'll tried the solutions given.
Thanks for the replies :D |
Pray, tell me what is the reason for doing this?
If it is really important maybe others can also do this. |
Quote:
|
All times are GMT -5. The time now is 02:47 PM. |