Ubuntu Installation :: Windows Not Booting From GRUB2 After Upgrade?
Jul 18, 2010
My girlfriend upgraded from Karmic 9.10 to Lucid 10.04 when the upgrade became available. She did it from Update Manager as opposed to a clean install.
I have no idea what she did, or how the process works (I installed from a Live CD on my own computer) and ever since she did it, she hasn't been able to boot into Windows XP from GRUB2.
GRUB2 loads up fine, with Ubuntu and Windows listed. It'll boot into Ubuntu with no problems. Selecting Windows will just re-load GRUB2.
I've tried re-installing GRUB2 but that hasn't worked. My lack of imagination means I have no idea what to type in to Google, or the forum search.
I have windows 7 in RAID 0 and installed Ubuntu 9.10 to another Sata drive. Ubuntu is working fine but if I try to boot windows in the Grub2 loader it goes do error and lets my to restart. I have finish the windows system recovery and setup repair several times and it won't find any problems. I can't get to windows loader.
Code:
Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Windows is installed in the MBR of /dev/sdb => Grub 2 is installed in the MBR of /dev/mapper/pdc_chfbjcefbd and looks for (UUID=c859191e-3279-4ecc-a569-4dfc8e1789b3)/boot/grub.
The Problem, installing ubuntu over top of windows and vice versa causes the windows boot menu to forget about ubuntu.The Solution:1. Using bcdedit from within windows to edit the boot menuClick Start -> Type Cmd.exe run it in elevated mode (as an administrator) by right clicking it and selecting "Run As Administrator" Inside the console type bcdedit, notice that the ubuntu boot entry is still there, for example i use three o/s , windows 7 professional x64, windows 7 ultimate x64 and Kubuntu and it looks like this
Windows Boot Manager -------------------- identifier {bootmgr}
I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:
Harddisk 1 1. Windows XP 2. Windows 2000
Harddisk 2 3. Ubuntu 10.04
After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?
I've currently got a dual-boot setup with Vista and 10.10 (using grub2 on MBR).I'm about to install Windows 7 and would like for a change to use the Windows bootloader. I currently have a separate /boot partition and believe I can install grub2 there so that I can chainload it using EasyBCD.
I'd like to do this from my running system as I don't have a spare USB drive right now. confirm the command I should use baring in mind the separate /boot.If I have to wait and do it from the Live CD - is the command to use any different? FYI here is my current layout:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_root-root 37735960 15719388 20099644 44% / none 1023876 316 1023560 1% /dev
yestoday,after I upgrade,unable to boot windows xp. if I use grub ,windows xp can boot up.but now I want to use grub2, boot info script's results.txt is at below.
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 #6 for /boot/grub. sda1: File system: vfat Boot sector type: Fat16 Boot sector info: No errors found in the Boot Parameter Block.
I am dual-booting XP, and all has been fine for a while....until I upgraded Grub yesterday. This was due to the boot menu not updating properly, and I realised the system was still using the old grub. The update instructions I used advised putting grub2 on all partitions if you were not sure which one to go for.....I guess this has "upset" the chainloading process, as when I select XP from the menu, I just get a black screen with flashing white cursor, which doesn't seem to respond to anything except CNTRL+ALT+DELETE!
I can still access all Windows files from Linux, and can see that system files like boot.ini are sill there. Both systems have been backed up, but would prefer not reinstalling right now if possible.
Below I'll paste grub.cfg and fdisk -l; any suggestions gratefully received!
ps the computer is a Sony Viao laptop: Core Duo 1.6 GHz - 1 GB Ram - 80 GB HDD, running XP Media Centre and Ubuntu 10.04
# DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub #
So to make things short, here's my situation: I was having the "no module found" problem, because dell software kept on messing with the MBR So I restored the MBR using Windows recovery and deleted the dell software Re-installed ubuntu 10.10 off the liveCD ~Then I had problems getting GRUB2 boot menu to show at boot, but i fixed that~ Now I'm having the problem where whenever I try to boot into windows 7 through GRUB2 instead of booting windows I just get:
"bootmgr is missing"
Note: I can still boot into Ubunutu 10.10 just fine.
if it is possible to boot windows without the chainload option. I don't have xp on the first partition and I don't want to load xp bootloader on the first partition because it will overwrite grub2. All I want to do is boot xp directly from grub, is this not possible? Can't I just load the kernel like I do with linux? I've never had luck with getting grub2 to load xp, P.S. grub version is 1.97 from ubuntu 9.1 install
so after my upgrade to 10.04 I'm experiencing a puzzling problem with Grub2. It can load everything fine except for XP. I have XP on a separate partition, it is detecting fine and the grub.cfg file is created withou a problem when I the appropriate commands to update and upgrade grub. What happens is that I select Windows XP from the list and it goes to a black screen where a cursor in the top left corner blinks 3-5 times and then immediately kicks me back to the Grub menu. I can do this forever but the grub menu just gets reloaded every time. Any ideas?
Here is the windows portion of my Grub.cfg:
### BEGIN /etc/grub.d/30_os-prober ### menuentry "Microsoft Windows XP Professional (on /dev/sda2)" { insmod ntfs
[code]...
Here is my boot.ini on the ntfs partion I am trying to boot into
[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)WINDOW S
I'm dual-booting Ubuntu 10.4 (grub2) and Windows 7 (x64). Something stomped on my grub install on the windows boot sector (probably windows). I was getting errors like "Cannot find disk.." I updated my grub.cfg to what I thought should work and now I'm getting errors like "cannot find C/H/S values".
I've attached the RESULTS.txt. Its really a simple install, although I do have a RAID5 array; the RAID disks are just for data and hold no OS files. Both OS's are on /dev/sdd.
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again. i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c3a81f5
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
I have Win 7 in my hard drive (sda) and I installed Ubuntu 10.04 in other hard disk (a usb disk), but when I try to boot my pc from the usb disk (sdb), the grub shell is displayed. No menu is displayed. When I boot Windows 7 from sda, it runs correctly. The problem it's when i wanna boot Ubuntu. I ran bootscript on the live CD and this is what I've obtained:
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Windows is installed in the MBR of /dev/sda => Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in partition #1 for /boot/grub.
9.10 uses GRUB2, so the instructions below are obsolete. Is there anyone here who could provide instructions for adding Geexbox into the GRUB2 menu? If you already have a Linux OS installed on your system, you might just want to add a GeeXboX entry to your existing bootloader. This allow you to install GeeXboX very easily. From GeeXboX CD, simply copy the GEEXBOX folder into your Linux / partition (we suppose it to be /dev/sda1 here).
Modify the /boot/grub/menu.lst file to add: title GeeXboX root (hd0,1) kernel /GEEXBOX/boot/vmlinuz root=/dev/ram0 rw rdinit=linuxrc boot=UUID=$my_uuid lang=en keymap=qwerty splash ... initrd /GEEXBOX/boot/initrd.gz quiet
Just take are about two things: - the field root (hd0,1) is to be adapted according to the rest of your GRUB's configuration. - the $my_uuid value is the unique ID of your partition. Check within your GRUB config file, which value is set for other OS on the same partition or use ls -l /dev/disk/by-uuid/ to see which uuid matches your partition.
I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
I switched a working Lucid KVM guest from linux-server to linux-virtual and it could not mount root at boot time and issued a panic instead. Switching back (booted from CD and used "rescue a broken system") revived the VM.
My first guess is that some DM driver module needed for LVM is missing from the linux-virtual package.
so i've just installed Burg loader in a PC which dual-booted Windows 7 and Ubuntu 11.04 with no problem using grub2 in the past. But after i installed burg it just boots up straight into the Windows OS and Ubuntu is nowhere to be found. Is there a way to restore grub2 preferably without having to lose any files?
I have been running a dual boot XP and Ubuntu 8.04 on two separate hard drives for a while now without any problems. I used the method posted http://ubuntuforums.org/showthread.p...light=dualboot. I will be upgrading to 10.4 soon (probably after the re-spin in July) and was wondering if I will have problems after upgrading dual booting.
I do not know if while upgrading Grub remains or if Grub2 tries to overwrite. I have read that Grub2 will try to install onto all partitions and hard drives in a fresh install but do not know about upgrading. If it does try I think I need to put it in hda,1 which is the primary drive where Ubuntu is located.
This is not something I have been able to find the answer to with google. I also have Kubuntu on the system which I can change with session manager and am not sure what will happen to that once I upgrade Ubuntu.
I took the distribution upgrade from the update manager and can't boot now. Boot into a Live CD (ver. 9.10 - does that matter?), and go through the following steps.
ubuntu@ubuntu:~$ sudo fdisk -l Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000ad56f
[Code]...
Anyone have an idea here? I have searched a lot and have only found a few references to this issue. Does the invalid flag message relate here? The partition is flagged as 'boot'.
Last night I attempted to upgrade my Ubuntu 10.10 (amd64) machine. After reboot (it installed a new kernel), the grub menu only had the memtest. Booted into a livecd and it seems that I was missing most of the files in /etc/grub.d/. Reinstalled grub-common and grub-pc didn't seem to restore the files. I ended up having to download the dpkg, expand it and copy the files manually so I could get the box generate grub.conf and boot up. I think grub may have been broken before the upgrade but exhibited the problem when it upgraded the kernel and reran upgrade-grub but I can't seem to figure out why reinstalling grub doesn't add the files back.
I installed UEFI Ubuntu 10.10. Its grub2 version is 1.98. I want to upgrade it to 1.99.I try to use 'grub-install' and 'grub-setup' commands but I faild to upgrade the grub2.
And, when I add my ram to 4G, the system hangs and displays 'Not syncing: VFS: Unable to mount root fs on unknow-block(1,0)'
I moved from 8.04.2 to 10.04.2 and tried to upgrade from GRUB Legacy to Grub2. I must have made a mis-step somewhere in the process as on boot it now tells me
Code: GRUB Loading stage1.5. GRUB Loading, Error 15 _ Is there a nuke from orbit, no finesse way of just ripping all the existing GRUB mess out and installing GRUB2 from Boot disk? for instance should I be just be able to boot with a LIVE CD mount the primary disk of this machine and enter the below in a terminal without messing up any further?
I have recently installed the Maverick backport kernel (2.6.35 - from the lucid-updates/main repo) and while I was at it I also manually (through synaptic) got rid of some old kernels. I made sure that I kept the current Lucid kernel though (that was working fine). All seemed well (although I didn't actually check - just no errors) so I rebooted.On reboot I have lost all my Ubuntu kernel options!
jed@lightning:/boot$ ls abi-2.6.32-31-generic memtest86+.bin abi-2.6.32-32-generic System.map-2.6.32-31-generic
[code]....
Even reinstalled burg (used to use it but it got broken by a kernel update long ago and never bothered to fix it as I only use Linux these days anyway)Funny thing is that BURG finds the kernels and reports no problem, but then drops to the grub-error prompt on boot.
I have 2 hard drives, first drive (hd0) is for data, second drive (hd1) is for the OS's. Windows 7 was installed on (hd1) a few months ago and wiped out GRUB. But today, I decided to go back to Ubuntu. I performed a fresh install of 9.10 x64 to (hd2), GRUB2 works and finds Ubuntu (both the newly installed x64, and the previous x86 versions), but it does not see Windows 7. The only goal I have right now, is to make Windows 7 bootable, once again.
My "sudo fdisk -l" (typing manually, so skipping the Blocks) Device Boot Id System /dev/sdb1 83 Linux -- where x64 9.10 is /dev/sdb2 f W95 Ext'd (LBA) /dev/sdb5 83 Linux -- where x86 9.04 is /dev/sdb6 83 Linux -- /home /dev/sdb7 82 Linux Swap / Solaris /dev/sdb8 87 HPFS/NTFS -- Windows 7
Things I've tried so far: 1) Automatically finding Windows: sudo update-grub2 2) Reinstalling grub via Live CD (9.10): sudo grub-install --root-directory=/media/(where sdb1 - x64 Ubuntu is) /dev/sdb 3) Forgetting Ubuntu altogether and fixing boot using Windows 7 - bootrec.exe /fixmbr; bootrec.exe /rebuildbcd
Now, number 3 is interesting, I found out that where Windows is installed, /dev/sdb8, is a logical partition, and cannot be made active (bootable). This led me to try number 4:
4) Updating /etc/grub.d with custom 40_Win7 file, and making it bootable (the GRUB makeactive, GRUB2 parttool command): echo "Adding Win 7 to Bootloader" >&2 cat << EOF menuentry "Windows 7" { insmod ntfs set root=(hd1,8 ) parttool (hd1,8 ) boot+ chainloader +1 } EOF
When I update grub.cfg after trying #4, it gives me the "not a primary partition" error. So now I am confused. Windows 7 was able to boot previously from this very partition, and I don't think installing 9.10 would change a partition type from primary to logical. So, why can't it boot? More importantly, what can I do to boot Windows 7?
I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.
I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.
Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.
After installing ubuntu 10.4 netbook remix edition to my laptop, I then found that GRUB hadn't installed at all, and it went straight to windows 7 each time. So I rebooted from my live-usb and got into the terminal, and typed
Code: sudo grub-install /dev/sda5
Which then gives me Code: No path or device is specified. Try `/usr/sbin/grub-probe --help' for more information. Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly.
This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with: