Mageia post-install routine covering yum/dnf configuration and installing codecs

This article covers:

  • configuring yum/dnf repositories
  • installing codecs and other tools
  • configuring the system clock

Configuring yum/dnf repositories

yum config-manager --set-enabled mageia-x86_64-nonfree updates-x86_64-nonfree mageia-x86_64-tainted updates-x86_64-tainted

Side note: Use yum repolist to show the currently activated repositories and ll /etc/yum.repos.d/ to show all available repositories.

Installing codecs and other things

Now, upgrade your packages and install some multimedia packages (which will install the codecs automatically):

yum distro-sync
yum install vlc mplayer

And install other tools as needed, e. g.:

yum install thunderbird keepassxc rhythmbox fbreader encfs meld git subversion mercurial easytag cdparanoia
yum install zim --setopt=install_weak_deps=False

Setting the system clock

Open the Mageia Control Center (MCC) and select “System | Set date and time” and activate the network time protocol (NTP) and select a server near you and make sure the time zone is set correctly.

“no bootable devices found” after installation of Mageia Linux

After the installation of Mageia 9 my Dell laptop refuses to boot with the following error: “No bootable devices found”

Background: Before, Ubuntu 22.04 was installed on the laptop. But I erased it completely and rearranged the partitions, too.

Solution

Manually create a boot option using the DELL setup utility (aka UEFI BIOS):

  1. Press F2 to open the setup utility
  2. Go to: General | Boot Sequence
  3. Under “Boot list option”: Make sure UEFI is selected
  4. Click on “Add Boot Option”
  5. Enter a meaningful “Boot Option Name”, e. g. “Mageia 9”
  6. Click on “…” to select a file name
  7. Navigate to \EFI\mageia\grubx64.efi
  8. Done.

Further information

In the setup utility, I have Secure Boot disabled.

An official Knowledge Base Article of DELL recommends to set System Configuration | SATA Operation to “AHCI” for linux installations. Unfortunately, mine is set to “RAID on”. Maybe that is causing the issue…

Setting up dnf on Mageia 7

As you can see with dnf repolist, only the core repository and the update repository are activated on Mageia 7 by default.

The repositories nonfree and tainted are pre-configured in configuration files within /etc/yum.repos.d/ but disabled by default. You can easily activate them by executing the following command:

# dnf config-manager --set-enabled mageia-x86_64-nonfree updates-x86_64-nonfree mageia-x86_64-tainted updates-x86_64-tainted

That’s it. Now, when you try to install a package or upgrade the system, the nonfree and the tainted repository are considered as well.