1

Back in 2015, I got an Asus VivoPC-VM62N with Windows preinstalled. I ran gparted (gnu partition editor) on it, shrank the Windows partition, and used the freed-up space for several linux partitions plus swap. I installed Slackware 14.1x64 (current at that time) on one of the linux partitions, and it's been dual-booting fine between win and slack since then.

Now I've just installed Slackware 15.0x64 (actually slackware64-current, but it introduces itself as 15.0 on its Welcome screen) on one of the other linux partitions, with the intention of triple-booting among all three. But it apparently doesn't like those "threesomes":)...

Before writing a boot record, the Slackware install said it detected uefi, and asked if I'd rather write a slackware option on the uefi boot menu. I'd originally answered "yes" for the 14.1 install back in 2015, and that worked fine. And so that's what I did again during the 15.0 install.

But this time the install script then said it detected another slackware boot option, and asked if I wanted it deleted first, which is what it recommended. But I answered "no", intending to boot 14.1 and 15.0. So it proceeded, presumably as requested, but I noticed a very brief error message flash by, saying something like "duplicate block address" or something like that (sorry, not sure exactly).

When I rebooted after completing the install, I first pressed Del to enter setup, hoping to rearrange the boot priority selection. But there was only one Slackware option along with Windows, not the two Slackwares I'd hoped for. (place your bets now -- did it boot 14.1 or 15.0?)

And that one Slackware option booted 15.0 (winner, winner, chicken dinner:), which is now dual-booting fine along with Windows. But 14.1 seems inaccessible. The partition's still there, entirely undamaged, and can be mounted. Its /boot/efi/ and /boot/elilo stuff also seems to be all there and unchanged. But I can't figure out how to boot it.

Is there some way to "manually" add a boot-that-partition option to the uefi boot menu, and in such a way that setup recognizes it on its boot priority screen?

2
  • 1
    Yes, it's possible to do that manually. Please add the output of efibootmgr -v and tell us the partition (/dev/sdaX) of your Slackware 14.1 installation.
    – Freddy
    Apr 5, 2019 at 5:44
  • @Freddy Thanks. Don't know how I missed efibootmgr while trying to google a solution before posting, but I apparently managed to miss it. And I think I can figure the rest out from there. Post "efibootmgr" as a one-word answer, and I'll check it. (Maybe you can win a prize as shortest checked answer of the month.) Apr 5, 2019 at 7:26

2 Answers 2

2

If your partition is /dev/sda2, it should be a command like

efibootmgr --create --disk /dev/sda --part 2 --label "Slack14.1" --loader \\EFI\\Slackware\\elilo.efi
0
1

well, 3 years after this discussion, I learned this solution may depend upon the age of the computer and the UEFI bios in place. My reliable but older Dell Latitude will not recognize the first of 2 slackware entries added to the boot list even if the boot entry for it is deleted. Deleting the partition only crashes the first entry when booted.I don't want nor need anything but Slackware, so UEFI is pretty pointless for me.

3
  • sorry, I meant even if the second partition boot entry is deleted
    – Andrew
    Oct 8, 2022 at 3:40
  • it ALWAYS boots the second, even if it is not active or removed from the boot list.
    – Andrew
    Oct 8, 2022 at 3:41
  • Yeah, I found a solution to this, as follows. Look at your already-mounted boot/efi/EFI/ directory, and you'll see a Slackware/ directory, which controls what boots. Rename this to, say, Slackware_v1, or anything you like. Now install your second slackware, which will result in a new /boot/efi/EFI/Slackware/ directory. And that's what always boots now. When you again want to boot _v1, rename your new Slackware to, say, Slackware_v2, rename Slackware_v1 back to Slackware, and reboot. A bit cumbersome, but it works for me. Oct 8, 2022 at 5:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .