SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I backed up my main box today. I obviously should have gone nowhere near any pc in my present state, but it felt like any other day. When I tried to restart after, I got a mutinous and overbearing windows 11 as the default install and all other options deleted. I obviously am having a terrible day. We're under weather alerts with Storm Babet in this part of the world.
The box is running on a liveslak usb atm, and that has mokutil, but not the efi boot manager, which I have access on the nvme of the main box. The entry is still there in the EFI partition. I just need to import it again, as the BIOS seems not to have them as options. That probably means it's thrown out the key.
Can somebody point me at a howto, and the slackware key, or am I better going through the 15.0 install dvd process?
Last edited by business_kid; 10-20-2023 at 02:37 PM.
Ah Microsoft. Still pulling the same old stunts after ~30 years...
Does running eliloconfig from the liveslak USB help? Have you disabled "secure boot"?
Thank you all for the replies. I'm back running on my system now. Yes, @rkelsen M$ are still doing it for maybe 40 years!
My elilo.conf was there. If eliloconfig has some power over UEFI, I missed the significance of that advice, and went a longer road.
I have the XFCE Liveslak iso from December 2022, and efibootmgr wasn't there. If it had been there, it wouldn't be trivial to delete it.But I could access off the / drive without issues. Slackware was wiped out of the boot order.
So I burned a 15.0 install dvd, reinstalled the "A" packages, let the install usb set up elilo and am back able to boot the thing. I have overwritten stuff that I've updated, but if you remember what started this, I have a backup from yesterday . Wine still works the one program it needs to work. So this is solved.
I have an MSI B550M Bazooka m/b, and if memory serves, linux needs to be first in the boot order, at number 0000. But I'll sort that out, as well as updating glibc preferably with the Multilib version.
rEFInd has saved my bacon many times and there's enough info at the website to solve most EFI problems https://www.rodsbooks.com/refind/
if you are willing to study a bit. Microsoft does still specialize in $uckage but i have two
windows11 partitions in my box and some old and new linuces as a kind of toolbox.
Wine never helped me much, just gives me a headache.
So I burned a 15.0 install dvd, reinstalled the "A" packages, let the install usb set up elilo
If it happens again with a windows update(Imagine that}:
Assuming you ran setup, and selected not to format at the target stage, you can cancelled out of the source selection go straight to configure and skip/cancel out of the other items.
The other option is to manually mount the root partition to /mnt and the efi parition to /mnt/boot/efi, mount --bind /dev /proc /sys to /mnt/dev /mnt/proc /mnt/sys respectively, chroot /mnt and run eliloconfig
Last edited by colorpurple21859; 10-25-2023 at 05:45 AM.
The other option is to manually mount the root partition to /mnt and the efi parition to /mnt/boot/efi, mount --bind /dev /proc /sys to /mnt/dev /mnt/proc /mnt/sys respectively, chroot /mnt and run eliloconfig
that is a great one-line summary. having fell in that elilo trap multiple times, i have completed a cheat-sheet that you can correct of any typos. https://docs.slackware.com/howtos:sl...edia#chrooting
eliloconfig instead of manual files copying feel safer for me.
# This script installs the elilo boot loader, the kernel, and optionally
# an initrd into the EFI System Partition. A boot menu entry can also be
# installed using efibootmgr. The kernel used will be whatever the symlink
# /boot/vmlinuz points to, and if /boot/initrd.gz exists, that will be
# installed as the initrd.
#
# The EFI System Partition is expected to be mounted on /boot/efi before
# running this script.
that is a great one-line summary. having fell in that elilo trap multiple times, i have completed a cheat-sheet that you can correct of any typos. https://docs.slackware.com/howtos:sl...edia#chrooting
eliloconfig instead of manual files copying feel safer for me.
eliloconfig is not safer, it overwrites any changes to elilo.conf. It should only be used the first time and then copy the new kernel and initrd manually...that is the safer way.
Last edited by fourtysixandtwo; 10-26-2023 at 04:32 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.