LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2009, 12:38 AM   #1
Jesse W
Member
 
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Rep: Reputation: 16
change what shows on boot screen


wasnt sure where to put this, if it fits in better somewhere else please let me know . . .
anyway i my computer is dual booted with mint and vista. at the boot screen i have the option of 5 different mint boots and two vista. i was wondering if i could change it so that i have two for each? a normal one and a recovery . . . please let me know of this is possible/not possible, or if you know how to do it
 
Old 09-30-2009, 01:15 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
As root, edit /boot/grub/menu.lst. Comment out the menu entries you do not want to see. There should already be commented lines in the file that show how they are commented. It's usually a leading #.
 
Old 09-30-2009, 01:38 AM   #3
Jesse W
Member
 
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Original Poster
Rep: Reputation: 16
sorry im quite new to all this . . .
so i can edit the names and delete the entries in the bit below?

## ## End Default Options ##

title Linux Mint 7 Gloria, kernel 2.6.28-15-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet

title Linux Mint 7 Gloria, kernel 2.6.28-15-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.28-15-generic

title Linux Mint 7 Gloria, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Linux Mint 7 Gloria, kernel 2.6.28-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Linux Mint 7 Gloria, memtest86+
root (hd0,4)
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 (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title Windows Vista (loader)
rootnoverify (hd0,2)
savedefault
makeactive
chainloader +1
 
Old 09-30-2009, 01:40 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
You can read the following tutorial. It explains what all those lines in menu.lst mean.
 
Old 09-30-2009, 01:44 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
For example, if you want to get rid of the entry that would boot Linux Mint with 2.6.28-11-generic kernel, you need to comment out (#) or delete the following lines:
Code:
title Linux Mint 7 Gloria, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
Each paragraph is responsible for one entry in your grub menu.
 
Old 09-30-2009, 01:46 AM   #6
Jesse W
Member
 
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Original Poster
Rep: Reputation: 16
thanks heaps for the quick replies everyone, they were very helpful. one more quick question, can i edit the names of the vista ones as the normal and the recovery have the same name

EDIT- dont worry read the article

Last edited by Jesse W; 09-30-2009 at 01:52 AM.
 
Old 09-30-2009, 01:54 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Jesse W View Post
thanks heaps for the quick replies everyone, they were very helpful. one more quick question, can i edit the names of the vista ones as the normal and the recovery have the same name
I don't think so. Grub doesn't boot windows directly. It chainloads it and starts windows' own boot loader (which you would have to edit to achieve it).
Linux recovery mode means that the system is started in a single user mode (note the 'single' option at the end of some lines)
HTH
 
Old 09-30-2009, 04:23 AM   #8
Jesse W
Member
 
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Original Poster
Rep: Reputation: 16
jsut for future reference you can change the name of the windows boots
ty for the help everyone
 
Old 09-30-2009, 05:54 AM   #9
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Jesse W View Post
jsut for future reference you can change the name of the windows boots
ty for the help everyone
Yes, you can change the NAME of the windows entry in grub to whatever you want, but it doesn't mean that it will start in the recovery mode (if that's what you mean?). I don't know much about the windows boot loader so I can't help you with that part.
 
  


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
WEBCAM: Stickam shows black screen when Cheese shows cam 449 Linux - Software 16 08-04-2009 03:23 AM
how to change boot screen,splash screen,login themes while custmzing ubuntu cd project_sap Linux - Newbie 1 04-07-2008 07:12 AM
Suse boot screen shows "Out of Range" fcdev SUSE / openSUSE 1 09-02-2006 12:26 AM
SUSE 10 CD1 Boot Screen shows Walking Penguins, WTF AvatarofVirgo SUSE / openSUSE 3 11-10-2005 05:37 PM
desktop shows on TV but movie shows black screen litrelord Mandriva 6 07-05-2004 05:10 AM

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

All times are GMT -5. The time now is 06:11 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
Open Source Consulting | Domain Registration