Results 1 to 3 of 3

Thread: Comment on a recent update involving the boot partition files

  1. #1

    Default Comment on a recent update involving the boot partition files

    To openSuse personnel who create updates:

    A recent update involved files in the /boot area. However the update routine did NOT bother to check if the /boot partition was mounted, but it went ahead anyway and ran the dracut command to create a new initrd and other associated files, only when attempting to write this out, did it discover that the /boot partition was missing, and then popped an error message.

    Unfortunately the damage was done, when rebooting the system, it could only come up to the GRUB> cli.

    Using traditional methods such as mount root, mount boot, chroot, grub-install did NOT work.

    Booting into the rescue mode did NOT work either.

    Rerunning the upgrade choice only showed that some script was appending extra entries to the /boot/grub2/devicemap file, thus giving an error during the critical boot install.

    Using a Knoppix disk did not work either, as the chroot command did not work correctly.

    After using up over 3 hours of time, trying different methods, was success encoutered upon using the Boot Linux choice, and the quickly running the Yast2 boot manager routine, to rewrite the partition. It took manual labor to clean up the boot parameters in the manager routine also.

    It is extremely important, when any update is run to the /boot partition to make sure FIRST that the partition is mounted, rather than to hurriedly run the updates as if everything was nominal.

    This will prevent giving a bad image to the customer, with an unbootable system, of the OpenSuse software.

    Thank you for taking note of this professional tip, to help insure that openSuse will continue to maintain a professional image.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Comment on a recent update involving the boot partition files

    Quote Originally Posted by randallrathbun View Post
    To openSuse personnel who create updates:

    A recent update involved files in the /boot area. However the update routine did NOT bother to check if the /boot partition was mounted, but it went ahead anyway and ran the dracut command to create a new initrd and other associated files, only when attempting to write this out, did it discover that the /boot partition was missing, and then popped an error message.

    Unfortunately the damage was done, when rebooting the system, it could only come up to the GRUB> cli.

    Using traditional methods such as mount root, mount boot, chroot, grub-install did NOT work.

    Booting into the rescue mode did NOT work either.

    Rerunning the upgrade choice only showed that some script was appending extra entries to the /boot/grub2/devicemap file, thus giving an error during the critical boot install.

    Using a Knoppix disk did not work either, as the chroot command did not work correctly.

    After using up over 3 hours of time, trying different methods, was success encoutered upon using the Boot Linux choice, and the quickly running the Yast2 boot manager routine, to rewrite the partition. It took manual labor to clean up the boot parameters in the manager routine also.

    It is extremely important, when any update is run to the /boot partition to make sure FIRST that the partition is mounted, rather than to hurriedly run the updates as if everything was nominal.

    This will prevent giving a bad image to the customer, with an unbootable system, of the OpenSuse software.

    Thank you for taking note of this professional tip, to help insure that openSuse will continue to maintain a professional image.
    Hi. Eh, openSUSE has no personel. We're a community run by volunteers. openSUSE also has no customers, only users, contributors. And it spells 'openSUSE', that's our name.
    But, you're speaking of an unmounted /boot partition. If /boot lives on a separate partition, it should always be mounted unless someone with root access unmounted it. Can you explain why /boot was not mounted?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,557

    Question Re: Comment on a recent update involving the boot partition files

    Quote Originally Posted by randallrathbun View Post
    Using a Knoppix disk did not work either, as the chroot command did not work correctly.
    If you were to boot an openSUSE installation DVD, you would notice that, there's a selection item named "Rescue System": <https://doc.opensuse.org/documentati...recover.rescue>.

    Quote Originally Posted by randallrathbun View Post
    This will prevent giving a bad image to the customer, with an unbootable system, of the OpenSuse software.
    The openSUSE documentation contains instructions on how to update and upgrade systems:
    "YaST Online Update": <https://doc.opensuse.org/documentati...pdate.you.html>;
    "Upgrading the System and System Changes": <https://doc.opensuse.org/documentati...ate.osuse.html>.

    There's also a couple of Support Database (SDB) articles:
    SDB: System upgrade: <https://en.opensuse.org/SDB:System_upgrade>;
    SDB: Offline upgrade: <https://en.opensuse.org/SDBffline_upgrade> [Please ignore the emoticon in the URL -- there's a Forums issue … ].

    A not so often documented issue is:
    System updates and system upgrades are only successful on systems which have a package database which has been verified to be error-free.
    For example "zypper verify" and "rpm --rebuilddb".
    Which leaves the question, given all the openSUSE documentation related to system update and system upgrade, what caused your system to misbehave during or after an update (or upgrade)?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •