News for hackers. Stuff that matters.
Re:Booting Linux in five seconds (2008) by andai on Friday July 29, 2022 @02:02PM (#32280026)
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.
Re:Booting Linux in five seconds (2008) by draxil on Friday July 29, 2022 @02:17PM (#32280152)
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.

Re:Booting Linux in five seconds (2008) by bxparks on Friday July 29, 2022 @02:47PM (#32280434)
> 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.

Re:Booting Linux in five seconds (2008) by forty on Saturday July 30, 2022 @02:36AM (#32284818)
It's because sadly, Linux doesn't know how to hibernate when secure boot / kernel lockdown is enabled
Re:Booting Linux in five seconds (2008) by Faf on Friday July 29, 2022 @03:09PM (#32280664)
Run Kodi, press S then select Suspend.
Re:Booting Linux in five seconds (2008) by andai on Saturday July 30, 2022 @10:21AM (#32287015)
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.
Re:Booting Linux in five seconds (2008) by andai on Saturday July 30, 2022 @10:25AM (#32287038)
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.