Ubuntu :: Grub2 No Longer Booting Into Windows Properly
Mar 22, 2010
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 was dual booting on my netbook with Lucid and Windows XP, so the computer starts with the GRUB2 menu. I deleted the windows partition and now I only use Lucid on the netbook. I want to know how can I get the computer to simply boot into Ubuntu like a normal computer would do if it was not set up as a dual boot system?
How can I get the computer to go directly into the ONLY operating system rather than taking a detour through the GRUB menu?
i am dual booting windows 7 and ubuntu 10.4 lucid, i just reinstalled the Grub2 after my windows erased it, and now it boots into grub2 but i can only boot into my windows7 loader, ubuntu is not even listed as an option for me to boot into its just a bow with the win7 loader. How can i get the grub2 to load ubuntu back again? i followed the guide on this site to reinstall the Grub2 and set up the dual boot. [URL] edit: i can find plenty of info for getting windows back into grub, but none about getting ubuntu back
I'm using Maverick Meerkat, 10.10, 64bit. I'm a pretty basic user but am trying my best to learn.
My background: I have a laptop on which I installed Win7 Ulimate on one partition. After installing Win7 I then installed Ubuntu on a separate partition. GRUB2 found both Win7 and Ubuntu perfectly. I could choose to boot into either one and the ability for GRUB2 to "remember" which OS I booted into last worked properly. I then did a kernel update a couple days ago via Ubuntu's Update Manager. After that, GRUB2 could no longer see Win7. I added a custom boot entry in /etc/grub.d/ so that Win7 would show up in GRUB2.
However once Win7 did show up in GRUB2 I kept having a problem with the Windows bootloader being missing. I used the Win7 Recovery DVD to get into Windows and then installed EasyBCD for Win in which I was able to create a Win7 boot entry and get the Win7 bootloader back. I set EasyBCD to skip the bootmenu so my current configuration now is that on bootup I see GRUB2, which shows Maverick Meerkat & Win7. If I select Win7 then Win7 loads via EasyBCD and it works fine.
The problem though is that GRUB2 does not auto-detect Win7 AND it no longer remembers the last OS that I booted into. I would rather not use EasyBCD if I can help it and would like to just use GRUB2 for everything.
My question is this: How can I get GRUB2 back to controlling Ubuntu & Win7 properly without the need for anything else in between. I have asked in the Freenode Ubuntu channel but haven't received any help besides "sudo update-grub" which I have done and it hasn't helped.
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.
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.
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
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.
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}
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 wanted windows to appear first in my grub2 menu so I renamed the 30_os_probe file(or whatever it felename is) to 09_os_probe so that it comes before the 10 linux file, problem is whenever these files get updated the updater is unable to find the 30_os_probe file since I renamed it and recreates it... leaving me with two versions (09 and 30) with 09 being of course outdated.
The updater also fails to run update-grub and instead attempts to update grub.cfg manually... and fails. I had to manually do a sudo update-grub.
Is there any way to fix this so its all updated automatically while leaving windows the top choice? No manual intervention required beyond clicking "install updates"?
Also, is it possible to JUST have the Windows and Ubuntu choices, no Ubuntu recovery, memtest, alternative(older) kernels for Ubuntu, etc in the grub menu?
After installing recommended updates for Ubuntu, Ubuntu would no longer boot from Windows Boot Loader. It looks like an error about some missing NTFS4 files briefly flashes on the screen.
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 am using a linux kernel 2.6.36 using mips architecture. I have succesfully booted the machine through Flash memory, but it is not booting through nfs. It is getting stuck at the stage where the image starts loading. In short the vmlinux.img file is being copied properly to nfsroot but the image is not loading.
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)?
After having problems with grub2 and windows seven and being forced to reinstall both windows and Lubuntu, I got grub to work. So after some hours of work, everything is working fine. Today, I was trying to use windows again and windows is no longer listed on grub. What can I do to keep it permanently on the list?
I was using tripleboot system in one hard drive. That included Windows 7,Ubuntu 10.10 and Ubuntu 11.04. And yesterday I decided to added openSUSE 11.3 at another partition. I'm using Ubuntu 11.04 grub2 as bootloader.
At first there was no problem. All OS detected well, but after opeSUSE online updates last night my openSUSE partition won't boot. First, at boot I chose openSUSE and it said "Boot kernel first" and nothing happens. And then I boot to ubuntu and ran update-grub then I saw grub no longer detected openSUSE partition.
boot up in to chameleon, lists only Mac OS X as a boot option. Reboot, load Ubuntu 10.4 install cd, get to a terminal, mount /dev/sda3 /mnt grub-install --force --root-directory=/mnt/ /dev/sda3
reboot, let chameleon come up, it sees both Mac OS X & Ubuntu partitions and I can boot to either or happily, now here is the problem... If I select linux and boot in to linux from chameleon, i am brought to the grub menu, where i can select the first choice which is normal ubuntu 10.4 and every thing is great... until I reboot and my linux partition no longer shows up in chameleon, as if tthe act of booting in to grub is changing something / deleting itself from the partition? and I have to do the whole thing over again. SO, not having to even go in to OS X, I'm not sure thats really the concerns more as I'm doing something wrong with grub.
I usually install grub straight away after an install but this time it hasn�t worked for some reason after installing 13.1 on a new lappy. I have tried grub, grub2 (from sbo) and lilo; nothing I install into MBR will boot my slackware installation, I have to use the boot USB stick every time.
grub-legacy would be my preferred one so i�ll ask for help specifically with that. This is what im doing so far -
did some updates on the buntu-box but everytime I start it it now goes to some CMD-like screen that lets you go through F1-FX and comes up with diffrent tty thingies, before the update it used to go into the proper GUI, I have 10.10 installed, I think I updated my GPU driver and looked on here for some hints on what to do, I have tried: cd /etc/x11
Above command did not work for some reason, think it couldn#t find it? Sudo service gdm start Said above process is already started or something
Small issue with grub 2. I installed fedora on a usb drive and i'm trying to get it to boot from grub 2. I did update-grub and it found the kernel on /dev/sdd2 but for some reason it is trying to point the kernel file to /boot directory in grub but the kernel is on the usb drive and when i try to set it to look at the usb drive it says file not found.
I have Ubuntu 10.04 installed on my machine. Recently due to power failure, my machine is not booting up properly. When I boot into ubuntu( I have dual boot XP & Ubuntu), A long data sheet scrolls and at the end the following comes Target filesystem doesn't have /sbin/init
No init found. Try passing init= bootarg BusyBox v1.13.3 (Ubuntu 1:1.13.1-1ubuntu11) built-in shell (ash) Enter 'help' for a list of built-in commands.
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.
efix is a usb bpu (booting processing unit) that can handle various OS. I'd like to have Grub2 pointing at it, list it and be able to start the booting process from there. My ubuntu 10.04 sees the device but apparently I can't configure the 40_custom file properly. I'm also using Burg as theme manager for grub2. Below you can find my system specs.
|Motherboard: ASUS P6T SE bios v:0805 |CPU: intel corei7 930 2.80 ghz|GPU: ASUS Nvidia 250 gts 1GB| |Ram: 6GB ddr3 1333 corsair (running at 1066)
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 #
I am using OpenSUSE for the first time. I quite like it but KDE on 11.3 is really giving me a hard time. My desktop becomes very sluggish after about an hour of usage and the KDE widgets/desktop are no longer rendered properly, with color spilling and bloated borders etc.
To give you a better idea, here is a screenshot of my desktop -[url] here's another - [url]
I suspect that this might be an issue with drivers for Intel Graphics, though I couldn't find anyone experiencing exactly the same problem as me. I am running a P4 2.4 GHz with onboard intel graphics.
i have a peguin computing 130 server running ubuntu server 9.10 and today i open the box to removed one of the hard drives that wasn't being used and the server is no longer booting to the bios.
i have removed the ram and placed it back but notting is showing up. Every time i turn it on it doesn't show anything not even the bios.
I was given an external USB drive which has Windows XP Pro on the first partition. I can mount and access the partition with no problem. When I run update-grub, it finds the XP partition and creates a menu entry for it. But when I select it from the Grub menu, I get an error that the device is not found.
Results of sudo fdisk -l Code: Disk /dev/sda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00086c27