CentOS Linux 8 is now EOL (December 31, 2021)
Re: CentOS Linux 8 is now EOL (December 31, 2021)
Also, both Rocky and Alma have scripts to convert between themselves and other RHEL derived clones. I used migrate2rocky.sh recently to convert my lone CentOS 8 VM to Rocky 8 nad all went without a hitch (obviously needs more testing before being used in anger for production machines).
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
- WhatsHisName
- Posts: 1549
- Joined: 2005/12/19 20:21:43
- Location: /earth/usa/nj
Re: CentOS Linux 8 is now EOL (December 31, 2021)
Also used migrate2rocky.sh on my LUKS-encrypted, UEFI-based laptop last week after the rhel8 conversion script refused to run.
Needed to manually install several packages to get the script to run and then it crashed mid conversion leaving me with an unbootable laptop.
After considerable effort (did I mention LUKS-encrypted?), I found the problem: Down in the /boot/efi/... folders, grub.cfg and grubenv had not been duplicated from .../centos/ to .../rocky/.
/boot/efi/EFI/{centos,rocky}/{grub.cfg,grubenv}
Fixed that and it boots/runs fine now.
Needed to manually install several packages to get the script to run and then it crashed mid conversion leaving me with an unbootable laptop.
After considerable effort (did I mention LUKS-encrypted?), I found the problem: Down in the /boot/efi/... folders, grub.cfg and grubenv had not been duplicated from .../centos/ to .../rocky/.
/boot/efi/EFI/{centos,rocky}/{grub.cfg,grubenv}
Fixed that and it boots/runs fine now.
Re: CentOS Linux 8 is now EOL (December 31, 2021)
Would you mind posting your issue to https://github.com/rocky-linux/rocky-tools/issues ? migrate2rocky should not have required any additional packages be installed and it should have fixed up grub and EFI boot on completion automatically. I'm very interested to know exactly what extra steps you had to take (as well as the output of migrate2rocky.log) to get it to work so that it can be fixed to work better for others in the future, but let's take it to the appropriate forum.
Thanks
Peter Ajamian
Thanks
Peter Ajamian
- WhatsHisName
- Posts: 1549
- Joined: 2005/12/19 20:21:43
- Location: /earth/usa/nj
Re: CentOS Linux 8 is now EOL (December 31, 2021)
Sorry, don't have GitHub account. Here are the issues (which might be useful to others trying to migrate) and the migration logs:
System: HP EliteBook 745 G6 Laptop running AMD 2nd Gen Ryzen 7 3700U (about 2 years old)
1) System initially refused to start migration with these errors.
Can't get package that provides system-logos-ipa. > Installed centos-logos-ipa
Can't get package that provides system-logos-httpd. > Installed centos-logos-https
2) Resolved by manually installing the centos-logos-* packages (see above).
3) Restarted migration, ended in this failure:
Unable to resolve argument libselinux-python:2.8
Error: Problems in request:
missing groups or modules: libselinux-python:2.8
Can't disable modules libselinux-python:2.8
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
4) Resulted in an unbootable system.
"Your system may be unstable. Script will now exit to prevent possible damage. (see above)" Hum. I guess unbootable falls into that category.
5) Resolved by copying grub.cfg and grubenv from /boot/efi/EFI/centos/ to /boot/efi/EFI/rocky/
# cp /boot/efi/EFI/centos/{grub.cfg,grubenv} /boot/efi/EFI/rocky/
Migration logs attached:
Not much more I can add to that.
"dnf update" resulted in the reinstallation of a huge number of packages. I guess .rocky.el8 is a higher version than .centos.el8
Laptop running OK now.
Edit: I should clarify the Unbootable means Grub Prompt
Normally, you might be able to work through that with the "Super Grub2 Disk", but LUKS encryption gets in the way.
System: HP EliteBook 745 G6 Laptop running AMD 2nd Gen Ryzen 7 3700U (about 2 years old)
1) System initially refused to start migration with these errors.
Can't get package that provides system-logos-ipa. > Installed centos-logos-ipa
Can't get package that provides system-logos-httpd. > Installed centos-logos-https
2) Resolved by manually installing the centos-logos-* packages (see above).
3) Restarted migration, ended in this failure:
Unable to resolve argument libselinux-python:2.8
Error: Problems in request:
missing groups or modules: libselinux-python:2.8
Can't disable modules libselinux-python:2.8
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
4) Resulted in an unbootable system.
"Your system may be unstable. Script will now exit to prevent possible damage. (see above)" Hum. I guess unbootable falls into that category.
5) Resolved by copying grub.cfg and grubenv from /boot/efi/EFI/centos/ to /boot/efi/EFI/rocky/
# cp /boot/efi/EFI/centos/{grub.cfg,grubenv} /boot/efi/EFI/rocky/
Migration logs attached:
Not much more I can add to that.
"dnf update" resulted in the reinstallation of a huge number of packages. I guess .rocky.el8 is a higher version than .centos.el8

Laptop running OK now.
Edit: I should clarify the Unbootable means Grub Prompt
Normally, you might be able to work through that with the "Super Grub2 Disk", but LUKS encryption gets in the way.