I dual installed Kubuntu on a computer with Windows 10, grub is on /dev/sda while the Windows boot manager is on /nvmesomethingsomething.
To install it, I had to set SATA from RAID to AHCI in the UEFI BIOS Setup. With SATA AHCI the boot of Kubuntu works. But when I try to boot into Windows, I get a BSOD with INACCESSIBLE_BOOT_DEVICE.
If in UEFI, and I select RAID instead of AHCI, I can boot into Windows, but Kubuntu's boot process results in me ending up in an initramfs terminal.
So I can get only one or the other, but never both working systems.
Is there any solution?
2 Answers
Probably you have to update your bootmanager, because, it points to disappearing path, that is:
- when Windows was installed in RAID mode, thus the bootmanager point to
/nvmebut when you switch to AHCI/nvmeis destroyed and replaced by something else. - in the same way, when you installed Kubuntu in AHCI mode, it was installed on
/dev/sdabut when you switch back to RAID, it is destroyed.
OT: why did you need to install Kubuntu without RAID?
1I ran into the same issue. When I was installing Ubuntu I switched RAID to AHCI. I followed internet article but my Windows stopped loading. Okay, I reinstalled Windows (it was clean) and then it was all right for about two months.
About two days ago I tried to switch Nvidia drivers in Ubuntu and did some updates. It worked well till evening. Next morning it loaded into initramfs console. Then I found out that with RAID setting I can use only Windows, Ubuntu loads in initramfs console. With AHCI I was able to run Ubuntu and Windows loads into blue screen INACCESSIBLE_BOOT_DEVICE. With RAID I wasn't able to see devices from LiveCD (so I was not able to install Ubuntu in RAID).
I solved the problem switching my Windows to AHCI mode. Solution is here:
In short,
- Run
cmdfrom administrator, bcdedit /set {current} safeboot minimal- Reboot
- Change RAID to AHCI in BIOS
- Start Windows (it will start in safe mode)
- Run
cmdfrom administrator, bcdedit /deletevalue {current} safeboot- Reboot.
- Profit!
Now my Windows 10 and Ubuntu 21.04 start well.