An update on my previous post
I have now managed to ascertain that bootmgr is indeed in the 100 MB System Reserved partition. I hadn’t realised that, even though the Windows installation does not give this partition a drive letter, in order to view the contents in Windows Explorer and copy files to it all you have to do is go into Disk Management and assign a drive letter to it there. I therefore assigned the letter R to the partition, deleted the Ubuntu menu entry I had previously created, moved linux.bin to the root of the R partition, and ran a new set of bcdedit commands as follows:
Code:
C:\Windows\system32>bcdedit /create /d "Ubuntu 10.04" /application bootsector
The entry {66a21b30-62f1-11df-9194-d9f24e40b78f} was successfully created.
C:\Windows\system32>bcdedit /set {66a21b30-62f1-11df-9194-d9f24e40b78f} device boot
The operation completed successfully.
C:\Windows\system32>bcdedit /set {66a21b30-62f1-11df-9194-d9f24e40b78f} path \linux.bin
The operation completed successfully.
C:\Windows\system32>bcdedit /set {66a21b30-62f1-11df-9194-d9f24e40b78f} device partition=r:
The operation completed successfully.
C:\Windows\system32>bcdedit /displayorder {66a21b30-62f1-11df-9194-d9f24e40b78f} /addlast
The operation completed successfully.
Running bcdedit now gives the following:
Code:
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=R:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {66a21b2b-62f1-11df-9194-d9f24e40b78f}
displayorder {current}
{66a21b30-62f1-11df-9194-d9f24e40b78f}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {66a21b2d-62f1-11df-9194-d9f24e40b78f}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {66a21b2b-62f1-11df-9194-d9f24e40b78f}
nx OptIn
Real-mode Boot Sector
---------------------
identifier {66a21b30-62f1-11df-9194-d9f24e40b78f}
device partition=R:
path \linux.bin
description Ubuntu 10.04
I can still boot into Windows OK but selecting the Ubuntu entry in the Windows boot menu takes me to a black screen with a flashing white cursor just as it did before. I don’t know if it is because Ubuntu is on a separate hard drive from Windows which is causing the problem, whether something in Ubuntu’s Grub needs editing, or whether I have not carried out the bcdedit commands properly.