Originally posted by V1tol
View Post
Announcement
Collapse
No announcement yet.
How Intel's Clear Linux Team Cut The Kernel Boot Time From 3 Seconds To 300 ms
Collapse
X
-
Originally posted by hotaru View Post
while you can disable the ~3 second timeout for entering setup, those 3 seconds are insignificant compared to the 15 or more seconds the firmware takes regardless of the quick boot setting.
Comment
-
Originally posted by Michael View Post
Why not just use Clear Linux itself?
Comment
-
Originally posted by TheLexMachine View Post
Because - as you yourself said in your review - it has some nuisances and drawbacks. For a personal use system, I want something a bit more polished and put-together, with the ability to install the stuff I want to install, without having to do a ton of manual config work via command line, hacks, or text file configs.Michael Larabel
https://www.michaellarabel.com/
Comment
-
Originally posted by andyprough View PostMy sysvinit antiX system boots in a lot less than minutes. Not sure why it would take so long unless you purposely or incompetently set it up that way.
Those times are from an embedded device running Debian. Kirkwood SoC. Not terribly powerful ARMv5 (armel Debian arch), and OS is on a flash drive that isn't particularly fast. Took 1 minute and something to fully boot the OS and the 2-3 services I needed it to do.
And no it was not just sitting there waiting for ethernet connection.
Switched to systemd on the same system when Debian did the switch, boom. 20 seconds of OS boot time, like a boss.
Comment
-
Originally posted by M@GOid View PostThat is nice to see, will try it in the weekend.
You can add them as GRUB menu options or by getting into GRUB commandline and writing the command directly
Also rEFInd boot loader/manager can do that (and offers it by default).
If the above does not work (many want UEFI to not be like that, but it do), there is a more manual way with efibootmgr (that writes this in UEFI vars) from inside the booted system.
It's usually
sudo efibootmgr -n 0
as the "0" boot option is commonly the UEFI setup menu or a boot menu where you can then select to go in UEFI setup, but check what options you actually have in your system.
sudo efibootmgr
See the following example for a HP laptop
Code:BootCurrent: 000A Timeout: 0 seconds BootOrder: 000A,000B,000E,000F,0010,000D,000C,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,0011 Boot0000 Startup Menu Boot0001 System Information Boot0002 Bios Setup Boot0003 3rd Party Option ROM Management Boot0004 System Diagnostics Boot0005 System Diagnostics Boot0006 System Diagnostics Boot0007 System Diagnostics Boot0008 Boot Menu Boot0009 HP Recovery Boot000A* opensuse-secureboot Boot000B* Windows Boot Manager Boot000C* Samsung SSD 850 EVO 1TB Boot000D* WDC WD5000LPCX-60VHAT0 Boot000E* Samsung SSD 850 EVO 1TB
- Likes 1
Comment
-
Originally posted by starshipeleven View PostIf the above does not work
Comment
-
Originally posted by polarathene View Post
The command for rebooting into UEFI settings given earlier was because when using a feature like UltraFastBoot, Grub or rEFInd become unresponsive to input devices, the system needs to get past that and start booting the OS.
In that case you can ask GRUB to boot a specific entry on next boot by
sudo grub-editenv - set next_entry=X
where X is the menu entry you want to boot next time.
List available entries with
Code:sudo awk -F\' '$1=="menuentry " || $1=="submenu " {print i++ " : " $2}; /\tmenuentry / {print "\t" i-1">"j++ " : " $2};' /boot/grub2/grub.cfg
Code:sudo awk -F\' '$1=="menuentry " || $1=="submenu " {print i++ " : " $2}; /\tmenuentry / {print "\t" i-1">"j++ " : " $2};' /boot/grub/grub.cfg
an example.
Code:0 : openSUSE Tumbleweed 1 : Advanced options for openSUSE Tumbleweed 1>0 : openSUSE Tumbleweed, with Linux 5.2.11-1-default 1>1 : openSUSE Tumbleweed, with Linux 5.2.11-1-default (recovery mode) 1>2 : openSUSE Tumbleweed, with Linux 5.2.10-1-default 1>3 : openSUSE Tumbleweed, with Linux 5.2.10-1-default (recovery mode) 2 : Windows Boot Manager (on /dev/sdc2)
This is what I can also do with GRUB interface.
Code:sudo grub2-once --list 0 openSUSE Tumbleweed 1 Advanced options for openSUSE Tumbleweed>openSUSE Tumbleweed, with Linux 5.2.11-1-default 2 Advanced options for openSUSE Tumbleweed>openSUSE Tumbleweed, with Linux 5.2.11-1-default (recovery mode) 3 Advanced options for openSUSE Tumbleweed>openSUSE Tumbleweed, with Linux 5.2.10-1-default 4 Advanced options for openSUSE Tumbleweed>openSUSE Tumbleweed, with Linux 5.2.10-1-default (recovery mode) 5 Windows Boot Manager (on /dev/sdc2) 6 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-11T08:31,post,zypp(packagekitd)) 7 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-11T08:29,post,yast snapper) 8 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-11T08:29,pre,yast snapper) 9 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-11T08:27,pre,zypp(packagekitd)) 10 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-09T07:13,post,zypp(zypper)) 11 Start bootloader from a read-only snapshot> openSUSE Tumbleweed (5.2.11-1,2019-09-09T07:10,pre,zypp(zypper)) 12 Start bootloader from a read-only snapshot>*openSUSE Tumbleweed (5.2.11-1,2019-09-05T16:10,post,zypp(zypper)) 13 Start bootloader from a read-only snapshot>*openSUSE Tumbleweed (5.2.10-1,2019-09-05T16:06,pre,zypp(zypper))
This is useful for rebooting to UEFI settings if you added the menu entry as said above, and also for changing the kernel, or boot any other menu entry too, as you cannot do that anymore if you can't use the keyboard on boot.
I don't know about a similar functioanlity in rEFInd, but quite frankly if you have rEFInd you are not going to have UltraFastBoot enabled.Last edited by starshipeleven; 12 September 2019, 11:10 AM.
- Likes 2
Comment
-
Originally posted by mlau View PostIt seems there's still a lot to gain by throwing away old x86 baggage (UEFI, ACPI). 500ms just to get linux to load is a lot of time when the CPU runs at >2GHz.Last edited by SystemCrasher; 12 September 2019, 11:21 AM.
Comment
Comment