Grub4dos Boot Windows 7
I am running Ubuntu 13.04 on my laptop (SSD drive) and recently bought another HDD (second drive) installed in place of CD-ROM. What I want to achieve, is to have Ubuntu as primary OS and ability to boot to Windows 7 ocasionaly.
My desired setup is this:
138 - Directly boot from a Windows 7/8/10 VHD file with grub4dos Chenall has written NTBOOT which allows us to boot to a Windows 7/8/10 VHD or VHDX file (fixed size type - not dynamic type). The VHD must be contiguous. 138 - Directly boot from a Windows 7/8/10 VHD file with grub4dos 139 - Install Windows 7 from a USB 3.0 port 140 - SysInfo2.hta - Collect system information and email it to anyone (VBScript). Sep 5, 2018 - kernel /live/vmlinuz-4.9.0-7-amd64 boot=live findiso=/debian.iso edd=off. Works and I was able to start a live from the Grub4Dos menu.
- hd0,0 - (Ubuntu mounted to /)
- hd1,0 - WINDOWS partition
- hd1,1 - DATA partition
Since now I don't have CDROM, I have to install Windows from some partition. I found a tutorial showing how to use Grub4Dos
to do that. So this is what I did:
How To Boot Windows 7 In Safe Mode
- Copied
grub.exe
to/
- Added custom entry to grub2 config in Ubuntu to be able to get into Grub4Dos while booting.
- Mounted my Win7 ISO to
/mnt
. Then copied all contents toDATA
partition (FAT32) using:cp -R /mnt/* /media/my_name/DATA
- Restarted machine and got into
Grub4Dos
- I then double checked that my unpacked ISO is available at
(hd1,1)
- it is. - Applied following:
root (hd1,1)
chainloader (hd1,1)/bootmgr
boot
After that some Windows exec starts (looks like Windows installer) and immediately it reports the problem as:
Grub4dos Windows 10
I looked for a solution online but all the resources are pointing me to Windows repair from CD, which I obviously do not have (no CD-ROM drive installed). Ps3 roms download.
I double checked that hd1,1
has /boot/bcd
folder and it does. So doesn't look corrupted.
Anyone has a clue what's going on?
1 Answer
To make disk bootable (with or without grub4dos) you have to write Windows 7 MBR and PBR and make partition active.
When using grub4dos you load bootmgr directly skipping boot records but bootBCD must be on active partition!
There are different tools which can write NT6 (Vista, Windows 7/8) boot records.Any disk management tool can make a partition active (parted - boot flag).
Grub4dos Boot Iso
The above statements are for BIOS firmware booting.
For UEFI booting you need ESP (EFI system partition) with Windows boot files placed there and corresponding boot entry in NVRAM.