Custom Ubuntu Distro For Ryzen Installations

Hello there,
I am having trouble installing any Linux distro on my new Ryzen 1700 build and a lot of the internet talks about needing the 4.10 or 4.11 kernels. From what I have seen people have installed Ubuntu on one machine using legacy rather than UEFI, upgraded the kernel to a later version, and then physically moved the drive to the Ryzen based machine.

Is it easy enough to make this simpler for everyone and create a custom Linux ISO for installation that is just basic Ubuntu Server/Desktop 16.04 or 16.10, with the only difference being that it comes with the 4.11 or 4.10 kernel?

2 Likes

I've installed Linux Mint 18.1 MATE, (With UEFI) on my Ryzen build, without any problems, except LAN not working out of the box

On the Biostar x370GT5

Though i had to upgrade BIOS for memory compatibility issues.

I always thought Ryzen worked on older kernels, just not well.

So all one needs to do is upgrade the kernel after the install.

I say always thought because I don't have a Ryzen and this is what I had read.

I don't know whats wrong with my build but I tried loads of distros last night and couldn't get anything to work even after updating my bios on the asus b350-plus motherboard, and trying things like disabling the networking and turning VT-off. I am running 2x 16gb corsair vengeance 3000mhz ddr4 memory but at 2133 when looking at the motherboard bios.

Anyone know how to roll a custom ubuntu ISO with a later kernel?

I have that same motherboard, but slower Corsair memory. I just finished installing Ubuntu 16.10 no problems. I am on mostly stock settings.

Check your BIOS settings, either reset to default settings or do a reset of CMOS and try again

@Bruger, I did both of those last night, I cleared cmos then updated the firmware.

I'm going to try plugging in a different graphics card tonight, if that fails, I will do the whole move the drive to another computer shenanigans.

You have to probably manually set the trusted execution binary to the shim file of ubuntu in UEFI. A lot of people don't know about this and set the boot mode to legacy to evade that, but that also means that UEFI device functionality is out, so it's not really a reliable solution, plus you would want the extra security of secure boot, because it actually is a security bonus in linux to a certain extent.

Also, if you try to install a version with non-free software on it, it won't install first time with secure bott enabled, you need to install those afterwards, after installing only free software. The reason is that non-free software can't be signed.

1 Like

@kingybear what wasn't stock settings? How did you install? Through usb, or a CD or other? Did you install the server or desktop or mini.iso edition?

I tried setting the memory clock speed to 2133 and 2400, but with both when it rebooted it said the overclock failed. I ran a quick memtest, and that came back fine.

This was a really dumb mistake, but one of the DIMMS was not properly fitted. I still get those error messages flash past not, but I get past it and into the installation.

2 Likes

I have had a lot of issues installing Linux on my 1700 system that I believe may be an issue with my motherboard which is an ASUS PRIME B350M-A, I used Fedora 25 on kernel 4.9.14-200. Basically, the only method that works is installing Fedora on the Ryzen system first which will hang at boot-up and then reinstall Fedora over the initial install on another working system but keep the EFI unchanged and swap the drives over and it should boot and not hang. The reason I had to install Fedora on Ryzen first and not just do the full install on another system is that it will not list a boot device in this cases even though secure boot is disabled.

In this state the system works fine even on kernel 4.9, I have used the 4.11 rawhide kernel on this system but it is unstable and I'm unable to get it to play nice with my graphics card. Also I believe some of my issues (hanging on boot) may have something to do with xorg or wayland as the current kernel version I am using would hang on bootup until I installed the nvidia drivers but still works now even if I remove them which leads me to believe it may be wayland that was causing it but that is just speculation at this point.

bump
Got a Ryzen 7 1700
8 Gigs of ddr4 ram 2133Mhz
Rx460
Asus prime b350-plus

I cant install ubuntu 17.04 as the installer crashes when you get to the partition managing page.
I tried moving the drive over with a working install but that also was unsuccessful.

I also got the latest bios
Anything im doing wrong?

Ubuntu is proabably not the ideal distro for the "newest" hardware. That said, what are you seeing when the "installer crashes?"

I can find out, whats a better Distro should I be using fedora?

edit
radeon 0000:22:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
radeon 0000:22:00.0: failed VCE resume (-100).

I believe the majority here are on fedora or arch or some variant of. I could be wrong though. I still use Ubuntu for most every install I do myself so I cant really be the one to give you advice on which one is going to work better. Have you tried using the ubuntu-server install? I dont use AMD hardware much, nor do I have any experience with Radeons.

Edit: I think your issue might be related to needing the AMDGPU driver which could be installed after the fact via terminal. Again, no experience, I could be talking out of my ass.

Definitely possible, I have seen errors similar to that with my rx460, but im currently using the r7-240 which shouldent have it but this issue is so bizarre to me.

Your talking out your ass as you put it :stuck_out_tongue:
However I'm completely unfamiliar with Ubuntu these days. But the amdgpu driver is in the kernel, no driver installs required. You do need a newer kernel though.

You probably need a newer kernel for ryzen as well.

I'm not sure what Ubuntu has.

Your part right on the distro choice btw. Most people are using fedora, Ubuntu (non vanilla variant) or arch.

1 Like

Im fairly sure mesa 17 is installed by default with 17.04 and you will have to get amdgpu driver from amd's official website

I figured I was wrong in some way but I'll be damned if I dont at least try.

1 Like

Fedora installer doesnt work, gonna try installing it on other pc first :l