LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2019, 02:47 AM   #1
Cristiano Urban
Member
 
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 76

Rep: Reputation: 10
Issues with UEFI on Dell Inspiron 14 3481


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.
 
Old 09-15-2019, 04:34 AM   #2
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Rep: Reputation: 12
look if this could help

https://www.linuxquestions.org/quest...6/#post5409238
 
Old 09-15-2019, 05:54 AM   #3
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by Cristiano Urban View Post
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.
 
Old 09-15-2019, 06:26 AM   #4
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
Often there is an option for adding trusted boot, i use this for grub.
 
Old 09-15-2019, 06:36 AM   #5
Cristiano Urban
Member
 
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 76

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by darkstar61
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.
 
Old 09-15-2019, 07:51 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,364

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
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.
 
1 members found this post helpful.
Old 09-15-2019, 07:55 AM   #7
Cristiano Urban
Member
 
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 76

Original Poster
Rep: Reputation: 10
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.
 
Old 09-15-2019, 10:32 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
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.
 
1 members found this post helpful.
Old 09-15-2019, 01:14 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Its pretty simple. Here is what mines look like, booting CloneZilla & Gparted from SSD for convenience, along with dual-booting Windows 7.

Code:
chooser=textmenu
f1=help.msg
f2=customization.msg
message=textmenu-message.msg
prompt
image=/EFI/Gparted/vmlinuz
  append="boot=live config union=overlay noswap live-media-path=/dmt/live toram=filesystem.squashfs vga=788"
  initrd=/EFI/Gparted/initrd.img
  label=1.0.0
  read-only
image=/EFI/Clone/vmlinuz
  append="boot=live config union=overlay noswap edd=on ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" ocs_live_batch=\"no\" live-media-path=/dsb/live toram=filesystem.squashfs vga=788"
  initrd=/EFI/Clone/initrd.img
  label=2.6.2
  read-only
image=/EFI/Slackware/vmlinuz-generic-4.19.72
  append="resume=/dev/sda6"
  initrd=/EFI/Slackware/initrd.gz
  label=4.19.72
  read-only
image=/EFI/Microsoft/Boot/bootmgfw.efi
  label=6.1.7601
  read-only

Last edited by PROBLEMCHYLD; 09-27-2019 at 09:52 PM.
 
1 members found this post helpful.
Old 09-15-2019, 03:46 PM   #10
Cristiano Urban
Member
 
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 76

Original Poster
Rep: Reputation: 10
Thank you all for your suggestions.

@hazel and @PROBLEMCHYLD: yes, it seems very simple, thank you for the hints!
 
Old 09-15-2019, 04:06 PM   #11
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Rep: Reputation: 12
plenty of usefull infos on (u)efi/legacy here

http://www.rodsbooks.com/efi-bootloaders/index.html

http://www.rodsbooks.com/refind/index.html

Last edited by darkstar61; 09-15-2019 at 04:09 PM.
 
1 members found this post helpful.
Old 09-16-2019, 01:31 AM   #12
Cristiano Urban
Member
 
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 76

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by darkstar61
Great! Thank you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PepperMint Linux: installed uefi but it is not uefi issues BW-userx Linux - Software 4 09-18-2018 07:26 PM
how to install linux on dell inspiron/windows 10 with uefi bios aal Linux - Hardware 0 04-09-2017 12:29 AM
Slackware64-current(>14.2): bug with UEFI install onto DELL Inspiron 14-3452 laptop ( eMMC 32GB drive ) from usb-stick image ckrzen Slackware - Installation 4 11-27-2016 08:24 AM
Cannot boot Mint usb while in UEFI mode, using Dell Inspiron 5548 laptop Creepy Linux - Newbie 14 11-07-2015 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration