FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2016
    Location
    USA
    Posts
    8

    System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    Finally got around to doing an upgrade the other day. Went from FC24 to 26, and then 26 to 27.

    After upgrade everything works fine except that I can’t boot from the new kernels. Each upgrade installed a new kernel, my boot menu has 3 kernel options (plus a +Debug mode of each). A 4.11 left over from FC24, a 4.14 installed by FC26, and a newer 4.14 installed by FC27. Only the 4.11 will boot.

    At the Grub menu if I select the 4.11 option, I then get a password prompt to unlock my encrypted system volume. With the two 4.14 options, I get a black screen and nothing else. I don’t know if the issue is a problem with the boot loader or a video driver issue. My hardware is an Intel NUC with i7 processor. Video card is on chip.

    Not sure how to troubleshoot this, what should I look for?

  2. #2
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    589

    Re: System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    can you boot from a LIVE image in FC27 ? if so, then your computer should be compatible, which then takes you to level 2

    in level 2, I would boot from a live image, mount the root partition in /mnt and proceed to change the default.target (init level) to multi-user.target instead of graphical, and then go from there to level 3 if it boots.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  3. #3
    Join Date
    Jul 2016
    Location
    USA
    Posts
    8

    Re: System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    Quote Originally Posted by bobx001
    can you boot from a LIVE image in FC27 ? if so, then your computer should be compatible, which then takes you to level 2

    in level 2, I would boot from a live image, mount the root partition in /mnt and proceed to change the default.target (init level) to multi-user.target instead of graphical, and then go from there to level 3 if it boots.
    Ok, just booted the PC with a live FC27 image, and i am typing this post from inside it, so all is good there.

    Now as for the second part of your steps. It will take a bit of work for me to figure out how to do that, i am not at all good at linux.
    But i am not sure i need to do all of it. My "/" (root) and /home are a single partition inside an encrypted LVM. My /boot is outside in an unencrpyted partition. When my system is working, i would select my kernel and it would then pop up a password box for me to open the encrypted root. Since i am not getting that, the problem has to be inside /boot correct?

    Please forgive me if it seems like i am second guessing anyone. Again i am new, and just want to understand how this works a bit better.

  4. #4
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    589

    Re: System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    Opahh, I will have to relegate to someone used to LUKS.

    I have been bitten by that so many times, that what I do when I install a system, is to leave the /home partition alone, i.e. not adding it to the install.
    And I never encrypt the / partition, there is no need for that, since no user data will land there usually.

    once I have installed the system, I then go into a terminal, and type cd / ; mv /home /home.OLD ; mkdir /home
    then proceed to manually mount the encrypted partition into the new /home folder

    This gives me the all needed plausible-deniability at the airports, as when the machine boots, it does not ask me for any decrypt password, and the machine is always nice and clean for them to check.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  5. #5
    Join Date
    Jul 2016
    Location
    USA
    Posts
    8

    Re: System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    Thank you Bobx001

    I chose to encrypt both root and home together because i was worried about someone gaining physical access to the PC and installing some sort of virus. Maybe that's possible with just /boot access, not sure.

    But my feeling on my problem is that its the hand-off between Grub and whatever decrypts my LVM, so yes, a LUKS issue. Something i know nothing about.

  6. #6
    Join Date
    Jul 2016
    Location
    USA
    Posts
    8

    Re: System wont boot in newer kernels after upgrade from 24 – 26 and then 27

    Ok, update on what i have found out.

    So in grub i selected the FC27 kernel (4.14.11) and added "nomodeset" to the boot settings temporarily. This allowed it to boot to desktop (with reduced graphics capability, no multi-monitor support).

    So there is some problem with the graphics driver the kernel uses during boot. My graphics are Intel Iris 6100.
    So researching this I installed and tried to use the "INTELฎ GRAPHICS UPDATE TOOL FOR LINUX* OS V2.0.6".
    But sadly it doesnt support FC27, so then i found and ran the update manualy, see below =

    $ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    Last metadata expiration check: 0:59:03 ago on Tue 16 Jan 2018 09:22:40 PM CST.
    rpmfusion-free-release-27.noarch.rpm 24 kB/s | 20 kB 00:00
    Package rpmfusion-free-release-27-1.noarch is already installed, skipping.
    Dependencies resolved.
    Nothing to do.
    Complete!

    $ sudo dnf install intel-gpu-tools libva-intel-driver libva-utils libva mesa-libOSMesa cairo-gobject cairo mesa-dri-drivers mesa-filesystem mesa-libEGL mesa-libGL mesa-libGLES mesa-libgbm mesa-libglapi mesa-libwayland-egl mesa-libxatracker
    Last metadata expiration check: 0:59:23 ago on Tue 16 Jan 2018 09:22:40 PM CST.
    Package intel-gpu-tools-2.99.917-31.20171025.fc27.x86_64 is already installed, skipping.
    Package libva-intel-driver-1.8.3-2.fc27.x86_64 is already installed, skipping.
    Package libva-intel-driver-1.8.3-2.fc27.i686 is already installed, skipping.
    Package libva-utils-1.8.3-4.fc27.x86_64 is already installed, skipping.
    Package libva-1.8.3-3.fc27.x86_64 is already installed, skipping.
    Package libva-1.8.3-3.fc27.i686 is already installed, skipping.
    Package mesa-libOSMesa-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libOSMesa-17.2.4-2.fc27.i686 is already installed, skipping.
    Package cairo-gobject-1.15.10-1.fc27.x86_64 is already installed, skipping.
    Package cairo-gobject-1.15.10-1.fc27.i686 is already installed, skipping.
    Package cairo-1.15.10-1.fc27.x86_64 is already installed, skipping.
    Package cairo-1.15.10-1.fc27.i686 is already installed, skipping.
    Package mesa-dri-drivers-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-dri-drivers-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-filesystem-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-filesystem-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libEGL-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libEGL-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libGL-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libGL-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libGLES-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libgbm-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libgbm-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libglapi-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libglapi-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libwayland-egl-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Package mesa-libwayland-egl-17.2.4-2.fc27.i686 is already installed, skipping.
    Package mesa-libxatracker-17.2.4-2.fc27.x86_64 is already installed, skipping.
    Dependencies resolved.
    Nothing to do.
    Complete!


    So my files seem to be all up to date and properly installed. What should i look for next?

Similar Threads

  1. Upgrade failure from 17 -> 19, system wont boot, sad fedora face
    By iamscottevil in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 29th July 2013, 01:37 PM
  2. F18: newer kernels don't appear in grub
    By mps2006 in forum Using Fedora
    Replies: 6
    Last Post: 22nd February 2013, 03:06 PM
  3. No initrd with kernels newer than 2.6.33.6-147
    By jstafford in forum Using Fedora
    Replies: 2
    Last Post: 5th June 2011, 04:20 AM
  4. Newer Kernels appear to be buggy
    By ppesci in forum Using Fedora
    Replies: 1
    Last Post: 25th June 2008, 12:00 AM
  5. Newer kernels fail to load cups properly at boot
    By LaVacaLoca in forum Using Fedora
    Replies: 2
    Last Post: 25th June 2005, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •