Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old October 16th, 2006   #1
pregoeater
Just Give Me the Beans!
 
pregoeater's Avatar
 
Join Date: Sep 2006
Location: Vermont
Beans: 65
Ubuntu 6.06 Dapper
help to edit grub.lst

im about to edit my grb.lst but before i do that i have a few question when i first instaled ubuntu it give me 3 choices unbuntu,ubuntu revory mode, and memtest. then win xp then next time i did a reboot it added two more that look like the first 2. would anyone recomend deleting them or should i keep then all or can i just REM them? what i would like to do is set it up so there are two thing on the list xp and ubuntu and shorten them time before it selects the os but if i ever need the recovery mode can i still use it if its off the list...here is my list file
Code:
## ## End Default Options ##

title        Ubuntu, kernel 2.6.15-27-386
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda2 ro quiet splash
initrd        /boot/initrd.img-2.6.15-27-386
savedefault
boot

title        Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda2 ro single
initrd        /boot/initrd.img-2.6.15-27-386
boot

title        Ubuntu, kernel 2.6.15-26-386
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.15-26-386 root=/dev/hda2 ro quiet splash
initrd        /boot/initrd.img-2.6.15-26-386
savedefault
boot

title        Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.15-26-386 root=/dev/hda2 ro single
initrd        /boot/initrd.img-2.6.15-26-386
boot

title        Ubuntu, memtest86+
root        (hd0,1)
kernel        /boot/memtest86+.bin 
boot

### 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/hda1
title        Microsoft Windows XP Home Edition
root        (hd0,0)
savedefault
makeactive
chainloader    +1
also i see that i can use # or ## and it says true or false what does that mean? any help would would be great i think i know what to do and how to do it but i dont want to kill anything.



thanks
pre

Last edited by PriceChild; October 16th, 2006 at 03:55 PM.. Reason: Added code tags to shorten post
pregoeater is offline   Reply With Quote
Old October 16th, 2006   #2
taurus
Run, little guy, run...
 
taurus's Avatar
 
Join Date: Oct 2005
Location: Jacksonville, FL
Beans: 29,553
Ubuntu 9.10 Karmic Koala
Send a message via Yahoo to taurus
Re: help to edit grub.lst

The first one is your latest kernel so you want to keep that. The next entry is the recovery mode using the latest kernel so you want to keep that as well in case you need to boot your machine into recovery mode. The third entry is your old kernel so you want to keep that in case there is something wrong with the new kernel. Then, you can remove everything else after that except your XP... To edit your /boot/grub/menu.lst, open a terminal, Applications -> Accessories -> Terminal, and type

Code:
gksudo gedit /boot/grub/menu.lst
__________________
In the world of Linux, who needs Windows and Gates...

Got most of my golden beans at an auction on eBay (with a couple of free drinks).
taurus is offline   Reply With Quote
Old October 16th, 2006   #3
aysiu
HP Mini 1120nr User
 
aysiu's Avatar
 
Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: help to edit grub.lst

As long as you back up the file first
Code:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.backup
and you have live CD, you can do whatever you want to the entries.
__________________
tutorials | blog |
advice | more advice
aysiu is online now   Reply With Quote
Old October 16th, 2006   #4
jordanmthomas
Iced Blended Vanilla Crème Ubuntu
 
jordanmthomas's Avatar
 
Join Date: May 2006
Location: Cookeville, TN
Beans: 2,751
Re: help to edit grub.lst

If a line has a # at the front of it, then GRUB ignores it. This is called a comment. If someone tells you to comment something out, you just put a # there.

Instead of removing the entries you don't need, might I suggest commenting them out? That way, if you need them again, you can just uncomment them and they will be back.

What are you talking about when you say true / false? If you are referring this line
Code:
# memtest86=true
I think it means "when updating GRUB, should I include memtest entries?

**wow, I got beat twice.
jordanmthomas is offline   Reply With Quote
Old October 16th, 2006   #5
pregoeater
Just Give Me the Beans!
 
pregoeater's Avatar
 
Join Date: Sep 2006
Location: Vermont
Beans: 65
Ubuntu 6.06 Dapper
Re: help to edit grub.lst

great so i will just # everything but ubuntu and xp what about changing the time it takes to auto pick the os?
pregoeater is offline   Reply With Quote
Old October 16th, 2006   #6
elchinovi
Just Give Me the Beans!
 
elchinovi's Avatar
 
Join Date: Aug 2006
Location: Florida, USA
My beans are hidden!
Ubuntu 6.06
Re: help to edit grub.lst

Quote:
Originally Posted by pregoeater View Post
great so i will just # everything but ubuntu and xp what about changing the time it takes to auto pick the os?
It's listed before the example that you gave.
it says

IE: "Timeout 10"

10 being the seconds, so you can put 15 sec, or how many seconds you want/need.


I'm working now, so I don't have a menu.lst to copy from. I'm sorry.
elchinovi is offline   Reply With Quote
Old October 16th, 2006   #7
bulldog
Ubuntu addict and loving it
 
bulldog's Avatar
 
Join Date: Jun 2006
Location: The Netherlands
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: help to edit grub.lst

Edit this in menu.lst,

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

Where you can alter 10 to what you want,but don't set it to zero [0] because you can't choose anything anymore.
__________________
Resistance is futile.....you will be assimilated!

Registered Linux User 418427.
#Ubuntu User 3226#
bulldog is offline   Reply With Quote
Old October 16th, 2006   #8
pregoeater
Just Give Me the Beans!
 
pregoeater's Avatar
 
Join Date: Sep 2006
Location: Vermont
Beans: 65
Ubuntu 6.06 Dapper
Re: help to edit grub.lst

have it just the way i want thanks for all your help


thanks
pre
pregoeater is offline   Reply With Quote
Old October 16th, 2006   #9
Tomosaur
Chocolate Ubuntu Mocha Blend
 
Tomosaur's Avatar
 
Join Date: Apr 2006
Beans: 1,979
Ubuntu 8.10 Intrepid Ibex
Re: help to edit grub.lst

You may like to take a look at the link in my sig

</shameless self-promotion>
Tomosaur is offline   Reply With Quote
Old October 16th, 2006   #10
elchinovi
Just Give Me the Beans!
 
elchinovi's Avatar
 
Join Date: Aug 2006
Location: Florida, USA
My beans are hidden!
Ubuntu 6.06
Re: help to edit grub.lst

Quote:
Originally Posted by pregoeater View Post
have it just the way i want thanks for all your help


thanks
pre
Glad to give back to the comunity!
Thank you!
elchinovi is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 08:07 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry