UEFI and GPT only with eLilo ?

Hi,

i’m installing a SLES 11 SP4 on a HP server. I’d like to have GPT. From what i understand i need UEFI for that. GPT without UEFI is only possible witg GRUB2, but SLES 11 SP4 has GRUB legacy.
Furthermore i read that UEFI + GPT + GRUB legacy is only possible with eLilo. Is that true ? No way to have GRUB legacy with GPT ?
Is eLilo popular ? I thought GRUB2 is the future and most other distros use it. I’m familiar with GRUB legacy and not with eLilo, so i’d like to stay with it.

Bernd

I thought, and was pretty sure, you could use GPT with older Grub stuff,
but I have not tried it for a long time. GPT definitely does not need
UEFI, though, or at least I cannot think of any reason it would and I know
I have built systems with GPT but without UEFI (every VM I ever built
probably).


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

Hi,

currently i’m a bit confused. Asking rpm i have grub legacy, grub2 and elilo installed:
ha-idg-1:~ # rpm -qa|grep -i grub
grub-0.97-162.172.1
grub2-x86_64-efi-2.00-0.50.34

ha-idg-1:~ # rpm -q elilo
elilo-3.14-0.36.26

I booted the server with UEFI and i have a GPT. How do i find out which boot loader is currently active ?
Ands does SLES 11 SP4 support GRUB2 ? I thought it doesn’t.

Bernd

[QUOTE=berndgsflinux;40365]Hi,

currently i’m a bit confused. Asking rpm i have grub legacy, grub2 and elilo installed:
ha-idg-1:~ # rpm -qa|grep -i grub
grub-0.97-162.172.1
grub2-x86_64-efi-2.00-0.50.34

ha-idg-1:~ # rpm -q elilo
elilo-3.14-0.36.26

I booted the server with UEFI and i have a GPT. How do i find out which boot loader is currently active ?
Ands does SLES 11 SP4 support GRUB2 ? I thought it doesn’t.

Bernd[/QUOTE]
Hi
Elilo is the supported uefi boot method in SP4 and earlier… (uefi boot has been around for a long time…) all others are legacy boot.

Via YaST bootloader (or look down in /boot/efi/EFI/sles) there will be an elilo.efi file, or as root user run the command;

efibootmgr -v

If you have a gpt disk and boot from it via non-efi then it does a hybrid boot since it can’t write to the mbr.

To boot efi with grub2 you need grub2-efi not just grub2.

Check the output from either gdisk or lsblk and look for a small partition type ef (or ef00) and a /boot/efi partition.

Ok. Now i have GPT with legacy BIOS and legacy GRUB which is ok for me.
I had GPT already from the previous installation and reused it. How could i choose GPT in yast during installation if the GPT wouldn’t already exist ?

Bernd

Hi
You can’t… normally you pre-configure, I would guess it’s probably
the default from manufacturers these days for system disks…?

So to format from one to the other you need to wipe (wipefs -a /dev/sdX
[destructive use with caution]) then use either fdisk to set back to
dos or gdisk to to set to gpt.

Then you need to ensure you create a fat partition ~200MB (to allow for
extra kernels) set to type ef00, mount point is /boot/efi.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.92-18.36-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Just in case I missed it, he was asking how to do a new install with GPT,
which is doable from within the Yast install screens. Do so by, in the
Partitioner application, going to the hard drive in question, then
choosing the ‘Expert’ button, choose to ‘Create New Partition Table’ which
then lets you choose GPT. I am not sure this is a default today, unless
you have a disk larger than 2 TiB where I believe it is required to use
all of that space, but it is easy to do during the first installation.

I think Malcolm is answering how you change to GPT, and, like him, I doubt
that is possible without re-partitioning the entire disk.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.