4

Each time I see THAT, there is 50% chance that server will not reboot :(

Fucking linux....

Why, just why we don't have roll backs and all nice things we have in windows ?

Comments
  • 2
    update: this time server rebooted just fine.
  • 3
    Not enough space on /boot? Maybe clean up old kernels, or use a distro that can do that automatically.
  • 6
    @NoToJavascript

    Your assumption is wrong.

    Windows rollback usually means that a Windows.old folder is renamed back to Windows, e.g. in case of an broken update.

    The concept is vastly different from Linux, where the initrd and kernel are separate from the rest of the OS.

    (Rolling back to a previous known good configuration does sth similar - it resets certain registry parts)

    Linux initrd / kernel are written to boot partition, if it fails it should exit. If you reboot after a broken write, e.g. as @Fast-Nop mentioned due to space issues, then you end up with a failed boot.

    ... But: There are thing that usually prevents the system from being "unbootable".

    The grub shell / prompt. Just choose another kernel.

    If your distribution hid the grub prompt, it's usually 1 min of work to change it so the prompt gets shown again.

    The /etc/default/grub has a few nifty options:

    https://gnu.org/software/grub/...

    If the system is bootable, you can take a look at e.g. grub-initrd-fallback.service - which can be used to reboot and fallback to previous kernel.

    Note that this requires that the initramfs / kernel are bootable.

    Last but not least: A seperatn boot partition, which is one of the most common reasons for having issues regarding space, is usually not needed.

    In many cases, grub can deal without one - just stuff it onto the root system.

    Note: Boot partition, not the EFI system partition.
  • 0
    Windows rollback doesn't always work and why is your root fs gen failing ? Never seen that
  • 0
    @IntrusionCM emergency single user mode etc
  • 1
    @AvatarOfKaine and even if it does I would only really use if for workstations, on a server after a bad update that will mot boot I would restore a backup, just in case the rollback is not 100%.

    But it rarely happens either in linux or windows unless your out of space and even then it usually warns or can continue once you make space.

    But general rule of thumb, always have extra space on all drives for a smoother operation ;)
  • 0
    Why complain when there's an easy solution? Just never update this sh*t
Add Comment