Slackware14.1 UEFI/GPT installation on HP Slimline does not boot
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
You shouldn't mount /dev/sda1 as /boot/efi but instead mount /dev/sda3 as /mnt. In other words just tell "setup" that your root partition is /dev/sda3 when asked. It should find the EFI partition on /dev/sda1 then.
I ran the installation setup again with only Y package selected and observed on tty2.
Initially the installation program identified my machine as UEFI and itself mounted sda1 at /boot/efi.
However when it came to the configuration part it followed the classic route of lilo/MBR.
This is what happened fist time and this is my first expirience of UEFI.
I did not see the eliloconfig efibootmanager screens that I saw when running eliloconfig from command line.
Over the weekend I was reading through the installation scripts.
Makes for interesting reading.
On the installation disk usr/lib/setup/SeTEFI does pick up that my machine is EFI.
I was never offered the choise of making a file system though.
There is some kind of file system test which probably failed because of the ntfs from the previous installation.
After installation of the packages the scripts in the installation
$T_PX/var/log/setup are used.
While I can see scripts for lilo and elilo I can not see where the switch is.
Here is my as installed sda1/EFI/Slackware/elilo.conf
While I can see scripts for lilo and elilo I can not see where the switch is.
In /sbin/liloconfig:
Code:
if [ -d /sys/firmware/efi ]; then
Pat named the script for elilo "setup.ll.eliloconfig" instead of "setup.elilo.config" so that setup.liloconfig runs first, I think.
Quote:
Originally Posted by jowa45
There is some kind of file system test which probably failed because of the ntfs from the previous installation.
Yes, the test is in /usr/sbin/eliloconfig:
Code:
# If there's no vfat mounted on /boot/efi or /mnt/boot/efi, forget it:
if ! mount | grep vfat | grep -wq /boot/efi ; then
if ! mount | grep vfat | grep -wq /mnt/boot/efi ; then
if [ "$T_PX" = "/" ]; then
echo "ERROR: No EFI System Partition mounted on /boot/efi."
fi
exit
fi
fi
Following #19
When I run eliloconf it just exits without error message or dialog box.
From eliloconf:-
Quote:
# Are we on the installer image?
if [ -r /usr/lib/setup/SeTpartitions ]; then
T_PX=/mnt
I am on the installer image so T_PX=/mnt
Quote:
# If the system is not running under EFI, skip running this script:
if [ ! -d /sys/firmware/efi ]; then
if [ "$T_PX" = "/" ]; then
echo "ERROR: System is not running under UEFI."
fi
exit
fi
I do not have a /sys/firmware/efi so the script exits without an error message.
My next endevour is to get a /sys/firmware/efi.
Glad for any help.
I do not have a /sys/firmware/efi so the script exits without an error message.
My next endevour is to get a /sys/firmware/efi.
No. This file is created automatically if an UEFI firmware is detected. So if it's not there you should instead just check that your machine's firmware is an UEFI one not BIOS, or if it is hybrid (as is my laptop), check in the Startup or Boot menu of the firmware if it is set to use the UEFI mode (either exclusively or preferably).
What puzzles me though is that in your initial post you stated "The 64 bit installation disk recognized my machine as UEFI and gave no choice" as that seems inconsistent with my assumption that your machine did boot in BIOS mode.
Did you see a GRUB screen at boot? If yes could you check again what gives "ls -l /sys/firmware" as soon as logged in the installer?
I can boot the CDROM as UEFI or legacy.
Whichever I put first.
Booting as UEFI gives an efi entry and legacy does not.
I did not understand the very long number I saw in BIOS but looking through dmesg it is some kind of reference in UEFI to my CDROM. In the case of legacy it just says CDROM.
There is a "Slackware" put first in the list but no long number although I was given one by efibootmanager. This can only come from my sda1 partition.
I get the various dialog boxes in the "ELILO (EFI Linux Loader) installation".
INSTALL ELILO
install Install ELILO on the EFI partition.
OK
INSTALL BOOT MENU ENTRY
install Install a boot menu entry
OK
REMOVE OLD "Slackware" EFI BOOT ENTRY
YES
(First time seeing this one)
EFI BOOT ENTRY INSTALLED
OK
EFI boot menu entry:
Boot0000* Slackware
HD(1,800,32000,7ddd57e4-d22e-4372-a851-34949d102d60)File(\EFI\Slackware\elilo.efi)
OK
Then it returns to command line.
Trying to boot the "Slackware" entry in BIOS gives as usual:
Error:No boot disk has been detected or the disk has failed.
elilo.conf is same as #24. This is the only variable. The other two are just copies.
GRUB2
I am now going to try GRUB2.
Both installation and booting from the installation disk.
I would like to take booting from the installation disk first.
At the begining I see:
"Detect/boot any installed operating system"
It detects the kernels in sda3/boot and one other entry:
(hd0,gpt1)/efi/slackware/elilo.efi
Pressing enter and hopping for the best never works but gives readout.
Next endevour to understand grub2.
It detects the kernels in sda3/boot and one other entry:
(hd0,gpt1)/efi/slackware/elilo.efi
Pressing enter and hopping for the best never works but gives readout.
so none of the entries work when booting the hard drive from the installation disk?
Is it the same no boot disk detected message when you select the kernel to boot?
Trying to boot the "Slackware" entry in BIOS gives:
Error:No boot disk has been detected or the disk has failed.
Trying to boot from installation disk gives a number of different messages.
Depends which entry I try to boot.
I will copy a few this evening and post tomorrow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.