Yesterday, I was using my daughter's desktop computer, which is a Mageia 4/PicarOS dual-boot, when I noticed something that has happended before: after running an update of packages, Mageia changes GRUB2 and erases the entry to boot PicarOS.
I am not very GRUB2 literate. Last time that it happened, I solved the problem with GRUB Customizer, but it wouldn't help this time.
I tried the Mageia GRUB tool in the Control Center to no avail.
Then I installed the KDE package that lets one configure GRUB2... and that's when I messed up: trying to recover the PicarOS boot entry, I seemed to have installed a useless boot entry on the MBR and the computer, logically, could neither boot PicarOS nor Mageia.
I looked for the Mageia 4 install DVD to run the rescue tool but, since I could not find it, I ran the rescue tools from the Mageia 3 install DVD instead. It did not work; GRUB2 could not be rescued.
Then I ran a Mageia 3 Live DVD and booted the machine to re-install GRUB2 with Mageia Control Center. No luck, either, but I found the Mageia 4 install DVD.
Given my little knowledge of GRUB2, my only option at that point was to reinstall the system. The thing was that I did not want to spend a couple of hours re-configuring the computer.
I ran the installation wizard and it asked me if I wanted a clean install or an upgrade. I suddenly felt inspired and decided to take a risk. Normally, I go for a clean install, but I selected UPGRADE instead.
The process lasted less than 5 minutes and Mageia came back to life with a resurrected GRUB2 entry for PicarOS.
But here's the best part. Prior to all this, the computer's Mageia OS had a problem that I had not been able to solve: as ffmpeg could not be updated with the tainted packages, it could not play certain videos for my daughter.
After coming back to life, Mageia told me that no repos were configured. I checked and, sure enough, the install wizard had erased all the repos. I added them and BINGO! the missing ffmpeg tainted package was found.
Now my daughter can see her videos again.
Some mistakes bring about happy results after all.
A blog to compile what I have learned (and what I am learning) about Mandriva (and GNU/Linux in general) since 2009, when I migrated. Current distros I'm using: OpenMandriva Lx ROME 5.0, Mageia 9, MX 19, Manjaro 23.1, and Elive 3.
Suscribirse a:
Enviar comentarios (Atom)
14 Years?! Happy anniversary, Mandriva Chronicles!
Yes, today is the 14th anniversary of this humble blog, which I created to register my experiences as a Linux user. What has changed since ...
-
Linux is commonly de-famed as an operating system for computer gurus and, in the Linux world, many people believe that the only user-friendl...
-
A few days ago, thanks to one student, I realized that something funny was happening with my Linux netbook. He said that it was weird that I...
That was a fortunate outcome. Whenever I need to add entries to GRUB2, I go to boot/grub.cfg and do it manually. A little copy/paste does the trick for me!
ResponderEliminar