Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: No boot after uddate - grub prompt

  1. #21
    Join Date
    May 2008
    Beans
    4,352
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: No boot after uddate - grub prompt

    The first grub option displays a kernel with an unusual nomenclature - 6.5.0-342405280420-generic
    Where did it come from?

    We can arrange grub to priority boot 6.5.0-41 if you wish?

  2. #22
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    No idea where it came from. It's always been there since I had the problem. Maybe before - not sure.

    Oh, that would be great if we can boot that version.

  3. #23
    Join Date
    May 2008
    Beans
    4,352
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: No boot after uddate - grub prompt

    Grub counts from 0 hence GRUB_DEFAULT=0 is the first line of the Grub menu, which will boot the latest installed kernel.
    GRUB_DEFAULT="1>2"
    The 1 in blue is the second line of the Grub menu i.e. Advanced Options for Ubuntu.
    The 2 in red is the third option from the second line i.e the previous kernel.
    Don’t forget to run sudo update-grub after editing the file.
    Code:
    sudo nano /etc/default/grub
    Code:
    GRUB_DEFAULT="1>2"
    Code:
    sudo update-grub
    Also, you may wish to start a new thread with the object of deleting the unusual kernel.

  4. #24
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    Oh, I see, so it's trying to boot a version with a weird kernel increment.

    I changed the file -
    Code:
    GRUB_DEFAULT="1>2"
    GRUB_TIMEOUT_STYLE=menu
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    I also did this -

    Code:
    plex@Mini-PC:~$ sudo update-grub
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-6.5.0-342405280420-generic
    Found initrd image: /boot/initrd.img-6.5.0-342405280420-generic
    Found linux image: /boot/vmlinuz-6.5.0-41-generic
    Found initrd image: /boot/initrd.img-6.5.0-41-generic
    Found linux image: /boot/vmlinuz-6.5.0-35-generic
    Found initrd image: /boot/initrd.img-6.5.0-35-generic
    Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
    Warning: os-prober will be executed to detect other bootable partitions.
    Its output will be used to detect bootable binaries on them and create new boot entries.
    Adding boot menu entry for UEFI Firmware Settings ...
    done
    plex@Mini-PC:~$
    Restarted

    ...but it is still stopping at the grub prompt.

    Lee
    Last edited by leejenon; June 24th, 2024 at 09:53 PM.

  5. #25
    Join Date
    May 2008
    Beans
    4,352
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: No boot after uddate - grub prompt

    Is it the same malformed screen attached to post 16?

  6. #26
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    Yes

  7. #27
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    I am wondering if I create that other thread about those kernels. Remove them and set that attribute back to "0" it may help?

  8. #28
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    I have to go now. I'll get back on this tomorrow. Thanks for your time. Lee

  9. #29
    Join Date
    May 2008
    Beans
    4,352
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: No boot after uddate - grub prompt

    When you boot the PC and the malformed grub screen appears, hit the enter key.
    I hope that this will now boot into kernel 6.5.0-41-generic?

  10. #30
    Join Date
    Apr 2020
    Beans
    46

    Re: No boot after uddate - grub prompt

    I just read your reply and realised I didn't wait for the count down to finish. It then boots into 6.5.0-41.

    Thanks for all your help, I've learnt a lot today.

    Lee

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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