[SOLVED] Downgrade Kernel in Ukuu

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
bingbong65
Level 1
Level 1
Posts: 6
Joined: Sun Feb 04, 2018 10:37 pm

[SOLVED] Downgrade Kernel in Ukuu

Post by bingbong65 » Sun Feb 04, 2018 10:45 pm

system specs https://gist.github.com/anonymous/79ca0 ... 1c374db811


I recently updated my LM Kernel using Ukuu, to 15.1 mainline. I can no longer passthrough my USB devices to my VM running windows using this kernel. I WAS on 15.0 RC-2. This was the only kernel that allowed my VM to work successfully. VM is setup with Virt Manager.

Unless anyone knows how to resolve my VM issue, I'd like to know how to revert back to the RC2 kernel. I've deleted the current kernel in ukuu and reinstalled RC2 then rebooted, but it still uses the 15.1 kernel.
Last edited by bingbong65 on Mon Feb 05, 2018 10:20 pm, edited 1 time in total.

User avatar
WharfRat
Level 20
Level 20
Posts: 11572
Joined: Thu Apr 07, 2011 8:15 pm

Re: Downgrade Kernel in Ukuu

Post by WharfRat » Sun Feb 04, 2018 11:49 pm

Hello bingbong65 Image

Welcome to Linux Mint and the Linux Mint forum :)

Never used Ukuu here and as a matter of fact I didn't know what it was until I googled it :?

In any event you need the kernel you want installed and the entry for it in grub.cfg.

I don't know if I can fix your problem, but if you paste back the following maybe someone here can be of some assistance.

ls -lh /boot/vmlinuz* and grep vmlinuz /boot/grub/grub.cfg
ImageImage

User avatar
phd21
Level 17
Level 17
Posts: 7016
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Downgrade Kernel in Ukuu

Post by phd21 » Sun Feb 04, 2018 11:50 pm

Hi "bingbong65",

Welcome to the wonderful world of Linux Mint and its excellent forum !

If you have installed a new kernel using any method and it does not work the way you want, just reboot into advanced options, select the previous kernel, then go into Ukuu or whatever application you used to update the kernel and remove the newer unwanted kernel. NEVER try to remove a kernel you are currently booted into.


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

bingbong65
Level 1
Level 1
Posts: 6
Joined: Sun Feb 04, 2018 10:37 pm

Re: Downgrade Kernel in Ukuu

Post by bingbong65 » Mon Feb 05, 2018 7:11 am

@phd21 im not sure how to boot into advanced. I've searched for it and tried multiple methods and can't get it to work. What would you advise?

@WharfRat I will try that tonight after work and report back. And thanks for the welcome!

User avatar
Moem
Level 16
Level 16
Posts: 6798
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Downgrade Kernel in Ukuu

Post by Moem » Mon Feb 05, 2018 7:47 am

What methods have you tried to boot into advanced options, and what happened? In what way is it not working?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
phd21
Level 17
Level 17
Posts: 7016
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Downgrade Kernel in Ukuu

Post by phd21 » Mon Feb 05, 2018 11:45 am

Hi "bingbong65",

If you do not see a boot menu to boot into Advanced Options, then hold down the left or right shift key, or the spacebar, or the Esc key while booting up your computer. It varies depending on the computer.

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

bingbong65
Level 1
Level 1
Posts: 6
Joined: Sun Feb 04, 2018 10:37 pm

Re: Downgrade Kernel in Ukuu

Post by bingbong65 » Mon Feb 05, 2018 10:02 pm

WharfRat wrote:...............
I don't know if I can fix your problem, but if you paste back the following maybe someone here can be of some assistance.

ls -lh /boot/vmlinuz* and grep vmlinuz /boot/grub/grub.cfg
ls -lh /boot/vmlinuz* yielded:

Code: Select all

-rw-r--r-- 1 root root 7.1M Nov 24 08:24 /boot/vmlinuz-4.10.0-38-generic
-rw------- 1 root root 8.3M Dec  3 12:39 /boot/vmlinuz-4.15.0-041500rc2-generic
-rw------- 1 root root 7.9M Feb  3 13:37 /boot/vmlinuz-4.15.1-041501-generic

rep vmlinuz /boot/grub/grub.cfg yielded:

Code: Select all

*** File error: No such file or directory, vmlinuz

bingbong65
Level 1
Level 1
Posts: 6
Joined: Sun Feb 04, 2018 10:37 pm

Re: Downgrade Kernel in Ukuu

Post by bingbong65 » Mon Feb 05, 2018 10:06 pm

Moem wrote:What methods have you tried to boot into advanced options, and what happened? In what way is it not working?

Various edits to the grub.cfg file ( sudo nano /etc/default/grub). In fact, a default grub file contents would be useful for me to cross check it with. This is my current grub config:

Code: Select all

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=1 iommu=pt  amd_iommu=on"
GRUB_CMDLINE_LINUX=""
The "iommu=1 and amd_iommu=on" are necessary for my VM where I use VFIO passthrough for my GPU (which is why I'm using ukuu for a different kernel bc it's necessary to make this work). The "iommu=pt" is necessary for my USB 3.0 ports to function.

The rest of it can be reverted or changed if necessary, as far as I know.

User avatar
WharfRat
Level 20
Level 20
Posts: 11572
Joined: Thu Apr 07, 2011 8:15 pm

Re: Downgrade Kernel in Ukuu

Post by WharfRat » Mon Feb 05, 2018 10:16 pm

*** File error: No such file or directory, vmlinuz
You might have made a mistake - copy the code and paste it in the terminal :wink:

Code: Select all

grep vmlinuz /boot/grub/grub.cfg
ImageImage

bingbong65
Level 1
Level 1
Posts: 6
Joined: Sun Feb 04, 2018 10:37 pm

Re: Downgrade Kernel in Ukuu

Post by bingbong65 » Mon Feb 05, 2018 10:21 pm

WharfRat wrote:
*** File error: No such file or directory, vmlinuz
You might have made a mistake - copy the code and paste it in the terminal :wink:

Code: Select all

grep vmlinuz /boot/grub/grub.cfg

I just wrote up my solved post as you submitted this. Here is the output of that while we're at it though:

Code: Select all

grep vmlinuz /boot/grub/grub.cfg
        linux	/boot/vmlinuz-4.15.0-041500rc2-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro  quiet splash iommu=1 iommu=pt  amd_iommu=on $vt_handoff
	        linux	/boot/vmlinuz-4.15.0-041500rc2-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro  quiet splash iommu=1 iommu=pt  amd_iommu=on $vt_handoff
	        linux	/boot/vmlinuz-4.15.0-041500rc2-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro  quiet splash iommu=1 iommu=pt  amd_iommu=on $vt_handoff init=/sbin/upstart
	        linux	/boot/vmlinuz-4.15.0-041500rc2-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro recovery nomodeset 
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro  quiet splash iommu=1 iommu=pt  amd_iommu=on $vt_handoff
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro  quiet splash iommu=1 iommu=pt  amd_iommu=on $vt_handoff init=/sbin/upstart
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=8be834c4-14c7-47ae-ac9d-dc3a3e19a552 ro recovery nomodeset 

Post Reply

Return to “Installation & Boot”