Jump to content

Q: How do I make this boot Windows from GRUB??

 

I have a dualboot system with Ubuntu and Windows 7 from two different drives. 

I would like to boot both from withing GRUB installed on the Ubuntu system, but for some reason Win7 is not found by the OS-PROBE and coding in an additional option (40_win) did not work.

 

My main error is from GRUB itself when I choose the option I coded in using a number of different resources:

 

a couple times:

"Secure Boot forbids loading module from (hd0, gpt2)/grub/x86_64-efi/..." ( each with a different module listed: ntfs, ntldr, and a couple more.)

"failure reading sector ****** from 'hd1'." (hd1 is an empty hard drive

 

Info:

GNU GRUB version 2.00-19ubuntu2.1

Ubuntu 14.10 that runs on an encrypted HDD (one of my guesses is that I cannot load kernel modules from the HDD)

Windows 7 SP1 using GPT (another problem, there is something about GPT and GRUB that apparently makes problems)

 

============================= Boot Info Summary: =============================== => Windows 7/8/2012 is installed in the MBR of /dev/sda. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb. => No boot loader is installed in the MBR of /dev/sdc. => No boot loader is installed in the MBR of /dev/sdd.sda1: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /bootmgr /Boot/BCDsda2: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:  Windows 7    Boot files:        /Windows/System32/winload.exe
sdc1: __________________________________________________________________________    File system:       vfat    Boot sector type:  FAT32    Boot sector info:  According to the info in the boot sector, sdc1 starts                        at sector 0. But according to the info from fdisk,                        sdc1 starts at sector 2048.    Operating System:      Boot files:        sdc2: __________________________________________________________________________    File system:       ext2    Boot sector type:  -    Boot sector info:     Operating System:      Boot files:        /grub/grub.cfgsdc3: __________________________________________________________________________    File system:       crypto_LUKS    Boot sector type:  Unknown    Boot sector info: sde: ___________________________________________________________________________    File system:       vfat    Boot sector type:  SYSLINUX 4.04 2011-04-18    Boot sector info:  Syslinux looks at sector 6229528 of /dev/sde for its                        second stage. SYSLINUX is installed in the  directory.                        No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg                        /EFI/BOOT/grubx64.efi /ldlinux.sys



			
		
Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/
Share on other sites

Link to post
Share on other sites

Q: How do I make this boot Windows from GRUB??

 

I have a dualboot system with Ubuntu and Windows 7 from two different drives. 

I would like to boot both from withing GRUB installed on the Ubuntu system, but for some reason Win7 is not found by the OS-PROBE and coding in an additional option (40_win) did not work.

 

My main error is from GRUB itself when I choose the option I coded in using a number of different resources:

 

Info:

GNU GRUB version 2.00-19ubuntu2.1

Ubuntu 14.10 that runs on an encrypted HDD (one of my guesses is that I cannot load kernel modules from the HDD)

Windows 7 SP1 using GPT (another problem, there is something about GPT and GRUB that apparently makes problems)

This is due to it being on two different drives I think

Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1472096
Share on other sites

Link to post
Share on other sites

(This is a repost with a different topic, as I don't know how to change the topic name)

Q: How do I make this boot Windows from GRUB??

 

I have a dualboot system with Ubuntu and Windows 7 from two different drives. 

I would like to boot both from withing GRUB installed on the Ubuntu system, but for some reason Win7 is not found by the OS-PROBE and coding in an additional option (40_win) did not work.

 

My main error is from GRUB itself when I choose the option I coded in using a number of different resources:

Quote

 

a couple times:

"Secure Boot forbids loading module from (hd0, gpt2)/grub/x86_64-efi/..." ( each with a different module listed: ntfs, ntldr, and a couple more.)

"failure reading sector ****** from 'hd1'." (hd1 is an empty hard drive

 

Info:

GNU GRUB version 2.00-19ubuntu2.1

Ubuntu 14.10 that runs on an encrypted HDD (one of my guesses is that I cannot load kernel modules from the HDD)

Windows 7 SP1 using GPT (another problem, there is something about GPT and GRUB that apparently makes problems)

 

Quote

============================= Boot Info Summary: =============================== => Windows 7/8/2012 is installed in the MBR of /dev/sda. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb. => No boot loader is installed in the MBR of /dev/sdc. => No boot loader is installed in the MBR of /dev/sdd.sda1: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /bootmgr /Boot/BCDsda2: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:  Windows 7    Boot files:        /Windows/System32/winload.exe
sdc1: __________________________________________________________________________    File system:       vfat    Boot sector type:  FAT32    Boot sector info:  According to the info in the boot sector, sdc1 starts                        at sector 0. But according to the info from fdisk,                        sdc1 starts at sector 2048.    Operating System:      Boot files:        sdc2: __________________________________________________________________________    File system:       ext2    Boot sector type:  -    Boot sector info:     Operating System:      Boot files:        /grub/grub.cfgsdc3: __________________________________________________________________________    File system:       crypto_LUKS    Boot sector type:  Unknown    Boot sector info: sde: ___________________________________________________________________________    File system:       vfat    Boot sector type:  SYSLINUX 4.04 2011-04-18    Boot sector info:  Syslinux looks at sector 6229528 of /dev/sde for its                        second stage. SYSLINUX is installed in the  directory.                        No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg                        /EFI/BOOT/grubx64.efi /ldlinux.sys
Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1475746
Share on other sites

Link to post
Share on other sites

No idea how to help you on your problem, but to change the topic title, click "Edit" under your post, then click "Use Full Editor". Then the Title will be edit-able above the post.

† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1475751
Share on other sites

Link to post
Share on other sites

I have used the grub bootloader to dual boot windows 7 and linux mint (basically ubuntu), even off of different hard drives and had no problems like this, it worked fine. When using the grub update command in linux it found windows 7 and worked. Maybe try to reinstall the grub packages off of the ubuntu repo???

 

Edit: If not, then my guess would be that the encryped hard drive is the problem.

Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1475762
Share on other sites

Link to post
Share on other sites

This is due to it being on two different drives I think

I don't think so, i had debian on one of my SSD's and Windows 8.1 on the other, however when i would boot into grub it would always give me an option of either OS without any configuration, but i guess that's debian perhaps ubuntu didn't install grub properly in his system.

Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1477511
Share on other sites

Link to post
Share on other sites

I don't think so, i had debian on one of my SSD's and Windows 8.1 on the other, however when i would boot into grub it would always give me an option of either OS without any configuration, but i guess that's debian perhaps ubuntu didn't install grub properly in his system.

Probably I was just speculating as i have never had two os on two different drives and tried to boot through grub

Link to comment
https://linustechtips.com/topic/110202-grub-vs-win7/#findComment-1477883
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×