Ubuntu Installation :: Grub2 Menu Howmany Edit?
Jun 3, 2010
I have Koala with Grub 2, working fine. Just did some updates and now the boot menu is getting long, too many kernels. Want to reduce to the last two kernels plus Win XP, so got online and looked for instructions in English. News flash: Nobody seems to care about this issue, there is absolutely nothing to be found on it for Grub 2. There is a SIMPLE command for Grub, "howmany", in menulst. Menulst is not used in Grub 2, so that's out. OK I give up, after searching for over an hour for Grub 2's equivalent. Maybe someone here knows how it's done? IN ENGLISH please, not "sudo I am an intelligent BEGINNER. The Grub 2 page says: "GRUB 2 allows users to create customized menu selections which will be automatically added to the main menu when sudo update-grub is executed." Note the word ADDED. What about REMOVING? Does anyone want to bother themselves with addressing this issue? I read somewhere StartUpManager can do this. Application Finder doesn't show StartUpManager on my machine, and reading about it at [URL].. as it seems to be Grub-1 related. I don't get the impression it will do what I want for Grub 2. If it does, they should say so, right??
I could remove the older kernels, but would rather just edit the boot menu. I found this for removing kernels: Open synaptic, do a search for "linux-image" and then remove the older kernels from your computer. Removing them via synaptic will remove them from the boot menu as well. Keep the kernel you are currently using plus one older one you know works. To find your current kernel: uname -r OK so I open synaptic and do the search. It comes up with maybe 200 files, some of which start with linux-image, scattered throughout the list. Oh boy, let a newbie loose on this. Just select and delete them all, why not? I can't tell one from another, the only difference is a cryptic number that means not one whit to me. There has to be a better way!
I got brave after editing etc/default/grub and doing update-grub, which reported the kernels by number, which I had forgotten. Then went back into Synaptic and hit the 'Sort By Installed' divider, which brought all the installed kernels to the top, where they make sense. Then I selected the two lowest-numbered and shot them in the head. They are gone.
View 3 Replies
ADVERTISEMENT
Oct 22, 2010
i have been running Kubuntu 10.04 on my primary hard drive, and i have a second 1.5TB HD that i use for storage. so shrunk the secondary HD partition and created a second 50GB partition and i installed Ubuntu 10.10 on it and told it to rewrite the mbr on my primary HD. Where i am at: i took the menu entry from my Kubuntu "grub.cfg" and the entry from my Ubuntu "grub.cfg" and put them in the 40_custom file. so now when i boot-up my computer, it shows both installations at the bottom of Grub2s menu list. with all the menu entries that Grub automatically adds.
What i would like to know is how do i make it so that the Grub2 menu only shows the entries that i add to the 40_Custom file and not the randomly generated list aswell.
View 3 Replies
View Related
Jan 15, 2010
I want try controls how many kernels should be put into the GRUB2 menu on my Ubuntu 9.10 but since GRUB2 the #HOWMANY variable doesn't work. I found this post on the LQ blog about the #HOWMANY variable. I follow these instructions but I have a problem when I execute the last command "update-grub" because my result is this :
Code:
/usr/sbon/grub-mkconfig: 228: GRUB_HOWMANY: not found
I verified my work but I don't understand why it's doesn't work.
View 5 Replies
View Related
Mar 5, 2011
I just installed Debian squeeze. I installed grub to the MBR. It uses Grub 2. Apparently I'm not supposed to edit /boot/grub/grub.cnf, but /etc/default/grub and /etc/grub.d. I looked at these and read The Readme as well as a tutorial at [URL]. I'm still not sure of what to do. When I boot up I get 4 choices: 2 for Squeeze and two for another linux distro. I would like to edit the print out I get when I boot up, as well as add the partition for XP which wasn't included.
This is /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=2
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="" .....
View 3 Replies
View Related
Feb 24, 2011
I could not seem to find any documentation on how to chage the X anf y coordinated of the grub 2 menu in order to place it in a differrent location on the screen and change is its size (not resolution), remove border.
View 1 Replies
View Related
Jan 28, 2010
the grub splash screen is too dark with very light colored text. i wanted to edit the screen background but there is no menu.lst. what file is shown by grub ?
by the way it works very well and has really scanned the complete computer for bootable partitions. and all work without any modification.
View 3 Replies
View Related
Jan 7, 2011
I'm currently running Lucid Lynx, which installed the Grub 2 Boot loader which it currently lists three different Linux kernels. My problem is this:
1. How do I edit the menu to either remove or comment out one or more of the kernels?
2. Can I remove any of the kernels I don't want, which files do I remove, and will doing so compromise my system.
View 3 Replies
View Related
Apr 29, 2010
I want to install more than on linux distribution on one computer (and the computer has Windows XP, too). How do you make a master grub2 installation that is in its own partition and that has entries that chainload different linux distributions that may have grub2 or grub?
View 9 Replies
View Related
Jun 25, 2010
I upgraded my main box to Ubuntu 10.04 and everything runs fine, except for a problem with grub: I can't modify the boot menu in any way, I'm stuck with what grub2 thought was the optimal setup at installation time (and it got it wrong, btw). The current boot menu lists:
- my older 9.10 install in sdb2 (one kernel)
- legacy windows XP install on sda1
- my even older 9.04 install in sdb1 (two kernel versions)
- my new install in sdb3, with only one kernel (the one coming with the distro CD)
I tried anything I could think of to modify this menu:
- modify the /etc grub config file then running sudo update-grub
- using a specific app (system manager? don't remember its name)
- upgrading to the latest kernel
- removing and reinstalling grub
to no avail: the menu is still there in the above form, and I have to manually select the 10.04 (old) kernel by hand every time I reboot.
View 9 Replies
View Related
Dec 28, 2010
how I can setup the grub2 menu so that it does not timeout? What do I need to set in the configuration file? I did it once before on my old computer but forget now what I changed.
View 3 Replies
View Related
Jan 29, 2011
I'd like have some text written on my grub2 boot menu.
In legacy grub you could just add: title Foobar and you'd get "Foobar" displayed.
I tried: menuitem "Foobar" {} grub2, but it doesn't work. Any ideas how do you do something like that?
(Yes, I know writing grub.cfg by hand is not very smart. But I have a special situation: I wrote my own grub.cfg on a dedicated boot partition from where I chainload to other grub on other partitions. Those secondary grubs generate their grub.cfgs on the fly, so everything is OK )
View 3 Replies
View Related
Feb 28, 2011
I installed Win7 on a 2-disk RAID0 fakeraid. I then unplugged those drives and installed linux mint on a separate drive. I did it this way because if I left the drives plugged in, linux would jack up the fakeraid for those drives and make windows upbootable, and installing linux to the fakeraid itself is just too much of a PITA. So basically, this is the disk configuration, and there's no chance of me changing it.
Right now, I can boot into either win7 or mint by pressing F12 for the boot menu, and then selecting the drive the os is installed on. It would be nice if I could just add an entry to the grub menu for win7. I've used the menu.lst file before, but apparently all that has changed with grub2. I've checked out some of the grub2 docs and poked around in /etc/grub.d, but frankly, it seems to be orders of magnitude more complicated than it should be.
View 3 Replies
View Related
May 18, 2011
GRUB2 does not show Windows-XP Pro in the menu anymore.
Probably already posted before; however each case usually is somehow different. I use Ubuntu only occasionally to learn how it works.
After the latest update using Update Manager, quite a few packages were installed without any problem. However GRUB2 does not show the Windows-XP(Prof) partition in the menu anymore. Now I can't boot Windows because I can't select what is not shown.
1. This what I get with command "sudo fdisk -l" (in the present situation)
georges@PC1:~$ sudo fdisk -l
[sudo] password for georges:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code]....
It is already the second time that GRUB2 changes the menu items as it pleases, messing up the bootmenu. How can I repair the bootmenu in order to be able to boot Windows-XP, as before the updates ?
The current Ubuntu version is now 10.4 LTS The current GRUB version is "GNU GRUB version 1.98 Ubuntu10"
View 9 Replies
View Related
Feb 5, 2010
I have Ubuntu 9.10, PuppyLinux431 and Windows XP on a Toshiba laptop. I like Ubuntu, but the speed of PuppyLinux is addictive, so that was my default boot until I upgraded Ubuntu which included an upgrade to Grub2.
My problem: Grub2 doesn't recognise PuppyLinux. Using information from [url] I have made an executable file named 07_Puppy in /etc/grub.d and did update-grub from root. Still no luck. I can boot PuppyLinux from the grub command line using the following commands:
Just before grub displays the boot menu, I think I see a very brief message about a syntax error, but it's gone before I can read it.
Here is the contents of my grub.cfg:
Quote:
Why Grub2 doesn't see Puppy and let me boot it from the menu?
View 3 Replies
View Related
Mar 4, 2010
I recently upgraded grub -> grub2 on my karmic box. Grub2 worked when chainloaded from legacy grub, and also the first time I tried it standalone. Both times the grub2 menu came up.
I ran vbeinfo at a grub2 command prompt, and found my monitor's native res listed - 1280x1024. I added that to my /etc/defaults/grub and then ran update-grub, and rebooted. This time no menu appeared and the default entry booted straight away. I suspected that the resolution was not supported for some reason or that the way I entered it in the config file was wrong, so I commented it out again in /etc/default/grub, and ran update-grub again - to no avail.
I have since tried lots of different formats for the GRUB_GFXMODE, such as 1280x1024@24, 1280x1024x24, and the normal 640x480, but none of them give me a grub menu. I have even tried using GRUB_TERMINAL=console, to no avail. I have checked the /boot/grub/grub.cfg file each time to make sure my changes were put there correctly by update-grub. I have also made sure that timeout was set to 10, and the hidden timeout was set to 0. My GRUB_CMDLINE_LINUX_DEFAULT="quiet".
I have reinstalled grub2, grub-pc, and grub-common, and I have dpkg-reconfigured them all too. I have no idea what to do to get my grub menu showing up again.
View 6 Replies
View Related
Dec 24, 2010
but i really really new in ubuntu (linux), i just finished installing my ubuntu 10.10 desktop edition. after restart for the first time i can see my windows xp and windows 7 os were in the menu list but not my msdos 6.22 with fat 16 partition. I try to edit grub.cfg to add but i am not sure what the command line should i use in menu entry, could someone give an example. I really need that since i still make a programming project using C++ dos and Clipper.
View 2 Replies
View Related
Jan 11, 2011
I've just installed FreeBSD 8.1 on /dev/sda4 (FreeBSD slice), without installing the boot loader from FreeBSD (I've selected None when prompted for boot loader in sysinstall). Now I want to use my existing Grub2 from already installed Ubuntu 10.10 to boot FreeBSD also.
After some reading, I've added to the end of /etc/grub.d/40_custom:
After running sudo update-grub, grup.cfg file shows my new entry. The problem is that after restart, I don't see the new entry in the grub menu.
Another question, If i used chainloader +1, that means I need to have the FreeBSD bootloader installed also on /dev/sda4 right? For chainloading booloaders?
I didn't get to that step, I first want to see the entry in the menu.
Any idea what I might be missing/misdoing? (I also checked for blank spaces in the menuentry like the wiki for grub2 says)
View 1 Replies
View Related
Apr 8, 2011
I have serious problems hiding the Grub menu at startup.
What I want to do is simple boot into the first (and only) item without showing the menu to the user.
I have removed everything on the system so the only option is "GNU/Linux, with Linux 2.6.32-30-generic" in the menu.
My /etc/default/grub is like this:
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
[Code].....
No matter what I do I always get the same result:
The menu is shown and no countdown!
It's like grub isn't reading the changes of /etc/default/grub
why I'm unable to hide the menu?
View 9 Replies
View Related
Apr 13, 2011
I have two hard drives - (1) 80GB (2) 500GB: the 1st HD has 3 partitions (in that order) - Windows 7, Ubuntu 10.10 & Swap. the 2nd HD is for storage only, and has 2 partitions.
I did the following - I installed Windows 7 on the first partition of the 1st HD, it booted just fine. Then I installed Ubuntu 10.10 on the second partition of the 1st HD.
Windows 7 shows in the GRUB menu alongside with Ubuntu. Ubuntu boots just fine, but when I select Windows it simply restarts the computer and the GRUB menu shows again.
RESULTS.txt of Boot Info Script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #3 for (,msdos3)/boot/grub.
[Code]....
View 7 Replies
View Related
May 6, 2011
Having just upgraded to Ubuntu 11.04 from 10.10 I noticed that my Grub menu had not upgraded. The upgrade was not as straight forward as it should have been as the PC hung at the end of the installation resulting in a reboot and running dpkg in safe mode to get it all back up and running.
To fix the incorrect grub menu.lst file which was not updating, I renamed the original file and then ran sudo update-grub. It generated a new and correct file. However, my Windows partition was not listed as a Grub menu option.
[Code]...
View 2 Replies
View Related
Mar 30, 2010
I installed Ubuntu 9.10 (desktop version) and it performs flawlessly. Now I want to add a second hard drive to the same box, install Ubuntu 9.10 *server* on it, and use GRUB to control which one boots.
Problem is, I'm a Windows pro but a Linux n00b. Should I disconnect the first hard drive (the one with Ubuntu desktop) before I do the server installation on the second (new) drive? Also, how do I edit GRUB's menu to offer a choice between the 2 OSes?
View 1 Replies
View Related
Apr 30, 2010
I tend to update stuff slower than most - I'm still using Hardy and I probably won't upgrade to Lucid until June-ish. I wanted to test drive GRUB2 so I upgraded following instructions here:When I chainloaded GRUB2, I got a menu that only contained Ubuntu; my Windows Vista bootloader entry had disappeared. I couldn't find a sample "40_custom" entry to modify when I tried to create an entry for Vista myself. Had no problem booting into Ubuntu and I could still boot Vista from the old menu. Spent about 20 minutes on it, then I gave up and reinstalled legacy GRUB.
View 9 Replies
View Related
Dec 8, 2010
machine boots straight to Windows, Grub2 does not display the normal boot menu choices. Therefore, not able to boot into Ubuntu 9.10.Perhaps someone could look at this Results.txt file and shed some light on what went wrong.This machine was working fine for a long time, then all of a sudden, it starting booting straight to Windows.
View 9 Replies
View Related
Mar 4, 2011
I've created live squeeze usb-hdd with syslinux as boot manager:LB_BOOTLOADER="syslinux". Now if I boot from this usb-hdd image I get in the boot menu:
Live
Live (failsafe)
Live 686
Live 686 (failsafe)
How to configure to put these "failsafes" away?
View 5 Replies
View Related
Jul 8, 2010
When I edit my applications menu to to hide games they stay on the menu. Everything else hides when prompted.
View 6 Replies
View Related
Apr 29, 2010
I want to edit the GRUB menu in ubuntu but Menu.1st is missing.When I open the /boot/grub.cfg from terminal I cant save it.
View 7 Replies
View Related
Feb 18, 2010
Debian if my first OS and i want to dual boot Fedora12.Ok i installed Fedora12 and choose not to install the bootloader(gonna use the one Debian installed)What i'm tring to do in Debain is edit my /boot/grub/menu.lst
Here is what i have
Code:
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-1-686
code....
View 4 Replies
View Related
Aug 4, 2010
I'm currently learning about linux systems and all but,I installed Ubuntu onto a partition (2nd) and it worked.After that when I tried to boot it would just boot without showing the GRUB menu.This is because 1.I messed up Windows boot files 2.GRUB needs some tuning.
I would like to ask how to configure the grub.cfg in Ubuntu since when is earched they were only thread for GRUB legacy...
View 2 Replies
View Related
Dec 18, 2010
I have an old computer and recently switched from Kubuntu to Xubuntu so it would run faster. I have noticed that Xubuntu has no menu editor. Is there a graphic interface for editing the menu? If not, could someone please explain to me how to edit the menu through the menu file?
View 3 Replies
View Related
Jun 10, 2010
i wiped my entire hard drive that had xp as its only OS. I freshly installed a Windows 7 ultimate and everything went perfectly. I then decided to install 10.4. I split the partitions correctly (i had experience doing this already with my laptop, which has xp/10.4). Ubuntu 10.4 install went flawlessly, except for one thing. Now when i boot up the pc, it goes straight into 10.4. I have tried holding shift during the start up to force the boot menu, and it just shows the Ubuntu 10.4 OS as choices. Any clue what i could do to make Win7 appear in the boot menu?
View 9 Replies
View Related