Ubuntu Installation :: Grub2 No Menu Still Boots Into Default Entry?
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
ADVERTISEMENT
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
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
Jun 23, 2011
is it possible in grub2, that a temporary default entry. For example i have 2 menuentry in grub.cfg 0 & 1. my default is 0 but i want to automatically boot once to 1 and it changes back to 0.
View 4 Replies
View Related
Jan 17, 2010
Here is my current setup. I have installed Windows 7 Home Premium 64-bit, Ubuntu 9.10 64-bit, and BackTrack 4 Final in that order. All operating systems are able to boot and all is working well. The only problem I'm faced with is really just an annoyance. Which is BackTrack is showing up with a "Ubuntu 8.10" entry name.
Now I did some research on this. I found out that BackTrack was based on the Ubuntu 8.10 OS so it makes sense why it would show up that way. I found several articles and topics explaining how to modify the GRUB programming files. I guess to change the entry name, but all of them don't seem fool proof to me nor the best way to go about doing things.
One thing I wasn't able to find info on is where GRUB2 actually gets these entry names from. My theory is if I can find out where GRUB gets this info from, I can simply log into the BackTrack partition and change where the "Ubuntu 8.10" entry is to "BackTrack 4" and then run the update-grub2 command within Ubuntu to update the entry names.
View 7 Replies
View Related
Aug 17, 2010
Ive installed a fresh copy of ubuntu onto my laptop, dual boot with 7. Everything runs smoothly except the grub. So in grub i have an entry of vista loader. I have removed the ubuntu recovery mode and the memtest entry so now i have 3 entries
Ubuntu
vista loader
7 loader
How i can remove the vista loader? PS i have never had installed vista onto my system i bought it brandy new with 7 pre-installed.
View 8 Replies
View Related
Jun 22, 2011
GRUB2 replaced the boot entry for Windows 7 when I installed Windows XP. I tried to create my own menu entry for Windows XP but it seamed to me that it was superseded by the Windows 7 boot loader. I have a brand new desktop PC - Core i7 processor, 2 TB hard drive, 6 GB RAM.
I don't know how to bring back a menu entry that was over written / Superseded by another OS being detected by update-grub; in this case Windows 7. I installed Ubuntu 11.04 at the end of many other Linux OS's. So it is a Multi-boot setup. Basically Windows XP has replaced the Windows 7 boot entry in the GRUB 2 Boot menu after running update-grub.
Then to get Windows 7 back I booted off the Windows 7 Install DVD and used the boot repair option. This then changed the working Windows XP Boot Loader to boot Windows 7 which I wanted but there was a catch. Windows XP didn't boot any more because it was replaced / Superseded. The Linux OS's boot fine.
View 3 Replies
View Related
Nov 6, 2010
I have two partition in my netbook (plus swap):
/dev/sda4 with Ubuntu 10.4 /dev/sda5 with Centos 5.5
I use Ubuntu obviously. Centos is there because I need to run some test on that distro. The problem is Centos uses Grub and Ubuntu uses Grub2.
This is /boot/grub/menu.lst from Centos:
Code:
default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title CentOS (2.6.18-194.17.4.el5xen)
root (hd0,4)
kernel /boot/xen.gz-2.6.18-194.17.4.el5
module /boot/vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-194.17.4.el5xen.img .....
This was generated running update-grub2 and grub-install under Ubuntu. It's not working. It gives me something like bad magic number. How can I convert the grub1 entry in a grub2 shape?
View 3 Replies
View Related
Feb 18, 2011
I wonder if its any easy way to configure grub2...I dont want to change fonts, background or anything special. Just to change default operating system time to shown menu etc.
Is there anythink like known from KDE? graphical tool to tick what I wont, choose time from list or type it in, click OK to finish and job done... without any manual typing, terminal use etc.
View 5 Replies
View Related
May 29, 2010
I have a working Ubuntu install with the Grub2 bootloader. I need to manually add an entry to boot Fedora 13 off of sda. Sda1 is the boot partition, sda2 is LVM. None of the examples I've tried work. I do also have F13 grub installed on sda, but chainloading to it didn't do anything other than a blinking cursor.
View 5 Replies
View Related
Jun 10, 2010
I have a dual boot system with Lucid Lynx and a Windows 7 that came with the laptop (it's a Dell Studio with an i3 processor).
Grub2 boots into Win7 and Ubuntu just fine. The thing is that if I choose Win7, next time Grub doesn't show up. I can't boot anything and the screen turns black. I can reinstall grub2 with Ubuntu's live CD and the cycle starts all over again, it's very annoying.
These facts may or may not be important: I think that this started happening when I uninstalled wubi after being able to install ubuntu through another method When reinstalling grub there's an error that repeats through many lines of the terminal (I can't remember what it says, if you think it's important I can check). Anyway, it ends up saying the installation finished successfully.
View 3 Replies
View Related
Nov 25, 2010
Have win98se on secondary master as it fully supports some devices Ubuntu doesn't (Aries scan it pro, pci smart modem, Lexmark printer/scanner x2250), Lucid is on primary master. Grub seamlessly booted windows using menu.lst entry:
Code:
titleWindows 95/98/Me
rootnoverify(hd1,0)
savedefault
[Code]....
Would be grateful if anyone knows a configuration that works, as using CMOS/BIOS setup to boot windows is a pain.
View 9 Replies
View Related
Mar 10, 2010
Update Mgr got me a bunch of updates today, including a kernel (2.6.31-20). I was doing something else, and when it prompted me to do something with menu.lst, I accidentally accepted the default, which I think was to keep menu.lst unchanged.
As a result, the new kernel was installed but not added to menu.lst, so I guess I can't boot to it.
Is there a way to tell my computer, "make the entries into menu.lst automatically"
I guess I could put the entries in manually, but as a beginner, I'm pretty scared to be messing with that file...perhaps if someone has a link to an exceptionally understandable explanation...
View 4 Replies
View Related
Apr 2, 2010
i just installed ubuntu 9.10 netbook remix, i made a partition (sda6) for it, first i had only opensuse, and when i was installing ubuntu, i put the bootloader in (sda6) the Opensuse bootloader is installed on MBR,
[code]...
View 5 Replies
View Related
May 5, 2011
i installed ubuntu 10.10 to my external HDD and it works. Recently, i reinstalled windows therefore, there is no more grub menu when my computer boots. I tried to reinstall grub to my external HDD but it doesn't work.
View 9 Replies
View Related
Mar 18, 2010
How can I set up my pc where it default boots to my main HDD with Windows 7, and a secondary HDD with ubuntu after pressing F12 or something? I was going to just do a dual boot, but I remembered I had this extra HDD sitting around (which I was 'borrowing' from walmart for something I can't remember and lost the receipt =s) so I figured I'd just install ubuntu to it and dual boot like that.
EDIT: Disregard that. Just installed Ubuntu to my second HDD and it booted to the grub loader, which had the Windows 7 option in it. However, I do have one more question: as I'm still using the Windows 7 RC (which expires pretty soon), will a clean install of Windows 7 overwrite the grub loader seen on startup? If so, how do I go about booting back into the second HDD to reinstall grub?
View 1 Replies
View Related
Oct 5, 2010
I recently upgraded my Ubuntu from 9.10 to 10.04 and now it's messed up my Windows Vista partition. When I try to load Windows it boots to a strange login menu with low resolution. It then takes me to a screen with options like Repair/Fix, Recovery, Complete Recovery... I'll click Repair and and then it will say No errors found, Shut down, Restart.
View 2 Replies
View Related
May 10, 2010
I installed Ubuntu over my windows partition but kept the other NTFS partitions that I use for storage. For some reason GRUB shows up with the option to boot into XP (which isn't there). How do I get rid of the boot menu completely so my computer boots straight into Ubuntu?
View 2 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
Feb 19, 2011
I have installed Sabayon 5.4 on my laptop besides Ubuntu 10.10. During installation of Sabayon I did not opt for a bootloader as I did not want to disturb the already existing Grub2 on MBR from my Ubuntu installation.After successful installation of Sabayon, I booted into Ubuntu and updated the Grub which detected Sabayon correctly. Then I rebooted and tried to boot into Sabayon but I could not do so. The booting process stopped with the following error -
Code:
Activating mdev
Detected real-root as md device. Setting up device node
Scanning for Volume Groups
[code]....
So evidently, Grub has wrongly taken the values of root as /dev/md0 and swap as /dev/sda2.I again went back to Grub2 screen edited the Sabayon entry by replacing /dev/md0- with /dev/sda4 and swap:/dev/sda2 with swap:/dev/sda8 and pressed Ctrl+x. Now I was able to boot into Sabayon. how do I make these changes permanent. Which files should I edit so that Grub correctly read root as /dev/sda4 and swap as /dev/sda8?
View 4 Replies
View Related
Mar 9, 2010
I've tried to install 9.10 on my PowerBook G3, with both a CD and DVD. However, the system shows a folder with a question mark and boots into the default OS 8.6. I even tried with an older ubuntu disc (8 point something) that had worked on another computer, but this didn't work either. I know the computer can boot from the CD drive, as it works with my OS X 10.4 DVD.
View 4 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 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
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
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
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
Nov 13, 2010
I've read "Can't choose my 2nd HDD to install Ubuntu" and "How to move GRUB?".but my problem seems not exactly the same as them. I have three drives:
1) SATA drive on first port with Windows on it
2) IDE drive with Ubuntu9.10 on it
3) new SATA drive for Ubuntu10.04
I want to remove the IDE drive and put it in a safe place as a backup.
I installed 9.10 on the new SATA, intending to see if I could get Upgrade Mangager to offer me Lucid Lynx. I should have unplugged the IDE drive but I didn't. Anyway, the Ubuntu9.10 CD installer did find the new SATA disk which I had partitioned using my original 9.10 setup on the IDE. It did put Ubuntu onto the first partition of the new SATA where I wanted it. However, if I disable the IDE in BIOS I get just a blinking underscore at the top left conrer of the screen on reboot. Why would the installer do this to me? Nevermind, perhaps a better question is this: How do I check where GRUB2 has been installed and if, as I suspect, it's put GRUB2 on the IDE, what's the simplest and safest way to get GRUB2 put on the boot sector of the new SATA disk?
View 9 Replies
View Related