I have the following problem:
I have a system with a single hard disk, partitioned into 3 partitions:
- Windows XP
- Windows 8.1
- an empty ext3 partition.
- an additional logical 4 GB partition reserved for swap space
The system worked and I could dual boot between WinXp and Win8.1. (originally there was only WinXp, and I partitioned the drive as depicted above during the installation of Win8.1, as a preparation to later install Linux as well) Before you question it, I need both WinXp and Windows8.1 for development purposes.
After all the above worked correctly, I tried to install Debian from the most current installation DVD.
The installation onto the third partition seemed to be successful. When prompting to install GRUB, however, instead of detecting WinXP and Win8.1, it detected only "Windows Vista" (huh?) and prompted me that it will either install Grub onto the MBR, or if I didn't see all the operating systems, I should configure it manually.
I chose manual configuration, but instead of seeing a list of partitions and OS's I could only see a list of hard drives. As I have only one hard drive, it was the only element in the list. I selected it, and the installation completed while reporting success.
However, now that the system restarted (with me removing the DVD when prompted to do so), it fails to boot anything. "No operating system found".
I booted up the installation DVD, and entered rescue mode. However, even rescue mode seems to be completely the same as the normal installer mode. After having to go through the language selections, I hit Esc, and got to a menu depicting the steps including the installation of grub. (interestingly, it wanted to install the whole Debian again, but I managed to skip it and now I'm offered the same choice again)
The following operating systems have been detected on this computer: Windows Vista (loader)
If all your operating systems are listed above, then it should be safe to install the boot loader to the master boot record of your first hard drive. /* ... */
Install the GRUB boot loader to the master boot record?
The ideal outcome would be to have a boot loader which allows me to select between WinXp, Win8.1 and Debian. Is that possible? How?
What happens if I install GRUB on the MBR? I would expect (and hope), that when I boot up the machine, GRUB will allow me to choose between "Windows Vista" and Debian, and if I choose "Vista" I'll land on the boot loader of Win8.1 where I can make the choice between WinXp and Win8.1. Is this assumption correct? This would be an acceptable (although less preferred) alternative to the "all 3 OSs selectable from the same boot loader"
I've read on several forums that it's completely normal for different versions of Windows to be detected as "Vista" and they still should work, so I decided to choose "OK" for the installation of GRUB onto the MBR. However, it still asked me to specify a path. No matter what I choose (
/dev/sda3 for my Linux partition) it ends with "Executing grub-install failed. This is a fatal error."
Checking the console, it says
grub-install: error: failed to get canonical path of '/dev/sda'.