[SOLVED] Issues with UEFI on Dell Inspiron 14 3481
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,
I've in my hands a laptop on which I'm trying to install Slackware -current via usb, but I'm encountering some problems with UEFI.
The laptop is a Dell Inspiron 14 3000 (model 3481) originally shipped with Ubuntu 18.04:
CPU: i3-7020U 7th gen
RAM: 4GB
Storage: 1 TB 2.5" HDD
There is the possibility to switch to legacy mode only for external media.
This allowed me to start the installation procedure from usb.
I've recreated a GPT table from scratch and added three partitions:
EFI (code EF00): 100M
Swap: 4G
Root: the remaining space
When I start the installation, the EFI partition seems to be not recognized by the installer and at the end of the setup, if I skip LILO installation, it does not show me anything about ELILO.
When finished, after rebooting the system, the laptop doesn't find anything to boot.
I've also created an usb stick for boot, as suggested by Pat in the README_UEFI.TXT.
This allowed me to boot the system after reswitching from legacy to UEFI, if I remember correctly. That was the only time I was able to run Slackware.
What am I missing?
Thank you in advance for your time.
Cristiano.
Last edited by Cristiano Urban; 09-15-2019 at 07:55 AM.
There is the possibility to switch to legacy mode only for external media.
This allowed me to start the installation procedure from usb.
In order to install in UEFI mode you need to boot the installer in UEFI mode. Booting the installer in legacy mode will only give you and option to install lilo.
Quote:
I've recreated a GPT table from scratch and added three partitions:
EFI (code EF00): 100M
Swap: 4G
Root: the remaining space
Don't forget to format the EFI partition as FAT before running the installer.
Thank you for the reference, I will try it later if I don't find a quicker way to solve this issue in the meantime.
Quote:
Originally Posted by laprjns
In order to install in UEFI mode you need to boot the installer in UEFI mode. Booting the installer in legacy mode will only give you and option to install lilo.
When I tried to do this, at boot the system ran immediately the Dell assistant software.
Fortunately I can disable it (at the "SupportAssist System Resolution" voice), but now when I boot from usb I obtain the following output:
Code:
No bootable devices found.
Press F1 key to retry boot.
Press F2 key for setup utility.
Press F5 key to run onboard diagnostics.
Quote:
Originally Posted by laprjns
Don't forget to format the EFI partition as FAT before running the installer.
Already done it with mkfs.vfat /dev/sda1.
Last edited by Cristiano Urban; 09-15-2019 at 06:41 AM.
I've also created an usb stick for boot, as suggested by Pat in the README_UEFI.TXT.
This allowed me to boot the system after reswitching from legacy to UEFI, if I
with your system booted in efi mode, mount your efi partition to /boot/efi if not already mounted, run
Code:
eliloconfig
or
Code:
grub-install
depending on which bootloader your prefer. If you use grub will also have to run
Code:
grub-mkconfig -o /boot/grub/grub.cfg
If you use elilo will need to copy the new kernel and initrd.gz(if you use generic) from /boot to the slackware directory on the efi partition anytime there is a kernel update.
If your efi partition wasn't mounted at boot and you prefer it to be mounted at boot(optional), create an entry in your /etc/fstab to mount the efi partition during bootup.
Last edited by colorpurple21859; 09-15-2019 at 10:48 AM.
Ok, I think I've figured it out.
I made a stupid mistake, I suppose. Before flashing the .iso on the usb key, I used the isohybrid command without the --uefi option!
After reflashing the usb, the EFI partition has been detected and Slackware seems to have been installed correctly (with ELILO). Now I've only to learn how to manage elilo.conf when upgrading to a new kernel for example, since I've always used laptops in full legacy mode until now.
Elilo is blessedly simple to use. You simply edit elilo.conf with a new stanza for your new kernel. You can use an existing stanza as a model. Make sure your kernel and initrd are in the same directory as elilo (I think it's /boot/efi/EFI/Slackware).
There's a model message file in /usr/share/doc/elilo-3.16 which you can also copy into that directory to display a menu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.