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.
Hi all,
I have always used Slackware exclusively on my laptop, so installation has always been straightforward.
I installed Slack a while ago on my work PC to a separate drive, but it overwrote the UEFI for my Windows drive, not the same drive as I installed Slack to.
I'm wanting to replace Debian on my home PC with Slack, but am cautious as I have a similar setup(Windows on one drive, linux on the other).
At present, I have GRUB2 EFI on my second drive with my Linux install, and the Windows UEFI bootloader is untouched on the first drive.
Before I go messing with my setup, is there a way to ensure during Slack setup that it only installs EFI data to the drive on which I am installing it?
Sorry, I would just go and try it, but I rely on this PC for work at home.
Worse than that, you'll have 2 EFI partitions. I don't imagine that would lead to good things, but I haven't tested it myself.
That advice worked for MBR, but I wouldn't do it on UEFI with gpt.
I suspect you didn't over-write anything, but merely added a new entry to the NVRAM on the motherboard, which became the (new) default boot option.
Take the first one found initially (probably on /dev/sda, as it scans the devices beginning with this one in alphabetic order).
But if there is one on the same device as the root partition, prefer this one if different
Format this partition in FAT32 (if not already formatted).
Prepare a record for it in /etc/fstab that will be written at end of installation.
Later (during the CONFIGURE step) offer to skip running lilo and run elilo instead, if it detected that the firmware is in EFI mode and there is an EFI system partition set up (however you may install both, see below).
Then if you agreed to run elilo it actually runs the script /usr/sbin/eliloconfig that put the stuff needed for booting in the EFI system partition.
Some notes:
Theoretically (read: if the firmware complies to the UEFI specification) you can have several EFI system partitions, that the firmware will somehow "concatenate" to find the EFI images and applications.
Conversely you can have as many EFI images or applications that you want in the same EFI system partition.
You can and may choose to install both lilo and elilo. This doesn't hurt at all and allows you to boot in both EFI and legacy modes if you want.
Especially in case of multi-boot it can be handy to write a boot entry for Slackware in the firmware's boot menu (alongside the existing ones), which eliloconfig will propose you to do.
Last edited by Didier Spaier; 07-08-2017 at 04:39 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.