mandriva, Tutorials/Tips

Upgrading Mandriva Linux 2010 to Mandriva Linux 2010 Spring

The upgrade was proceeding as expected until the error message shown in the image below popped up on the screen. This could be a major problem. Why? Because /boot is a non-LVM partition. It cannot be resized as easily as /var, a logical volume. But thankfully, I did not have to resize /boot.

upgradebooterror
Upgrade error message

Following one of the offered suggestions, I decided to delete old files. So I hastily launched a shell terminal, su-ed to root, cd-ed to /boot, and started deleting files as fast as I could. Because the default configuration of the rm command was interactive, and I thought that that was going to be too slow, I decided to run rm with the -f switch. Big mistake because in my haste, I deleted a critical file. I did not know it then, but that was what happened. To cut a long, painful story short, after the upgrade, I could not boot into the system – I had deleted a very, very important file. And this was not one of my test computers. This was a personal “production” lappy.

The interesting part about this is that I did not have to delete any files. I chose the wrong option. I was just not thinking straight. Instead of deleting, I could have just moved files to /home or one of the other directories. Also, if I had not taken any action, there would not have been any problem arising from the little space left on /boot. This was clearly a case of an experienced hand committing a rookie mistake.

One lesson I learned from this, something that was brought up in one of the comments in Manual LVM configuration on Fedora 13, is that if you are going to create a separate partition for /boot and you are going to run the system through several update/upgrade cycles, be very generous with disk space allocation – to /boot.

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


7 Comments

  1. Pingback: Upgrading Mandriva Linux 2010 to Mandriva Linux 2010 Spring … | San Diego IT Support

  2. Pingback: Distro upgrade Mandriva 2010.0 « 0ddn1x: tricks with *nix

  3. Pingback: Linux News » Upgrading Mandriva Linux 2010 to Mandriva Linux 2010 Spring

  4. I upgraded Mandriva 2010 to 2010.1 Spring. Interesting thing that after upgrade i couldn’t open the other partition foulders and their files. I have to edit /etc/PolicyKit/PolicyKit.conf

    Now it works – i hope so.

    On the other hand, some previous problems were eliminated by upgrade.

  5. Pingback: Links 9/8/2010: $149 Android Tablet, Linux a Winner | Techrights

  6. Thank you for your post, I just want to upgrade my Mandriva.

Leave a Comment

Your email address will not be published. Required fields are marked *

*