I have had a triple-boot installation of Ubuntu-Windows 7-Windows 8. Once I decided that Windows 8 was the way to go and needed the space, I decided to delete the Windows 7 partition.
When I did it, I couldn't boot Windows 8, which meant the bootloader had been deleted. Installing the bootloader on the Windows 8 partition didn't solve it (it was on an extended partition, I am guessing why) so I decided to copy it to the partition where Windows 7 was installed.
After creating a custom grub entry (listed below) it then happily booted, but with a catch: it boot the EXTENDED partition. This meant I had an oversized boot partition where Windows 7 used to live, booting a Windows 8 partition with little space.
Now I want to completely remove the extended partition, but before doing it, I want to make sure I am able to boot the new partition. I have failed so far: tried rebuilding the BCD and fixbooting, even with the proper volume selected on diskpart, to no avail.
What am I doing wrong?
Grub entry:
menuentry "Windows 8 - Fixed Entry" {
set root='(hd0,msdos2)'
ntldr /bootmgr
}
EDIT: Okay, some new developments: turns out the rebuild bcd command did actually do something, which was to add a new boot entry to the NTLDR, which booted the proper partition.
Problem is this new partition didn't function properly, and upon inspecting event logs, I suspected the problems came from the fact that the system partition was now D:, and not C:.
When I tried changing the old partition's letter, however, everything broke: it seems that even by booting the OS in the right partition, everything inside pointed to the old one.
I didn't manage to change the new partition's volume letter to C:, however, so is that possible to do from the recovery console?