Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you automatically roll back if you’re in a boot loop?


In NixOS, you have a bootloader to load your OS. Unless you botch your bootloader, you can't paint yourself into an unbootable state. If one system configuration doesn't work, you reboot and choose the prior one before the OS begins to load in a menu displayed by the bootloader.

This is also true of most regular Linux setups. Except that in those, you can only choose the kernel. Hence, if you have broken other parts of your configuration, your system might not be bootable. So the safety net is much thinner.


I really have no problem imagining an antivirus company convinced the bootloader needs an upgrade =)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: