LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2008, 08:52 PM   #1
lazerith
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Dual boot menu hide


First all, i would like to say i am a COMPLETE newbie when it comes to any part of Linux. With that said i wanted to learn.

My question. I currently have vista installed and Ubuntu. when my system starts it comes up to the dual boot menu. I would like to know if there is a way to completely hide the dual boot screen and have it load Vista like Ubuntu is not even installed. Reason i need this is because me wife is completely cpu illiterate and if that boot menu comes up like that all the time it will 1. confuse the crap out of her and 2. make her nuts that she has to do an additional step to start windows.

I really appreciate any help, and please remember that i really a big NOOB so any instructions will have to be painstakingly step by step click by click..

Thank you so much in advance
 
Old 03-27-2008, 09:13 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
in /boot/grub there is a file called menu.lst. In that file, there is a timeout value, it looks something like:

timeout 10


change the timeout value to 1 (for 1 second). I wouldn't remove it completely (by changing it to 0) because it will be very hard to get it back. At least with a 1 second timeout, it will only be up for 1 second & will be gone before she can even read what it says, but you can be quick with your arrow keys & stop it if you want.

also, in that same file, there is an option for "default". the default value maps to the entry in the file. Find where the "Windows" entry is in the list & use that as the default. If you need more help, copy/paste your menu.lst here & we can tell you what to use for default so windows boots up automatically when the computer is turned on.
 
Old 03-27-2008, 10:24 PM   #3
lazerith
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the info BrianK.. But just to make sure here is a copy of the file. I think i know what to do but i would like your input just to make sure.. Thanks

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

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

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c37ba29c-ce8d-4eac-b1ba-91c815c6313a ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c37ba29c-ce8d-4eac-b1ba-91c815c6313a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c37ba29c-ce8d-4eac-b1ba-91c815c6313a ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
makeactive
chainloader +1
 
Old 03-27-2008, 10:29 PM   #4
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by lazerith View Post
Thanks for the info BrianK.. But just to make sure here is a copy of the file. I think i know what to do but i would like your input just to make sure.. Thanks

# menu.lst - See: grub(8), info grub, update-grub(8)
default 0

## timeout sec
timeout 10

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic <-- 0
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c37ba29c-ce8d-4eac-b1ba-91c815c6313a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) <-- 1
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c37ba29c-ce8d-4eac-b1ba-91c815c6313a ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+ <-- 2
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems: <-- 3
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader) <-- 4
root (hd0,1)
savedefault
makeactive
chainloader +1
looks like default should be 4, but you may want to test that first with a 10 second timeout to be sure. The default will be highlighted when that boot screen comes up. If it's right, change the timeout to 1.

Last edited by BrianK; 03-27-2008 at 10:31 PM.
 
Old 03-27-2008, 10:30 PM   #5
lazerith
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BrianK View Post
looks like default should be 4
I see where to adjust the timeout.. but where do you adjust the default to 4?
 
Old 03-27-2008, 10:37 PM   #6
lazerith
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
ok i see where the default is now.. overlooked it sorry. Now i adjusted it in a the gui window.. But when i try to save it, it says i dont have permission. I dont understand that because i thought i was logged under admin.. how do i save it now
 
Old 03-27-2008, 10:49 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,941

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Code:
sudo gedit /boot/grub/menu.lst
Full screen editor.
If you want to hide the menu completely, uncomment the "hiddenmenu" line - delete the # in column one.
 
Old 03-27-2008, 10:51 PM   #8
lazerith
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
thanks gang.. i figured it out.. I really appreciate it. Now i just got to get some experience behind me and get my wireless working.. That might take a while.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjusting Dual Boot Menu n e r d Linux - Software 3 08-03-2006 11:11 PM
Dual Boot Menu Options MarcoTUX Linux - Software 3 03-06-2005 02:25 PM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 04:00 PM
How to hide menu bars in gnome joelanders Linux - Newbie 2 11-22-2004 07:21 PM
About boot menu on a dual boot sys Gethyn Linux - Newbie 4 10-15-2004 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration