4

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?

zx485
  • 2,865
Gillian
  • 141

2 Answers2

1

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 /nvme but when you switch to AHCI /nvme is destroyed and replaced by something else.
  • in the same way, when you installed Kubuntu in AHCI mode, it was installed on /dev/sda but when you switch back to RAID, it is destroyed.

OT: why did you need to install Kubuntu without RAID?

0

I 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: http://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/

In short,

  1. Run cmd from administrator,
  2. bcdedit /set {current} safeboot minimal
  3. Reboot
  4. Change RAID to AHCI in BIOS
  5. Start Windows (it will start in safe mode)
  6. Run cmd from administrator,
  7. bcdedit /deletevalue {current} safeboot
  8. Reboot.
  9. Profit!

Now my Windows 10 and Ubuntu 21.04 start well.

egvo
  • 101
  • 1