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)
for me on multiple machines.
Posted Jun 11, 2009 21:00 UTC (Thu)
by khc (guest, #45209)
[Link] (4 responses)
Posted Jun 11, 2009 21:22 UTC (Thu)
by larryr (guest, #4030)
[Link] (3 responses)
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
Posted Jun 11, 2009 23:25 UTC (Thu)
by khc (guest, #45209)
[Link] (2 responses)
Posted Jun 12, 2009 1:09 UTC (Fri)
by paragw (guest, #45306)
[Link] (1 responses)
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
man kexec for more details...Ubuntu aims for ten-second boot time with 10.04 (ars Technica)
Ubuntu aims for ten-second boot time with 10.04 (ars Technica)
how does one use this?
Ubuntu aims for ten-second boot time with 10.04 (ars Technica)
Ubuntu aims for ten-second boot time with 10.04 (ars Technica)
you do a restart either via the UI or via command line, it will by default kexec the kernel.
$) sudo kexec -e
