Question Unable to install any OS but Windows?

Mar 1, 2020
4
0
10
I've been having this problem for about a week and it's super frustrating. I just got a new m.2 NVME, replacing my old 120gb SSD. I installed Windows on the m.2 and was going to install Ubuntu on the smaller drive.



Upon flashing the ISO to a 32gb USB stick in Windows using Etcher, Rufus, ventoy, etc. and trying to boot from the USB is when problems arise.



Most of the time there will be two partitions displayed for the USB when trying to boot to it from the BIOS. One will be named "SanDisk" and the other "UEFI: SanDisk". Booting from either does the same thing. Trying to boot will result in me being taken to the usual GNU screen where I have options like "Install Ubuntu", Safe Driver mode, etc. Selecting "Install Ubuntu" will take me to an all black terminal-style screen with typical command messages going across. Waiting typically results in an endless loop, getting stuck on "end Kernel panic - not syncing: corrupted stack end detected inside scheduler" pretty often. Sometimes it will boot to an all-black screen with the Ubuntu logo and my BIOS splash above it, but I've waited here for over 20 minutes before to no avail.



I've used two different USBs and even a USB HDD to try and do this but none of them work. I'm beginning to think something is horribly wrong with my Windows install or my BIOS settings that just aren't letting me install anything but Windows. I've installed Ubuntu successfully on this PC in the past, albeit it was before I got the m.2 so there could be something weird going on there.



Specs:

R5 3600 @ 3.6ghz

5700xt

b450 tomahawk pro

g.skill ripjaws v 2x8gb ddr4-3600 cl16
 
Can you check and followup with the version of BIOS you're currently on? See if AMD-V is enabled in BIOS as well. See if this helps as well.

I'm on version 7C02v36 of my BIOS. Just flashed a few weeks ago. AMD-V is disabled, as well as fast startup. I'll try out the steps in your link but I'm pretty sure I've already done all of that.
 
Can you check and followup with the version of BIOS you're currently on? See if AMD-V is enabled in BIOS as well. See if this helps as well.
Forgot to add that I do often get "iommu AMD-Vi event logged" where I get stuck. Enabling IOMMU and appending iommu=soft in the grub will make it so it quits getting stuck on the previously mentioned log, but instead spam thousands of messages per second that all seem to contain the same general information. It's going way too fast to actually read but it looks like the same few lines repeated over and over again. I can read the words "AMD GPU" "amd_iommu_v2"...

It does seem like this has something to do with my AMD parts. Starting to regret these purchases more with every incompatibility that pops up regarding them 😬

Edit: Some screenshots...

This is what happens most of the time. This is what happens when enabling CSM mode in BIOS. When doing it this way though it's the only time I ever see the purple Ubuntu screen, even though it immediately goes to this screen where it inevitably meets a fatal error.

Edit 2: Oh my gosh I think i finally fixed it. I appended "iommu=soft" at the end of the grub menu and it booted normally. Now I just have to find out if it'll boot normally upon restart or if I'm gonna have to do some magic to make it do iommu=soft every time.
 
Last edited: