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:
- 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:
- 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:
Windows Boot Manager
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 language settings, and then click "Next." 3. Click "repair your computer." If you don't have this disc, contact your system administrator or computer manufacturer for assistance. File: \Boot\BCD Status: 0xc000000f Info: An error occurred while attempting to read the boot configuration data.
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).
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?