Announcement

Collapse
No announcement yet.

Severe boot problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Severe boot problems

    Hello all,

    I am currently experiencing severe boot issues in my machine. After installing a usual update and rebooting as prompted, the system could not boot anymore. Now the only way to access Kubuntu 22.04 is after having loaded GRUB, then the recovery options and then boot, which boots without any graphic driver support but at least I can write this message. Any direct way of booting gets either hung in black, blinking cursor, "GRUB failed boot detection" or hung after "finished terminate plymouth boot screen". I have tried everything, even reinstalling GRUB several times but to no avail. The popular Rescue Disk utility refuses to work because it says it is in a legacy BIOS session but I cannot change this because the machine is from 2013 hence not UEFI capable. Here is the pastebin from the utility for context:

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    boot-repair-4ppa2075 [20240111_0030]

    ============================== Boot Info Summary ===============================

    => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
    of the same hard drive for core.img. core.img is at this location and
    looks for (,gpt3)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

    sda1: __________________________________________________ ________________________

    File system: BIOS Boot partition
    Boot sector type: Grub2's core.img
    Boot sector info:

    sda2: __________________________________________________ ________________________

    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
    /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
    /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

    sda3: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 22.04.3 LTS
    Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
    /boot/grub/i386-pc/core.img


    ================================ 1 OS detected =================================

    OS#1: The OS now in use - Ubuntu 22.04.3 LTS on sda3

    ================================ Host/Hardware =================================

    CPU architecture: 64-bit
    Video: GF119M [GeForce 410M] from NVIDIA Corporation
    BOOT_IMAGE of the installed session in use:
    /boot/vmlinuz-6.5.0-14-generic root=UUID=a58ecd0b-a532-4985-bfd9-5c63dc07f7ba ro recovery nomodeset dis_ucode_ldr
    df -Th / : /dev/sda3 ext4 916G 157G 713G 18% /

    ===================================== UEFI =====================================

    BIOS/UEFI firmware: R0200Z9(2.0) from INSYDE
    This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).



    ============================= Drive/Partition Info =============================

    Disks info: __________________________________________________ __________________

    sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes

    Partitions info (1/3): __________________________________________________ _______

    sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
    sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far

    Partitions info (2/3): __________________________________________________ _______

    sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
    sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

    Partitions info (3/3): __________________________________________________ _______

    sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
    sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda

    fdisk -l (filtered): __________________________________________________ _________

    Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk identifier: C0F4D323-D729-4E72-A6EA-864CFF23D287
    Start End Sectors Size Type
    sda1 2048 4095 2048 1M BIOS boot
    sda2 4096 1054719 1050624 513M EFI System
    sda3 1054720 1953523711 1952468992 931G Linux filesystem

    parted -lm (filtered): __________________________________________________ _______

    sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
    1:1049kB:2097kB:1049kB:::bios_grub;
    2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
    3:540MB:1000GB:1000GB:ext4::;

    blkid (filtered): __________________________________________________ ____________

    NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
    sda
    ├─sda1 e3782fbb-b2f9-4d8b-9c5f-edead14e4469
    ├─sda2 vfat 19D4-8197 17c3bd4d-055c-4cb0-b063-3822d2f328d0 EFI System Partition
    └─sda3 ext4 a58ecd0b-a532-4985-bfd9-5c63dc07f7ba 5ea4ecdb-8c49-4fc7-ad06-27cf9b3e1272

    Mount points (filtered): __________________________________________________ _____

    Avail Use% Mounted on
    /dev/sda3 712.5G 17% /

    Mount options (filtered): __________________________________________________ ____

    /dev/sda3 ext4 rw,relatime,errors=remount-ro

    ===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================

    search.fs_uuid a58ecd0b-a532-4985-bfd9-5c63dc07f7ba root hd0,gpt3
    set prefix=($root)'/boot/grub'
    configfile $prefix/grub.cfg

    ====================== sda3/boot/grub/grub.cfg (filtered) ======================

    Ubuntu a58ecd0b-a532-4985-bfd9-5c63dc07f7ba
    ### END /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_uefi-firmware ###

    ========================== sda3/etc/fstab (filtered) ===========================

    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda3 during installation
    UUID=a58ecd0b-a532-4985-bfd9-5c63dc07f7ba / ext4 errors=remount-ro 0 1
    # /boot/efi was on /dev/sda2 during installation
    UUID=19D4-8197 /boot/efi vfat umask=0077 0 1
    /swapfile none swap sw 0 0

    ======================= sda3/etc/default/grub (filtered) =======================

    GRUB_DEFAULT=0
    GRUB_TIMEOUT_STYLE=hidden
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""

    ==================== sda3: Location of files loaded by Grub ====================

    GiB - GB File Fragment(s)
    12,726093292 = 13,664538624 boot/grub/grub.cfg 1
    12,728054047 = 13,666643968 boot/grub/i386-pc/core.img 1
    573,367740631 = 615,648923648 boot/vmlinuz 2
    368,226715088 = 395,380424704 boot/vmlinuz-6.2.0-37-generic 2
    568,679840088 = 610,615328768 boot/vmlinuz-6.2.0-39-generic 2
    573,367740631 = 615,648923648 boot/vmlinuz-6.5.0-14-generic 2
    568,679840088 = 610,615328768 boot/vmlinuz.old 2
    64,367691040 = 69,114281984 boot/initrd.img 5
    736,502925873 = 790,813995008 boot/initrd.img-6.2.0-37-generic 7
    573,346675873 = 615,626305536 boot/initrd.img-6.2.0-39-generic 2
    64,367691040 = 69,114281984 boot/initrd.img-6.5.0-14-generic 5
    573,346675873 = 615,626305536 boot/initrd.img.old 2

    ===================== sda3: ls -l /etc/grub.d/ (filtered) ======================

    -rwxr-xr-x 1 root root 18683 Dez 2 2022 10_linux
    -rwxr-xr-x 1 root root 43031 Dez 2 2022 10_linux_zfs
    -rwxr-xr-x 1 root root 14387 Dez 18 2022 20_linux_xen
    -rwxr-xr-x 1 root root 13369 Dez 2 2022 30_os-prober
    -rwxr-xr-x 1 root root 1372 Dez 2 2022 30_uefi-firmware
    -rwxr-xr-x 1 root root 700 Sep 20 2022 35_fwupd
    -rwxr-xr-x 1 root root 214 Dez 2 2022 40_custom
    -rwxr-xr-x 1 root root 215 Dez 2 2022 41_custom



    Suggested repair: __________________________________________________ ____________

    The default repair of the Boot-Repair utility would reinstall the grub-efi of
    sda3,
    using the following options: sda2/boot/efi
    Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

    Blockers in case of suggested repair: __________________________________________

    The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

    Final advice in case of suggested repair: ______________________________________

    Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 22.04.3 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
    The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    This is a bit of a cry for help because this is not my main machine but one I use daily and still has a lot of packages intalled and configured that I really don't want to loose by doing a clean reinstall of Kubuntu, I really don't know what to do. Any help is greatly appreciated!

    #2
    I'm having the same issue. I updated the system today and now it won't boot.
    I noticed our machines both have Nvidia GPUs, I wonder if that has something to do with it?

    Comment


      #3
      Originally posted by jkolar89 View Post
      I'm having the same issue. I updated the system today and now it won't boot.
      I noticed our machines both have Nvidia GPUs, I wonder if that has something to do with it?
      I tried reinstalling the drivers but messed it up and now it is a dependency hell, I would be fine with the xorg defaults, it's just I think the kernel is cooked, and I really, really don't want to reinstall and loose my packages and configurations, it took me a long time to build them.

      Comment


        #4
        Same problem.

        Operating System: Kubuntu 22.04
        KDE Plasma Version: 5.24.7
        KDE Frameworks Version: 5.92.0
        Qt Version: 5.15.3
        Kernel Version: 6.5.0-14-generic (64-bit)
        Graphics Platform: X11
        Graphics Processor: NVD9

        The proprietary driver (nvidia-driver-390) of my (old) NVidia card is not supported by this new kernel (6.5.0-14-generic). I spent a lot of time before finding this solution :

        Using GRUB, launch : 6.5.0-14-generic (recovery mode).

        Terminal :

        sudo apt autoremove nvidia* --purge

        Reboot and bingo. Now my system use Nouveau display driver.

        Next step : buying an AMD Graphic card once and for all...

        Comment

        Working...
        X