Go to file
Electronic Eel 47c7ab35c0 Automatically run EFI conversion steps
Before this commit the user was supposed to give the -e cmdline parameter
to run the EFI conversion when necessary. But it was missing in the getopts
parameter list, so it didn't work.

Instead of fixing it, I opted to remove the -e parameter alltogether and
automatically detect if the system is running on EFI or not. Because if the
user should forget to give -e on an EFI system, it would result in an unbootable
system without any bootmanager installed. Fixing this situation takes time and
requires some sysadmin skills, so we should take steps to avoid this situation.

Detecting if the system runs on EFI or not can reliably done by checking for
/sys/firmware/efi/.
2021-05-30 15:28:20 +02:00
centos2rocky.sh remove unneeded option 2021-05-07 17:16:32 -07:00
migrate2rocky.sh Automatically run EFI conversion steps 2021-05-30 15:28:20 +02:00
README.md Touched up readme 2021-05-03 22:36:49 -04:00

Rocky Tools

Various scripts and tools that we find useful, whether we use them or they are made for public consumption. For example, conversion scripts or otherwise.

[Centos2Rocky] -- Conversion Script

Running this script will convert an existing CentOS 8 system to Rocky Linux 8.

Usage

./centos2rocky.sh -h
├── -h   # --> Displays this help
├── -r   # --> Converts to Rocky
├── -V   # --> Verifies switch
└── -R   # --> Reinstalls all packages 

[!! USE WITH CAUTION !!]

Debugging

The centos2rocky script pipes everything shown on stdout to /var/log/centos2rocky.log.

If you run in to issues executing this script, please submit an issue here.

Make sure to include the output log, and remove any sensitive information. (if any)

Feel free to create a pull request if you think you've got the fix.