LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need advice installing slackware to a GPT/UEFI system (https://www.linuxquestions.org/questions/slackware-14/need-advice-installing-slackware-to-a-gpt-uefi-system-4175425718/)

ruario 09-17-2012 04:19 PM

I added a summary of my own findings to the Slackware Documentation Project:

http://docs.slackware.com/howtos:ins..._uefi_hardware

arubin 10-17-2012 04:31 PM

I have tried creating a USB EFI disk as described but it doesn't seem to work.

When I try and boot the boot manager appears to recognise it as a UEFI boot but when I select it the lilo screen does not come up and the boot passes to whatever is next on the list.

Alan

Alien Bob 10-17-2012 05:13 PM

Quote:

Originally Posted by ruario (Post 4782666)
I added a summary of my own findings to the Slackware Documentation Project:

http://docs.slackware.com/howtos:ins..._uefi_hardware

The page was moved to http://docs.slackware.com/howtos:sla..._uefi_hardware

Eric

arubin 10-18-2012 03:47 PM

Well I am part of the way there.

My mistake was that I had used the elilo ia64.efi file.

Now I can boot with a kernel on the USB disk but

I do not get an elilo menu and I cannot get it to boot using the kernel on my hard drive.
This is elilo.conf

Quote:

prompt
timeout=50
default=generic

image=vmlinuz-generic-3.2.29
label=generic
initrd=initrd-3.2.29
read-only
root=/dev/sda1

image=vmlinuz-huge-3.2.29
label=huge
initrd=initrd.gz
read-only
root=/dev/sda1
It occurs to me shouldn't it be image=/boot/vmlinuz-generic-3.2.29 ?

ruario 10-19-2012 12:31 AM

No it shouldn't. You need to copy the kernel (and any initrd) over to the esp (efi system partition) and place them in exactly the same directory as elilo. elilo cannot read linux partitions, so the kernel has to be copied onto the esp with it.

You won't see a menu. To choose between the kernels you type the label at the boot prompt (e.g. type generic or huge) and hit enter, or just hit enter for the default (in your case generic). If you type nothing then after 5 seconds ("timeout" is in tenths of a second) it would boot generic.

ruario 10-19-2012 12:35 AM

Quote:

Originally Posted by arubin (Post 4809415)
My mistake was that I had used the elilo ia64.efi file.

I am not sure that was a mistake. I don't think you can buy a motherboard for a Desktop/Notebook PC with EFI that isn't 64-Bit compatible. It is important that you follow the steps on the wiki and rename it and place it in the correct directory with the other files.

jtsn 10-19-2012 07:43 AM

Quote:

Originally Posted by ruario (Post 4809660)
I am not sure that was a mistake. I don't think you can buy a motherboard for a Desktop/Notebook PC with EFI that isn't 64-Bit compatible.

IA64 is a 64 bit architecture, but it is not to be confused with AMD64. The first is the ISA of Intel's failed Itanium, while the latter is also known as x86-64, which is the instruction set of the usual PC CPU today.

arubin 10-19-2012 08:13 AM

Quote:

No it shouldn't. You need to copy the kernel (and any initrd) over to the esp (efi system partition) and place them in exactly the same directory as elilo.
So if I want to run Slackware on sda1 I need to copy kernel and initrd to the usb/efi and specipy root=/dev/sda1?

Actually this is looking less useful than I thought. I was hoping elilo would automatically bring up a menu to choose slackware or windows. I am not sure that I can boot windows from elilo and if anyway I would have to tab for the menu in elilo I might as well stick with my present set up of using grub from slackware and F8 for the BIOS/UEFI menu for windows.

damgar 10-21-2012 11:31 AM

Quote:

Originally Posted by arubin (Post 4809415)
Well I am part of the way there.

My mistake was that I had used the elilo ia64.efi file.

Now I can boot with a kernel on the USB disk but

I do not get an elilo menu and I cannot get it to boot using the kernel on my hard drive.
This is elilo.conf



It occurs to me shouldn't it be image=/boot/vmlinuz-generic-3.2.29 ?

This was my experience following the how-to as well. Everything works great from the USB stick, just as is expected, but when I create the EF00 partition on the hard drive and copy over elilo the bios doesn't recognize anything as EUFI ready and I get a message that there is no boot media. I tried everything I could think of even just mirroring the entire working USB stick to the hard drive as a proof of concept. Same result. I'm stumped.


All times are GMT -5. The time now is 02:45 PM.