jakeday / linux-surface

Linux Kernel for Surface Devices
2.6k stars 243 forks source link

[Ubuntu 19.10] Installing kernel after linux upgrade to 19.10 doesn't work #604

Open danieledavoli opened 4 years ago

danieledavoli commented 4 years ago

I've installed linux-surface some months ago and every works fine. Yesterday I upgraded my ubuntu distro to 19.10 version, then I reinstalled the linux-surface successfully but after the reboot nothing has changed. It looks like the ubuntu distro remains the same of the official one.

DQuanR2 commented 4 years ago

I´m not an expert at all in this topic. Let's see if I understood correctly. You upgraded from the 18.04 to 19.10 but after installing the new kernel is shows as if you were in the 18.04? Which kernel is running?

daddacorn2019 commented 4 years ago

I'm having the same issue I have installed all different Ubuntu flavor 19.10 and can't get the new kernel to work, I've tried using grub customizer but nomatter what once I'm supposed to reboot into the new kernel it doesn't do it and just reverts to the same default. Can anyone help figure this out please?

yokelpole commented 4 years ago

It seems that Ubuntu 19.10 having a newer kernel causes it to default to 5.3 even after running linux-surface's setup script.

I followed the steps @ https://unix.stackexchange.com/a/421650 and then booted using the Ubuntu, with Linux 5.1.15-surface-linux-surface entry under the Advanced options for Ubuntu menu in GRUB and everything seems to work now.

When you boot next GRUB'll default to the Advancted options for Ubuntu setting.

Probably not the best long-term solution since you still need to juggle GRUB on every boot, but it'll get you going again.

daddacorn2019 commented 4 years ago

Thank you so much I've been waiting a long time for some one to atleast hide me in a direction I appreciate it alot

daddacorn2019 commented 4 years ago

ok ive finally got it to work and im super new to this but for anyone who has found a better way please let me know but for now this works on Pop Os , pop os uses kernelstub instead of grub so i copied the new kernel to a folder in /boot/efi/EFI/newfolder both the vmlinuz and intrim surface files into that folder then i went to /boot/efi/loader/entries and modified the default pop os config so that it pointed to the new kernel in my newfolder i made. so now it makes it my default kernel. now im no expert by far at all and it took me alot of doing stuff i had no idea what i was doing but it works fine for me so i guess if it aint broke dont fix it, i hope this helps someone else. thank you everyone for your help

daddacorn2019 commented 4 years ago

I just tried your method on Ubuntu and I cannot for the life of me get it to boot into it can you give me a little guidance please

brunodrugowick commented 4 years ago

On Ubuntu 19.10 all I did on GRUB was this configuration /etc/default/grub: image

The link that helped me to update GRUB is https://askubuntu.com/questions/55551/how-can-i-force-ubuntu-to-boot-on-a-stuck-boot-menu/244752#244752.