![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
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 |
|
|
#1 |
|
Just Give Me the Beans!
![]() 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 thanks pre Last edited by PriceChild; October 16th, 2006 at 03:55 PM.. Reason: Added code tags to shorten post |
|
|
|
|
|
#2 |
|
Run, little guy, run...
![]() |
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). |
|
|
|
|
|
#3 |
|
HP Mini 1120nr User
![]() 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 |
|
|
|
|
|
#4 |
|
Iced Blended Vanilla Crème Ubuntu
![]() 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 **wow, I got beat twice. |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() 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?
|
|
|
|
|
|
#6 | |
|
Just Give Me the Beans!
![]() Join Date: Aug 2006
Location: Florida, USA
My beans are hidden!
Ubuntu 6.06
|
Re: help to edit grub.lst
Quote:
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. |
|
|
|
|
|
|
#7 |
|
Ubuntu addict and loving it
![]() 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# |
|
|
|
|
|
#8 |
|
Just Give Me the Beans!
![]() 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 |
|
|
|
|
|
#9 |
|
Chocolate Ubuntu Mocha Blend
![]() 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> |
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() Join Date: Aug 2006
Location: Florida, USA
My beans are hidden!
Ubuntu 6.06
|
Re: help to edit grub.lst
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|