Ubuntu Installation :: Upgrading From GRUB To GRUB2 - Vista Doesn't Appear In Menu?
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.
I recently installed Ubuntu 9.10 onto my second hard drive, and now I can't boot into Vista (installed on hard drive #1). Grub2 just doesn't seem to be recognizing that there is a Windows Vista installation on the first hard drive.
I followed this guide (with Fabien's changes) because it seemed like they were having the exact same problem. But after rebooting, Vista is still not showing in the GRUB menu. In fact, the GRUB menu doesn't even show up unless I press Shift because it thinks that Ubuntu is the only OS installed on my computer.
My results with boot_info_script:
Code: ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks for (UUID=e94a058d-1d19-4a98-924b-1a5fce405bdd)/boot/grub. => Windows is installed in the MBR of /dev/sdb sda1:
[Code]....
When I was installing Ubuntu to HD2 (the 500gb one), I got a peculiar message saying that Windows was installed on it. There wasn't anything on HD2 though, because Windows Vista was most definitely installed on HD1.
However, if I chose to overwrite HD1 with Ubuntu, the message wouldn't come up. It seemed like the installer was confused as to which hard drive actually held my Windows Vista install.
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?
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?
I've done a clean install of XP Pro on my HP XW8200 (Boot drive is 2x73GB SCSI drives set up as RAID 1)I've run the Ubuntu 10.10 desktop installer and partitioned the drive, installed ubuntu and rebooted when requested.No OS selection screen appears after POST though. Just goes straight into WinXP. The startup options in XP only show XP.Rebooted from the Ub10.10 live cd and checked that the partition is there and the OS files are there.
Any ideas why the grub menu doesnt appear?I'm assuming it's something to do with Ubuntu not seeing the RAID drive but it did install ok..
Grub2 doesn't have menu.lst. If I want to remove on the booting screen, e.g. Code: Ubuntu, linux 2.6.27-2-generic Ubuntu, linux 2.6.27-2-generic (single-user mode) How to do it?
I have just loaded version 10.04 on to my laptop in a new partition so I now have Vista, 9.10 and !0.04. The grub menu is showing the two ubu versions but Vista is missing. I have run the commands from this link http://ubuntuforums.org/showpost.php...00&postcount=3 but still no Vista.
maxwell@maxwell-laptop:~$ sudo apt-http://ubuntuforums.org/showpost.php?p=8008800&postcount=3get install os-prober Reading package lists... Done Building dependency tree Reading state information... Done
I just installed Ubuntu on my laptop, which also has Vista installed. HOWEVER... On boot I only get five options: Ubuntu, Ubuntu (Rey), both MemTests and a Windows Recovery.Where's my Vista gone? I left it's partition completely alone during installation, and I can find all the Windows files in Ubuntu, but I can't boot it
I installed Ubuntu onto a separate partition I have. Now however when i boot up, Grub (v1.98 ) gives m 5 options.
Ubuntu, with Linux 2.6.35-22-generic Ubuntu, with Linux 2.6.35-22-generic (recovery) Memory Test (memtest86+) Memory Test (memtest86+, serial console) Windows Recovery Environment (loader) With no Vista option.
When I run the recovery environment however, it runs just my regular vista boot would have. Is this just a name issue? Ideally I would like to have my Vista option back.
I had Windows Vista installed on my computer and created a partition to install Fedora 15. I chose the option to install fedora on any free space, so it should have installed on the empty partition. When I boot up, there are two boot options. Fedora and Other. When I select other, it gives an error:BOOTMGR not found.Is there a way to add Windows Vista to the Grub Bootloader by editing the grub menu. I don't know if it will help, but here is what I get when I run fdisk in the terminal:
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes
I have a "master" IDE HD upon which reside several Linux OSs and a couple of Windoze OSs. The boot system is Mandriva using Grub Legacy and the latter's menu.lst file is where I select which OS I wish to use. I use HD physical carriers for my HDs. I used GPartEd to copy over newly installed OSs on another drive to the "master" HD. The commands in the menu.lst file for Linux OSs are representative as follows:
Name of OS root (hdx,x) configfile /boot/grub/menu.lst
Task: Enter Grub2 which, I seem to understand, is a work in progress. I presume that some commands in Grub2 are not recognizable by Grub Legacy. I installed Debian 6 on another drive and I wish to incorporate an entry in the menu.lst file described above using the technique described above. Is it possible to use the menu.lst file in Grub Legacy (0.97) in order to boot the Grub2 Debian OS? Or am I chasing windmills?
When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.
I have lost the option to boot Microsoft vista after upgrading to ubuntu 10.04 and need help getting the vista boot option back so that I can use Vista once again. I'm not sure what version of ubuntu I was using previously, but I just followed a prompt in the previous version of ubuntu to update to 10.04. I can still access my documents in vista from ubuntu, which I assume means that I have not lost vista? After reading these forums I have done the following things: I have updated grub, but I don't think vista was detected. Results are pasted below:
[CODE] ray@ray-laptop:~$ sudo update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Working on a quad boot system. Two Karmic installs (I find I tend to hork one every once in a while by playing too much, so having a backup around is nice), windows 7, and Snow Leopard. I got everything up and running, except I had Leopard installed instead of snow leopard. At that time, I had the following:
Grub2 detected everything just fine, made a real nice grub.cfg file and away I went.Now, I've made a change. Snow Leopard required GUID partitions and I had my stuff all set up as MBR and was /not/ about to reformat and start over. So I added a second drive, sdb.
Now, I can boot to that drive independently. Fine.I can boot to sda just fine and go to either Ubuntu install or windows just fine. Great. Grub2 finds Mac OSX on /dev/sdb2. Awesome (sdb1 is a fat32 bootloader for hackintosh reasons). It not only doesn't update grub.cfg, it leaves the old /dev/sda2 listing for my old Leopard install ... whose partition I deleted. It isn't visible anymore.
Code:
> sudo update-grub Generating grub.cfg ... Found Debian background: radar.png
[code]....
But nothing after Ubuntu 9.10 on /dev/sda6 shows up in grub.cfg? I'm at a loss. Any ideas how to get it to populate? I'd rather not hack grub.cfg and have to rebuild it by hand every once in a while especially as grub was fine with finding it.
My Windows Vista installation won't start after upgrading from Karmic to Lucid. If I select it on GRUB2, it leaves a blinking cursor on screen. And I tried doing the whole test disk thing and the boot info script. This is what my Results.txt file says
I had partitioned my dell inspiron 1525 to have Windows Vista and Ubuntu 9.04. I upgraded Vista to Windows 7. Now whenever I start the computer it goes directly to Windows 7. Is the Grub been deleted? How do I get to my Ubuntu. I have the Ubuntu Live CD with me
I had Ubuntu 9.10 and windows vista on my laptop and both systems boot normally throw grub but after I upgrade to Ubuntu 10.04 LTS windows is shown on the grub loader but if I selected it all I get is blinking cursor, Ubuntu boots just fine.
I have a dual boot system. I need dual boot as my dictation software is only available for Windows. In the future I am going to try a virtual machine, but dictation and audio did not work properly the last time I tried in VM. But unfortunately for now I have a dual boot machine with Vista and Debian 6. Unfortunately, I am going to have to reinstall Vista. Or to be more accurate I'm going to install the 64-bit version instead of the 32 bit that came with the computer. I have the 64-bit version that I no longer use from one of my other computers.
Anyway, I have to install Windows which will overwrite my grub2. Is there anyway I can make a backup or reinstall grub2 after I install Windows. I really don't want to reinstall Debian 6 squeeze. Can they make some sort of a backup of gurb2 before I do this. I checked out the Internet and I found something called Super Grub2. It apparently will allow me to boot back into Debain 6 so that I can install grub2 again. Assuming, Super Grub2 even works then how do I reinstall grub2 once a boot into Debian 6? Has anybody tried Super grub2, does it work? It's kind of hard to test it, with a working version of grub2.
I have noticed whenever someone install Ubuntu 10.04 the grub menu doesnt get display. Is this a bug? Recently I did installed Ubuntu 10.04 with Windows as dual boot config and I did notice nothing like menu.1st instead it had grub.cfg. how to fix it?
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.
Since upgrading to Lucid (I think), I can't boot into Windows. When I select the Windows Vista entry in GRUB, the screen goes blank for a moment before returning me to the GRUB menu.I have tried pressing 'e' to edit the GRUB entry before booting, and what I find is that it says the root is hd0,1Since my Windows partition is sda1 in GPartEd, should that translate to, for example hd0,0 ?The only reason I want to boot into Windows in the first place is to install a BIOS upgrade from HP, which only works with their Windows software. If someone can suggest an alternative way of doing this then I won't need to boot into Windows at all.
I am using Ubuntu 10.10, manually installed, on a Dell Studio 15 laptop, dual booting with Windows 7.While a few kids were playing nearby where I was working, one of the pillows they were playing with hit my laptop's screen and moved the screen's hinge backwards, applying pressure past where the hinge ends. This didn't seem to cause any physical harm to the computer, but I moved away from where they were playing, and in the process, shut the laptop, putting it into sleep mode. I opened the laptop and entered my password to unlock it. About half a second after entering my password and displaying the desktop and open windows, it brought up the password prompt again, as if I'd just opened my laptop up and removed it from standby, although I had not in fact touched it since I had entered my password a mere half second before. I thought that that was strange, and then attempted to continue my work. However, although the mouse worked fine, when I attempted to apply a keyboard shortcut (Ctrl+Alt+2, which runs a 2-finger scroll script and has to be run every time I take the computer out of standby), Ubuntu didn't register it (I didn't touch the keyboard otherwise, although I should have checked whether it worked all =).
I tried it again, and it still did not apply the script. Then I thought, "Oh, the pillow must have knocked something out of whack. I'll restart." When I restarted, grub loaded as usual, but the timeout ("loading the primary in Xs." sort of thing) that it usually displays did not display this time. I didn't notice it at the time; I selected Ubuntu, and it appeared to be loading it, removing the grub menu, but then hung. I waited 5 minutes for the computer to display the login screen, but it did not, so I restarted again, thinking that it might just be something stupid. It didn't work again, hanging again. I tried this with both the most recent linux kernel and the second most recent kernel, neither of which worked. But what was interesting is that Windows 7, which is also on the grub menu, loaded and displayed perfectly, as did GRUB Invaders, a game that can be loaded directly from grub.After this little escapade, I thought something was just wrong in grub.cfg, and it somehow wasn't mapping the Ubuntu menu entries to the appropriate OS and kernel. So I loaded up a live CD, and attempted to look at the linux entries. These are the menu entries 10_linux, 00_header, and 20_linux_xen.
10_linux:
Code:
#! /bin/sh set -e # grub-mkconfig helper script. # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
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?
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.
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.