Wednesday, February 4, 2015

Dualboot Windows Linux (Fedora) - Boot Problems



just installed Windows 10 on a seperate HDD on my home computer and ran into problems.



Till yesterday I was able to boot my Fedora system which was the only installed OS, now I installed Windows 10 to another drive and after a restart of the computer it brang up Windows 10 while sda where Fedora is installed was selected as first boot device. I booted up a Fedora LiveCD, reinstalled Grub on sda and was able to boot Fedora again. Grub shows an entry for Windows and after selecting it, it starts the Windows bootloader. But the windows bootloader gave me an error message, that files are missing.
After reinstalling the windows bootloader through the Windows installation CD command prompt (bootreq /fixboot und bootreq /fixmbr, only fixboot did not helped), windows is able to start but again no grub...



It is an old pc with a BIOS, no (U)EFI
I deactived hibernating in Windows, but it does not seem to help




How to solve this problem?



edit 2.3.16:
After reinstalling Grub and booting the Grub Windows entry the error message is as follows:
"error: no such device: F2F4A......
Setting partition type to 0x7
Press any key to continue"
continue ->
"Windows failed to start. A recent hardware or software change might be the cause. To fix the problem insert the windows disc [...]




File: \Boot\BCD
Info: The Boot Configuration Data for your PC is missing or contains errors."


Answer



Finally solved it!



sda got three partitions, sda1 is /boot from fedora, sda2 is a lvm partition with root and /home on it. sda3 is a ntfs share volume for using it in fedora and windows. sdb is only windows.
sda is used as primary boot option.
windows installed the executable bootloader files on the ntfs volume on sda3, but the configuration and all other windows files on sdb.
grub detected a windows installation on sdb and tried to boot from there, but some files were missing because they were installed on sda3.

Just changed the ID of the drive in my grub.conf to the ID from sda3 and it worked!


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...