|
|
Subscribe / Log in / New account

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 11, 2009 18:42 UTC (Thu) by paragw (guest, #45306)
In reply to: Ubuntu aims for ten-second boot time with 10.04 (ars Technica) by nye
Parent article: Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Yep, give it a try with recent distro - since past 2 releases of Ubuntu kexec has worked flawlessly
for me on multiple machines.


to post comments

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 11, 2009 21:00 UTC (Thu) by khc (guest, #45209) [Link] (4 responses)

how does one use this?

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 11, 2009 21:22 UTC (Thu) by larryr (guest, #4030) [Link] (3 responses)

how does one use this?

Essentially it is the same as doing "reboot" except instead of going back to the BIOS, the running Linux kernel just runs the subsequent instance of the kernel directly, as it would be by GRUB or whatever the bootloader is.

One thing it might be used for is to boot from the BIOS into a minimal Linux OS instance which is essentially a super intelligent bootloader which uses kexec to boot the desired target OS... that way not much intelligence is required of the bootloader which the BIOS calls. But actually using kexec from the Linux shell is pretty mundane and anticlimactic by itself.

Larry

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 11, 2009 23:25 UTC (Thu) by khc (guest, #45209) [Link] (2 responses)

ya I am aware of what kexec is, I just didn't know it's packaged and available in distros. Now that I looked I see a kexec-tools package, thanks.

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 12, 2009 1:09 UTC (Fri) by paragw (guest, #45306) [Link] (1 responses)

Be aware that when you install kexec-tools on Ubuntu it will default to rebooting via kexec - so if
you do a restart either via the UI or via command line, it will by default kexec the kernel.

If you need to kexec a new kernel you can do something like this at the command line -

$) sudo kexec -l /boot/vmlinuz --append="root=blah" --initrd=/boot/initrd.img
$) sudo kexec -e

man kexec for more details...

Ubuntu aims for ten-second boot time with 10.04 (ars Technica)

Posted Jun 19, 2009 14:19 UTC (Fri) by cjwatson (subscriber, #7322) [Link]

Defaulting to rebooting via kexec just because you installed the kexec-tools package was a mistake, and has been fixed now.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds