0 votes
I am attempting to migrate a test ClearOS Server to AlmaLinux 9 using leapp.

I running into an issue (or I think I am) where it seems for the migration to work it requires that the server boots with EUFI. Here is the message from the leapp log:
Risk Factor: high
Title: GRUB core will be updated during upgrade
Summary: On legacy (BIOS) systems, GRUB core (located in the gap between the MBR and the first partition)
does not get automatically updated when GRUB is upgraded.

My Linux CentOS servers boot is using the legacy BIOS. I believe I have done all the steps required to create the an efi partition:
[root@services26 ~]# df /boot/efi
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 548508 10316 538192 2% /boot/efi
[root@services26 ~]# du /boot/efi
1884 /boot/efi/EFI/BOOT
2508 /boot/efi/EFI/clearos/fonts
8424 /boot/efi/EFI/clearos
10312 /boot/efi/EFI
10316 /boot/efi
[root@services26 ~]#

Here is my partitions layout:
[root@services26 ~]# ​​​​​​​​​​​​fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 12.9 GB, 12885950464 bytes, 25167872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 1F8BC950-871F-466E-B4C4-8E9FD8B16690

# Start End Size Type Name
1 2048 1000000 487.3M Linux filesyste Linux filesystem
2 2099200 6293503 2G Linux swap Linux swap
3 6293504 25165823 9G Linux LVM Linux LVM
4 34 2047 1007K BIOS boot BIOS boot partition
5 1000002 2099199 536.7M EFI System EFI-system
[root@services26 ~]#

The last step that I did was to run the grub install cmd:
[root@services26 ~]# grub2-install --target=x86_64-efi /dev/sda
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.
[root@services26 ~]#

The server always wants to boot from partition 1 instead of the new partition 5 that I created and not sure how to change that execution?
Monday, October 31 2022, 05:43 PM
Share this post:
Responses (0)
  • There are no replies here yet.
Your Reply