I've been wondering about that... Linux seems to spend a lot of time investigating the hardware, as though it's booting for the first time, and not the thousandth. I basically never change system hardware, so it would make more sense to hold Shift or something while booting to trigger that stuff.
I'd generally prefer a machine that copes with whatever it finds rather than keeping state, which is a recipe for trouble. I've booted an old disk on a different hardware and have it be fine. I've also seen windows folk change some hardware and have their machine freak out.
But then I seldom reboot since linux hibernate got good, so maybe I'm a bad judge.
> I seldom reboot since linux hibernate got good
Hmm, I have not owned a computer that can hibernate in Linux since about the early 2000's. Every 3-4 years, I try to activate hibernate on one of my computers using the latest Ubuntu distribution, and have failed every time.
It's because sadly, Linux doesn't know how to hibernate when secure boot / kernel lockdown is enabled
Run Kodi, press S then select Suspend.
Windows has gotten surprisingly good in this regard in the last few versions, you can now swap out the SSD into a different machine and it should just work. (You may invoke the vengeful spirit of Gates, which deactivates your license, but the drivers work, at least...)
Re:Booting Linux in five seconds (2008)
by yjftsjthsd-h on Friday July 29, 2022 @03:38PM
(#32280961)
I would be interested in making it optional - maybe even a setting to cache the hw config unless you pick a different option at boot time (separate item in bootloader menu). But being able to adapt when it does come up is extremely useful - I've moved drives from one machine to another plenty of times, so having the ability to do that kind of thing matters to me.
To clarify my own comment, I did not mean that I don't want Linux to know how to handle new hardware (a fantastic feature indeed), I just mean that there is no need to waste my time every single
boot, when I know I'm booting the same config as the day before. If I do add something (or migrate the drive), I can just boot into a "rescan everything" mode and then what is usually a waste of time becomes actually useful.
Edit: Oh, and let me echo other comments: It depends on your hardware/firmware; the OS can't do anything about it if your machine takes 10 seconds to get to the bootloader.