You are not logged in.

#1 2017-06-09 18:50:28

glenn69
Member
Registered: 2007-09-26
Posts: 125

[SOLVED] Which bootloader do I have?

I am interested in changing my kernel to LTS however I am not certain which bootloader I am using.

How do I determine my bootloader?

Last edited by glenn69 (2017-06-09 22:15:22)

Offline

#2 2017-06-09 19:01:24

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Which bootloader do I have?

What are the contents of your /boot folder/partition?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-06-09 19:02:27

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: [SOLVED] Which bootloader do I have?

/boot/ contents:
EFI  initramfs-linux-fallback.img  initramfs-linux.img  initramfs-linux-lts-fallback.img  initramfs-linux-lts.img  loader  syslinux  vmlinuz-linux  vmlinuz-linux-lts

in /boot/EFI
Boot  gummiboot

Last edited by glenn69 (2017-06-09 19:15:53)

Offline

#4 2017-06-09 19:53:32

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Which bootloader do I have?

Can we see the output of:

# efibootmgr -v

You're probably using gummiboot (now called systemd-boot) but that command will show for sure.


Jin, Jîyan, Azadî

Offline

#5 2017-06-09 20:23:47

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Which bootloader do I have?

glenn69 wrote:

/boot/ contents:
EFI  initramfs-linux-fallback.img  initramfs-linux.img  initramfs-linux-lts-fallback.img  initramfs-linux-lts.img  loader  syslinux  vmlinuz-linux  vmlinuz-linux-lts

in /boot/EFI
Boot  gummiboot

I assume Head_on_a_Stick is right and you are using gummiboot.

You will find a text file for your current kernel in /boot/loader/entries/. To add a second menu entry for the LTS kernel, you make a copy of that file, then edit that copy changing the file names used inside it and changing the title. The file-names you get by looking at the contents of /boot after installing the linux-lts package.

Then later, hold down space-bar on the next boot. Gummiboot will then show its menu. You can then select the entry you created for the LTS kernel in that menu. You can press "d" to change the default entry to your current selection in that menu.

That gummiboot loader you are using was added to systemd and was renamed to systemd-boot. I guess you still have the a gummiboot package installed? If you wanted to, you could remove it and change the loader to systemd-boot. To make systemd-boot write its boot loader file into /boot, you run "sudo bootctl install". It is a very simple bootloader and I guess there's no need to replace it as probably nothing important changed between gummiboot and systemd-boot, so you could just keep everything like it is right now.

Last edited by Ropid (2017-06-09 20:24:25)

Offline

#6 2017-06-09 22:16:40

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: [SOLVED] Which bootloader do I have?

Ropid wrote:

I assume Head_on_a_Stick is right and you are using gummiboot.

You will find a text file for your current kernel in /boot/loader/entries/. To add a second menu entry for the LTS kernel, you make a copy of that file, then edit that copy changing the file names used inside it and changing the title. The file-names you get by looking at the contents of /boot after installing the linux-lts package.

Then later, hold down space-bar on the next boot. Gummiboot will then show its menu. You can then select the entry you created for the LTS kernel in that menu. You can press "d" to change the default entry to your current selection in that menu.

That gummiboot loader you are using was added to systemd and was renamed to systemd-boot. I guess you still have the a gummiboot package installed? If you wanted to, you could remove it and change the loader to systemd-boot. To make systemd-boot write its boot loader file into /boot, you run "sudo bootctl install". It is a very simple bootloader and I guess there's no need to replace it as probably nothing important changed between gummiboot and systemd-boot, so you could just keep everything like it is right now.

This solution worked perfectly.  Thanks!

Offline

Board footer

Powered by FluxBB