Glam Prestige Journal

Bright entertainment trends with youth appeal.

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?

8

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 /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?

1

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:

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy