LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-10-2008, 08:33 AM   #1
hyapadi
Member
 
Registered: Sep 2004
Location: Indonesia
Distribution: slackware
Posts: 38

Rep: Reputation: 15
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
 
Old 08-10-2008, 09:46 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
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
 
Old 08-10-2008, 02:04 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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
root (hdi,j)
configfile /boot/grub/menu-A.lst

title menu-B.lst
root (hdi,j)
configfile /boot/grub/menu-B.lst
menu.lst, menu-A.lst and menu-B.lst all stored in /boot/grub directory of partition specified by (hdi,j).
 
Old 08-11-2008, 08:30 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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
 
Old 08-11-2008, 08:33 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Put a blank title line in - only you will know it is selectable ...
 
Old 08-11-2008, 08:36 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Or make Linux the default and hide the boot menu ("hiddenmenu" option in menu.lst)
 
Old 08-12-2008, 10:41 AM   #7
hyapadi
Member
 
Registered: Sep 2004
Location: Indonesia
Distribution: slackware
Posts: 38

Original Poster
Rep: Reputation: 15
I'll tried the solutions given.

Thanks for the replies
 
Old 08-12-2008, 11:54 AM   #8
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Pray, tell me what is the reason for doing this?

If it is really important maybe others can also do this.
 
Old 08-12-2008, 12:17 PM   #9
userlander
Member
 
Registered: Jul 2008
Distribution: Arch, Debian
Posts: 61

Rep: Reputation: 18
Quote:
Originally Posted by pixellany View Post
Or make Linux the default and hide the boot menu ("hiddenmenu" option in menu.lst)
Can you make it visible before it boots with that method, like with an F key? I might like to implement this for some of my users who at the first sign of frustration reboot into windoze. I'm trying to get them off that habit.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to hide my ip ?? megaprog Debian 18 04-24-2016 07:38 AM
how to hide ip squid pk_kala Linux - Server 3 01-10-2008 09:49 PM
If you have nothing to hide... rickh General 2 07-14-2007 02:16 PM
How Can I Hide... FarmukanX Linux - Security 6 05-15-2007 09:50 AM
Hide X tux06 Debian 7 10-14-2006 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:51 PM.

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
Open Source Consulting | Domain Registration