• Can't boot with LTS Kernel


    Hey

    I installed antergos after windows 10, both uefi.
    After install, it kept booting on windows so I had to mess with /boot/ a bit.
    Now I have Antergos and windows in antergos grub at boot ; it’s all good.

    I used grub-customizer to add kernel LTS in main grub menu. When I try to boot on it, it goes to grub again (loop).

    Normal antergos boot still works well.
    linux, linux-lts, linux-kernel and linux-lts-kernel are up to date.

    I don’t know if should post all the content of /boot/ to get help.

    ty

  • @RandomDude
    You could write a new file /boot/grub/custom.cfg with the following contents:

    menuentry "Antergos LTS" {
        savedefault
        search --set --no-floppy --file /boot/vmlinuz-linux-lts
        probe -l $root --set=volumelabel
        linux  /boot/vmlinuz-linux-lts root=LABEL=$volumelabel rw quiet
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
    }
    

    Then reboot, and you should see a new entry in the boot menu, select that.

    EDIT: you could show the output of command

    ls -la /boot/
    

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @manuel

    thanks for answering.
    Using your custom grub entry gives:
    https://imgur.com/a/OMZP3

    ls -la /boot
    

    gives:

    drwxr-xr-x  4 root root     4096 Jan 12 21:17 ./
    drwxr-xr-x 17 root root     4096 Jan 12 13:48 ../
    drwxr-xr-x  4 root root     1024 Jan  1  1970 efi/
    drwxr-xr-x  6 root root     4096 Jan 12 23:53 grub/
    -rw-r--r--  1 root root 27214231 Jan 12 13:51 initramfs-linux-fallback.img
    -rw-r--r--  1 root root  7243594 Jan 12 13:51 initramfs-linux.img
    -rw-r--r--  1 root root 23149165 Jan 12 21:17 initramfs-linux-lts-fallback.img
    -rw-r--r--  1 root root  7017538 Jan 12 21:17 initramfs-linux-lts.img
    -rw-r--r--  1 root root  1614336 Jan 10 09:53 intel-ucode.img
    -rw-r--r--  1 root root  4769552 Jan 10 12:18 vmlinuz-linux
    -rw-r--r--  1 root root  4831520 Jan 10 16:16 vmlinuz-linux-lts
    
  • @RandomDude
    Strange, it works for me. But you could modify the file:

    menuentry "Antergos LTS" {
        savedefault
        set uuid=<UUID-OF-YOUR-ANTERGOS-ROOT-PARTITION>
        search --set --no-floppy --fs-uuid $uuid
        linux  /boot/vmlinuz-linux-lts root=UUID=$uuid rw quiet
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
    }
    

    You’ll find the UUID with command:

    blkid
    

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @RandomDude

    linux, linux-lts, linux-kernel and linux-lts-kernel are up to date.

    What do you mean by linux-kernel and linux-lts-kernel? There are no such packages.
    Probably you meant linux-headers and linux-lts-headers? They should be installed.

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @manuel Yes I meant that haha my bad.

    I used your last custom.cfg. It made me unable to boot antergos and antergos lts (frozen computer when selected in grub). I booted on usb and removed the file.

  • @RandomDude
    Could you show the contents of /boot/grub/grub.cfg?
    And the result of:

    ls -la /boot/grub
    

    I’ve never used grub-customizer so I don’t know exactly what it writes to grub.cfg.

    And by the way, file /boot/grub/custom.cfg does nothing if you don’t use it (i.e. select its entries). It is just the preferred way of making custom entries in the boot menu.

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @manuel

    /boot/grub

    drwxr-xr-x 6 root root  4096 Jan 13 00:39 ./
    drwxr-xr-x 4 root root  4096 Jan 12 21:17 ../
    drwxr-xr-x 2 root root  4096 Jan 12 13:52 fonts/
    -rw------- 1 root root  8317 Jan 12 14:19 grub.cfg
    -rw------- 1 root root  4332 Jan 12 13:50 grub.cfg.example
    -rw-r--r-- 1 root root  1024 Jan 12 13:52 grubenv
    drwxr-xr-x 2 root root  4096 Jan 12 13:52 locale/
    drwxr-xr-x 4 root root  4096 Jan 12 13:52 themes/
    -rw-r--r-- 1 root root   150 Jan 12 14:15 unicode.pf2
    drwxr-xr-x 2 root root 12288 Jan 12 13:52 x86_64-efi/
    

    /boot/grub/grub.cfg
    https://pastebin.com/zT2fVpFG

  • @RandomDude

    The grub.cfg seems to be OK by a quick look, so it should be able to boot LTS kernel, too.

    But maybe you should re-install packages linux-lts and linux-lts-headers and re-generate grub.cfg with commands:

    pacman -S linux-lts linux-lts-headers
    grub-mkconfig -o /boot/grub/grub.cfg
    

    Try if that helps.

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @manuel Hey, I now can boot LTS kernel. I still don’t know what was wrong. Thank you

  • @RandomDude
    Did you reinstall or update anything? Or just reboot? 😉

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • @manuel I did what you said (reinstall linux-ts & linux-lts-headers and regenerate grub.cfg), then rebooted. It fixed it 🙂

boot236 kernel106 lts12 Posts 12Views 594
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.