General :: Make Grub2 Boot Into Windows 7?
Jan 30, 2010
I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager.Initially I couldn't see windows entry in grub at all, so I ran:aptitude install os-prober kcpuload update-grub Now I can see the entry, but when I select it I get only Win7 system restore, instead of the the real thing. Any ides how to make it work?
EDIT: I tried the suggested approach to add a new file to /etc/grub.d, which generated an entry in grub.cfg, but it does not appear in the grub menu on boot :(
I have this:
grzes:/home/ga# cat /etc/grub.d/11_Windows
#! /bin/sh -e
echo Adding Windows >&2
cat << EOF
menuentry "Windows 7″ {
[Code]...
View 1 Replies
ADVERTISEMENT
Mar 14, 2011
I just installed CrunchBang Linux and it's great! But I can't boot into windows anymore. I'm sure it didn't delete my Windows partition-it's mounted. My linux partition is /dev/sda1 Windows is /dev/sda2
Code:
sudo update-grub
Found linux image: ....
Found initrd image: ....
Found linux image: ....
Found initrd image: ....
done
how I can get Windows to reappear? I've had bad luck with Grub in the past and I don't want to fight it on my own...
View 9 Replies
View Related
Mar 7, 2010
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
[Code]....
View 3 Replies
View Related
May 17, 2010
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)?
View 2 Replies
View Related
Jun 19, 2011
It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?
View 1 Replies
View Related
Apr 2, 2010
I installed Ubuntu 9.10 yesterday on my computer. I had Windows XP and Windows 7 (I deleted the Windows 7 partition and installed Ubuntu 9.10). However, after installing Ubuntu, I couldn't access the grub boot menu. So I googled, and I found out how to make the menu show up again. That was okay. But Windows XP didn't show up. So I googled a bit more, searched the forums, and I added the following entry to my 40_custom file code...
As far as I know, that should work. The uuid I entered there is the one that gparted told me was the uuid of the partition. However, this isn't working. I get a disk read error when I try to boot my Windows XP.
According to my gparted, my Windows XP drive is inside an extended partition? I wonder if that has any influence on why I'm getting the disk read error, or anything. It's either that, or my 40_custom entry is wrong. I've been trying to sort this out for a while now, and I'm afraid I'm not getting anywhere with it.
View 3 Replies
View Related
Jun 2, 2011
I have a Dell PowerEdge SC1425 with two SCSI-disks, that I have tried installing Debian Squeeze on. This machine has previously been running Lenny (with grub 1), and the upgrade was done by booting a live-cd, mounting the root partition and moving everything in / to /oldroot/, then booting the netinstall (from USB), selecting expert install and setting up everything (not formatting the partition).
Both disks have identical partition tables:
/dev/sda1 7 56196 de Dell Utility
/dev/sda2 8 250 1951897+ fd Linux raid autodetect
/dev/sda3 * 251 9726 76115970 fd Linux raid autodetect
/dev/sda1 and /dev/sdb1 contain a Dell Utility, that I have left in place.
/dev/sda2 and /dev/sdb2 are members of a Raid-1 for swap.
/dev/sda3 and /dev/sdb3 are members of a Raid-1 for / formatted with reiserfs.
After installation, grub loads, but fails with the following message:
GRUB loading.
Welcome to GRUB!
error: no such disk.
Entering rescue mode...
grub rescue>
Doing "ls" shows:
(md0) (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
I can do the following to get grub to boot:
set root=(hd0,3)
set prefix=(hd0,3)/boot/grub
insmod normal
normal
This will bring me to the grub menu, and the system boots.
It appears that grub has only found md0, which I believe is the swap partition, because ls (md0)/ returns error: unknown filesystem. I have installed grub to both sda, sdb and md1, and tried dpkg-reconfigure grub-pc and dpkg-reconfigure mdadm, as well as update-grub.
I manually added (md1) /dev/md1
to /boot/grub/device.map, but still no result.
I have run the boot_info_script.sh, but unfortunately I cannot attach the RESULTS.txt, because the forum aparently does not allow the txt-extension. Instead I have placed it here: [URL]. I am tempted to go back to grub-legacy, but it seems I am quite close to getting the system working with grub2.
View 6 Replies
View Related
Oct 27, 2010
I upgraded a while back to Windows 7. I run two separate HDDs, with debian on sda and windows on sdb.Everything worked fine, up until i upgraded to windows 7. The installer forced me to unplug sda and make sdb primary. After installing I repositioned the HDDs and was stuck with a "NTLDR is Missing" messageAfter removing the search -fs--uuid tag from grub.cfg, Windows 7 booted for a good 0.5 sec and then rebooted. All that flashed was the "Starting Windows" page. I see similar bugs reported in the launchpad, but nothing that directly parallels this Here's my windows entry in grub.cfg:
Code:
menuentry "Microsoft Windows 7 Ultimate (on /dev/sdb1)" {
insmod ntfs
[code]....
View 6 Replies
View Related
Nov 18, 2010
I've installed Xubuntu 10.10 on a very new EeePC 1201HA. The netbook came preconfigured from the OEM with the disk split into two Windows partitions of about the same size, one with Windows 7 starter. I removed the second partition (Which was just empty) and have installed a series of different distros since then, to try and gauge their support for the 1201HA hardware. I finally settled on Xubuntu, which can support most of the laptop's features with some tweaks.
However, after this last install, and a Grub config change needed to make the framebuffer work on this hardware, I'm unable to boot Windows 7.Grub shows it on the menu normally, but when I select the Windows 7 entry, I get the message 'Reboot and select proper Boot device or Insert Boot Media in selected Boot device and press a key,' which I understand isn't from the OS but rather a BIOS message which implies there is no loader.
I've tried using the Windows 7 system restore to do everything short of rewriting the Windows bootloader to the MBR (Which would, of course, remove Grub and thus not solve my problem, as I couldn't load Ubuntu from it). I attempted to fix the boot sector on the partition with the system restore tools, to no avail. And because this is a netbook with no optical drive, I'm unable to reinstall from a disk.
View 9 Replies
View Related
Dec 9, 2010
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}
This is automatically generated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter.
Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
But the weird thing is my usb stick can boot windows 7 successfully with the same configuration. Whats wrong with that? How can I do with grub.cfg?
View 1 Replies
View Related
Jul 14, 2011
How to make Windows Boot Manager automatically open GNU GRUB and then with GNU GRUB automatically boot Linux Ubuntu 11.04.
View 1 Replies
View Related
Jan 23, 2010
I want to make dual boot system with windows Xp and Linux fedora 11, please help and guide me in detail, also I tried it with fedora 10 and windows xp, it easily works without any problem, but in fedora 11 the grub boot loader is not detecting the installed Xp
View 2 Replies
View Related
Mar 28, 2010
how to use Grub2 to boot Windows XP and Linux.
[code]...
there were no entries in the Grub 2 menu after booting. I don't really understand the numbering of hd0,0 to like sda, but I changed "root (hd1,0)" to "root (hd0,0)" if Windows is on hd0, but after rebooting, I still didn't see it. I read somewhere that Grub2 starts partitions at 1, but wasn't sure that was true because in menu.lst they start with 0 sometimes. know entry-level steps to solve this?
View 3 Replies
View Related
Oct 27, 2010
I upgraded a while back to Windows 7. I run two separate HDDs, with debian on sda and windows on sdb. Everything worked fine, up until i upgraded to windows 7. The installer forced me to unplug sda. After installing I repositioned the HDDs and was stuck with a "NTLDR is Missing" message. After removing the search -fs--uuid tag from grub.cfg, Windows 7 booted for a good 0.5 sec and then rebooted. All that flashed was the "Starting Windows" page. I see similar bugs reported in the launchpad, but nothing that directly parallels this.
Here's my windows entry in grub.cfg:
Changing ${root} to (hd1) makes no difference. Also, I've been using Windows 7 for moths now without a problem, it's only when I try and boot it form grub2 that I get a problem. Physically removing sda lets Windows 7 boot fine.
View 3 Replies
View Related
Nov 13, 2010
I posted recently about some problems with grub2(http://forums.fedoraforum.org/showthread.php?t=254100)
I ran grub-install, it installed fine and when I rebooted it worked, only I was presented with a command line with the message that "Minimal command-line editing is still supported etc". I'm dual-booting with Windows and F13 and I couldn't boot into either of them so I had to reinstall F13 and replace grub. How do I install grub2 while still being able to boot into Windows or F13?
View 2 Replies
View Related
May 3, 2010
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.
View 1 Replies
View Related
Jun 6, 2010
I installed Ubuntu in my new notebook. It originally comes with Windows 7 installed on it.Everything works nice however every time i boot into Windows7 the grub menu doesn't work any more. i can't boot into windows or ubuntu any more. How do I stop this? Its rather annoying to have to boot, chroot and fix this problem everytime.
View 1 Replies
View Related
Jun 26, 2010
Windows has some files I need and when I try to boot it hangs at a black screen with a blinking cursor.
I checked grub.cfg and this entry was in there code...
View 9 Replies
View Related
Oct 12, 2010
I have grub2, and windows 7 and ubuntu show up on the start up menu.
When you hit windows 7, it starts all the way to the ending of the flags, and just restarts.
I have tried chkdsk c: /f /c Restoring windows 7 boot, and then grub menu Creating a custom menu entry. Nothing works.
Here is my boot info script, results:
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 #5 for /boot/grub.
[Code].....
View 9 Replies
View Related
Dec 10, 2010
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}
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:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?
View 9 Replies
View Related
Jan 3, 2011
ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.
Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.
View 5 Replies
View Related
May 25, 2011
I have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?
View 4 Replies
View Related
Jun 14, 2010
I installed ubuntu using wubi and then I tried installing grub 2 but it failed. I need a way to reinstall the mbr sp it will load the windows 7 loader from the first partition.
View 1 Replies
View Related
Apr 3, 2010
I managed to set up my laptop to dual-boot Windows XP SP3 and Ubuntu 10.04. How do I set the Windows to be the default boot option at startup (GRUB2)?
View 3 Replies
View Related
May 12, 2010
I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:
Code:
Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1
Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5
[code]....
View 6 Replies
View Related
Jul 12, 2010
I updated Grub2 and now I cannot boot my Vista or Windows 7. I am running Ubuntu 10.04. I updated because Grub2 was not updating to the newer kernels that were being installed. Now the new kernel is showing in the boot menu, boots fine into Ubuntu, but my Windows installs won't boot. Current installed version is grub-install (GNU GRUB 1.98-1ubuntu6).
View 4 Replies
View Related
Mar 31, 2010
I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
[code]....
View 4 Replies
View Related
May 3, 2010
I just installed Ubuntu 10.04 LTS on an external hard drive (USB connected) and I can no longer boot my Windows XP(SP3) from my internal C Drive. Grub gives me the list of boot choices, but when I choose the C drive, I just get these error messages:
GEOM ERROR
For Realtek RTL8139(X)/8130/810X PCI fast ethernet controller v2.13 (020326)
Client MAC ADDR: 00 13 D3 07 FD F5 GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
PXE-E53: No boot filename received
PXE-NOF: Exiting PXE ROM
(The version of Grub is 1.98-lubuntu5). I don't have a Windows System CD to boot from, but is there something I can do from within Ubuntu itself?
View 9 Replies
View Related
Jun 9, 2010
I have a dell Inspiron 5150. I had perfect windows XP home installation, and decided to dual boot with Ubunutu 10.04. I copied the whole C:/ to external drive, installed ubuntu, installed windows, repaired Grub2, but now, Grub2 looks something like this.
[Code]...
View 9 Replies
View Related
Aug 20, 2010
[URL](where loading into Windows corrupts the MBR). None of the solutions in the bug thread work for me, however--I'm on a Dell system (so it's not HP tools) and I'm not running PC Angel or any similar service (I checked). I assume it is related to the Dell recovery partition, though my old laptop from Dell didn't have this problem even though it also had a recovery partition.
However, before I had partitioned and set up Ubuntu on my new laptop, I installed Wubi (for transferring over the files from my old laptop because I didn't have time to do a full install and deal with problems like this one). Wubi worked fine using the Windows Boot Loader. I understand that WBL isn't capable of loading Linux on its own, which is why I was wondering if it was possible to have GRUB installed on a separate boot partition (not the MBR) and loaded from Windows Boot Loader. All of the information I could find on it didn't work with Windows 7--but again, I know Wubi was capable of doing it. how to set this configuration up?
View 2 Replies
View Related