Ubuntu Installation :: Skip Windows Loader Using GRUB2?
May 22, 2010
I would like to have some entries in GRUB2 so that I can directly boot Windows XP and Seven without having to load the Windows bootloader (so I would like to avoid one step, now is:load GRUB2 --> then Windows loader --> then Windows boots. I would like it to be: load GRUB2 --> then Windows boots). s this possible?This is what I have now in my grub.cfg
[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?
I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...
Code: steve@Stewie:~$ sudo fdisk -l Disk /dev/sda: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb788b788 .....
Code: steve@Stewie:~$ sudo update-grub Updating /boot/grub/grub.cfg ... Found linux image: /boot/vmlinuz-2.6.24-27-generic Found initrd image: /boot/initrd.img-2.6.24-27-generic Found linux image: /boot/vmlinuz-2.6.24-26-generic Found initrd image: /boot/initrd.img-2.6.24-26-generic Found memtest86+ image: /boot/memtest86+.bin done
I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right.... The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?
Code: Boot Info Script 0.55 dated February 15th, 2010 Boot Info Summary: => No known boot loader is installed in the MBR of /dev/sda => Windows is installed in the MBR of /dev/sdb
I am newbie in Linux and Ubuntu. Need qualified help I've installed Ubuntu on my first drive. And I have Windows 7 on second drive. At the begining the problem was that GRUB2 didn't see Win7 loader. I red GRUB2 manual and find solution which says to add some text to the file /etc/grub.d/40_custom. So I did this and here is my 40_custom content:
Code: #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the
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 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 set the auto timeout on my dual boot machine to 1 second. It will not allow me to select anything but the default option I had set, which is Windows XP. I would love to be able to get back into Ubuntu, but I can't.I tried logging in through a live CD I had for Xubuntu v9.1, but I was unable to successfully run "Startup Manager" to change the timeout back to 3+ seconds.
I have Windows 7 on my machine right now but want to dual boot with either Ubuntu or another Win OS.....is there a way to dual boot with ubuntu and keep my windows boot loader or do I need to have grub?
I was dual-booting XP/Win7... Uninstalled Win7 and reset boot loader with XP's Went to install 10.04 for dual-boot and it is showing that loader as "Widows 7 loader"
I installed Ubuntu 10.10 64 on a Compaq CQ60 laptop on a 60 gig partition with a 3 gig swap partition. I'm running windows 7 64bit ultimate on the main partition. I installed off a live disc and Ubuntu works and runs great(except for wifi >.<).
My problem is ever since I installed Ubuntu Windows wont load every time. About half the time I select Windows 7 in the boot loader and it pulls up the windows screen with the stupid little flag, and then resets itself.
There where no problems with Windows 7 prior to the install. I've read that if you didn't reset your computer after shrinking your drive in windows it will cause problems later. But I did that so I cant think of any other explanation for why it would continually crash. Has anybody else had this issue, is this something that might be repaired by removing Ubuntu and the partition and reinstalling it?
I installed Ubuntu 11.04 64-Bit via Wubi but it seems that when I turn on my machine I first get the Windows Boot Loader, when I select Ubuntu from the list it then goes into GRUB with the option to select Ubuntu or Windows. Is there any way to change this so only GRUB is used?
I am user of ubuntu 10.10 beta version. I installed windows 7 on ubuntu but after that ubuntu doesnt boot up! Somebody please help me.I have ubuntu 10.10 live cd for 32 bit desktop edition.I want to rescue this problem.
I am running Ubuntu 10.10. Normally when I boot, I get the choice to run Ubuntu or the Windows loader, where I choose between 7 or XP. I have just noticed that when I boot now, I do not have the choice of going into windows. This has happened on two of my PC's just in the last few days. I assume one of the updates has overwritten the grub configuration file as I still get the grub menu but not the windows option. I have tried sudo update-grub but this did not solve the problem.
I tried to install linux on hard disk and it installed without any problem. However, when i boot i directly get the windows boot loader screen and no grub screen. I reinstalled linux. I tried to fix grub, but still no grub screen.
I installed Ubuntu 11.04 on a separate partition, with Grub being in it own partition. When I start the PC only windows Xp is available. So how do I get grub or Ubuntu load with windows xp boot loader? I tried with Live cd, the sudo grub but then it says command not found. I think its because Ubuntu 11.04 uses grub 2.
I installed Fedora 14 alongside windows, overwriting my old Ubuntu 10 partition. Unfortunately, now the GRUB loader only recognizes my Fedora partition and the built-in windows recovery utility partition. I checked the disc utility and my windows partition still definitely exists, I just can't seem to boot into it.
i've started off using linux with ubuntu 10.10, and then i moved to linux mint 10 kde, and after finding out that it didn't support my hardware, in specifically my graphics card, i switched back to ubuntu 10.10, and from there i upgraded to 11.04. i hated the gui so i switched it from ubuntu to ubuntu (classic) environment. i also installed kubuntu-desktop too, and it looks a lot like mint 10 kde, i guess it uses kde 4.6, but... it's more stable for me. anyway, what i mean is that, originally ubuntu had a black background, linux mint 10 kde had a pretty cool custom mint background, ubuntu 11.04 has a purple background. i looked on videos, i found people using customized backgrounds, but they either don't explain how they got it *like for instance, someone said opensuse 11 or 13 has an icy penguin animated background, and someone else had one that you could scroll through.* or it's too complicated or outdated. is there a simple way to change your grub2 boot loader background image?
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.
I have Windows 7 and Ubuntu 10.04 dual-booted on my machine. grub was aautomaticlu installed as the primary loader. Soon i want to nuke my ubuntu partition but i know that will delete grub. Can i remove grub or at least make Windows boot loader default.
I am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10. I have entered the command gksudo gedit /boot/grub/menu.lst into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.
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 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.
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:
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.
i was dual booting windows 7 and ubuntu 10.04 with grub2 as the boot loader then I had to reinstall windows because of some issues, during the installation I had to DELETE the partition windows was installed on then create a new one, this was the ONLY Primary partition in the hd and it was the partition grub2 installed on.
After the installation finished, i loaded an ubuntu live cd and reinstalled grub2 using the graphical tool "boot-repair", it worked and windows 7 appears on the list but ubuntu does not!. I tried sudo update-grub2 (found a tutorial to make this command work in Live CD) but the problem still exists. I also tried booting using the command line (set root=(hd0,1)....etc) but it doesn't work, windows boots when the value is set to 1 but when I try 2 I get an error.
Is there a way to verify that the ubuntu installation is still working and how can I make it appear on grub2 if it's still working. As I said the deleted windows partition was the only Primary partition and the / & /boot & /home & swap were all logical, do I need to set / partition to be Primary in the installation?
part of fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
install fedora 11 on Vista I want to keep the windows boot loader and also install on a usb drive or a seperate partition that has 10GB free "install doesn't see partition's". Recently I installed ubuntu and had a major problem with booting, without having the usb drive connected I couldn't boot windows so uninstalled it. I'm trying to install now but install does'nt give me any option to select partitions from my drives one 320GB "portable, 3 partitions" and 80GB "main os 2 partitions one partition has 10GB free"