so i did an update and now in grub i have 2 kernals or smething.. 2.4.16 and 16... n my bootup defualt is set to memtest bc it pushed my menu down
-
edit the Grub file, or download Startup Manager from Synaptic and set it to only show one Kernel. It's normal.
-
Weird, the default boot options is 0 or 1 I don't remember I the new kernel is automatically selected... Modify your menu.lst .
-
you probably want to boot into the most recent one (the one with the largest number) unless it is the 'recovery' mode. You typically won't ever need to boot into the recovery mode.
There's likely a GUI-based method to change the default, but instead, you can open up /boot/grub/menu.1st and look for the defaultSelection line and change the number so that it matched the grub entry that you want to be the default.
So if your grub menu shows:
Windows XP
Ubuntu 2.6.22-XX
Ubuntu 2.6.22-XX Recovery mode
Memtest
And Memtest is the default, then your defaultSelection is set to 3 (it's 0 indexed).
Change it to the one you want and reboot! -
When you upgrade to a new kernel, Linux will keep the old one for rollback purposes. It can be easily removed, as shown above.
-
Install Startup Manager if you don't have it already. It's handy for tweaking some of these things, and you can even change the color of your GRUB boot menu!
-
Editing grub in terminal can be daunting the first few times. Go to Synaptic Package Manager, do a search for startupmanager (just like that, all one word) and Synaptic will show results for a startupmanager. Click on it, mark for installation, click "yes" to the extra dependencies (I think there were some), and install. The application will then show up under System>Administration. Open the app, which is now identified as "Start-up Manager", go to "Advanced" tab, turn on the "Limit number of kernels in the boot menu", then tick the box next to it to "1".
Notice also in the first tab that you can set the default operating system, so if you go into Windows more than Ubuntu you can set it to boot instead.
grub/ubuntu problem..
Discussion in 'Linux Compatibility and Software' started by jl1989, May 27, 2008.