LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error with new Dual booting system, Windows and Ubuntu 13.04 (https://www.linuxquestions.org/questions/linux-newbie-8/error-with-new-dual-booting-system-windows-and-ubuntu-13-04-a-4175480723/)

aragorn0021 10-14-2013 08:07 AM

Error with new Dual booting system, Windows and Ubuntu 13.04
 
Hi there

I am very new to linux and just thought i would try it out as something new. I went and installed ubuntu choosing the "install alongside windows" option.

The problem i am facing is that now i cannot boot into windows, any atempt just asks me to insert a windows recovery cd.

I am wondering if it because i think Windows 7 was legacy installed and maybe linux got UEFI installed?

Have tried a few fixes online but nothing has helped so far, here is the log i have got from Boot Repair.

http://paste.ubuntu.com/6235735/

Note: I can boot into Ubuntu fine, but i cannot boot into windows at all.

Any help would be much appreciated.

Aragorn0021

colorpurple21859 10-14-2013 09:14 AM

add this entry to your /boot/grub/grub.cfg see if it helps.
Code:

menuentry "Windows 7" {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}


aragorn0021 10-14-2013 09:43 AM

I cannot make any changes to the grub.cfg file as it is read only. Is there any easy way around this?, If it helps with finding a solution, i know that windows was installed in bios mode with an mbr. From looking online i believe the error may be that linux installed in efi and is now trying to boot windows assuming its uefi when it should be mbr/bios?

Thank you in advance for your help
Aragorn0021

colorpurple21859 10-14-2013 11:22 AM

you should be able to change grub.cfg by opening up xterm and running entering this
Code:

gksudo gedit /boot/grub/grub.cfg
Use your password when asked.

haertig 10-14-2013 11:30 AM

I would not recommend that a new Linux user edit grub.cfg manually. It is not intended to be edited manually (which is why it is read-only). As soon as grub updates, his changes will be overwriten and his booting problem will reoccur.

It is fine to manually edit grub.cfg to test if something works. Try it, if things are OK after making the change, then the change should be made in the correct way so that it becomes permanent.

colorpurple21859 10-14-2013 11:36 AM

I know all that, not sure if this will work since Efi systems tend to be buggy and varies between manufactures.

aragorn0021 10-14-2013 05:50 PM

Tried thaat suggestion, didnt work. Option was added to the grub bootloader but selecting irt just flashes the screen black for a second then returns me to the grub bootloader. Thanks for your help though.

Any other suggestions?

Kind Regards
Aragorn0021

colorpurple21859 10-14-2013 06:53 PM

This line may be wrong set root='(hd0,gpt1)'
at the grub menu hit the c to get to the grub command line. What is the output of ls. Another option is there should be key that you can hit upon first turning on the computer to get a boot menu where you can select windows.

aragorn0021 10-14-2013 07:34 PM

Cant do that at the moment as i currently have no grub loader. I booted ubuntu 13.10 on usb and ran os-uninstall on my 13.04 installation, i then rebooted (still couldnt boot into windows) and ran boot-repair. Still cannot boot. Tried windows system repair disc and installation disc and they say they cant repair my version of windows. Currently i have rEFInd and it i click on the windows option it gives:

Starting bootmgfw.efi
Using load options ''
error: no such device: 8938c11b-c086-405a-8350-e29e122e9c86
grub rescue>


If i type ls in the grub rescue> i get:
(hd0) (hd1) (hd1,msdos6) (hd1,msdos5) (hd1,msdos1) (hd2)


Yes i can do the other option for booting by selecting the hdd that windows is installed on but i get this:

Windows failed to start. A Recent hardware or software change might be the cause. To fix the problem:

1. Insert your windows installation disc and restart your computer.
2. Choose your langugae settings, and then click next
3. Click "repair your computer."

Status: 0xc000000e

and when i use a load up the windows installation dish or a repair dish it gives me an error saying that my windows is a different version and it cant launch the startup repair options (even though its the same disc i installed windows with)

yancek 10-14-2013 09:16 PM

Quote:

error: no such device: 8938c11b-c086-405a-8350-e29e122e9c86
Boot Ubuntu and run the blkid command to verify that you have a partition with the uuid above which can't be found.


All times are GMT -5. The time now is 11:29 PM.