[SOLVED] Triying to boot faster. Grub's taking too long
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If you're using Debian, I presume you're using System V init scripts. You can speed booting a bit by using
systemd: in Fedora, Suse, Mageia; Debian is opposed to it
upstart: in Ubuntu; may be in the Debian repository
Thanks for your kind replies fellows.
Finally I improved Grub (I stick with legacy) speed using "profile" boot option. That appeared to had improved speed.
Today, I compile my own kernel, extracting lot of things I won't use.
I was wondering if is possible to use the uncompressed kernel image (vmlinux) in order to reduce decompression time in boot up. I tried it, googled a little bit, but I think that's no possible...
About SysV that's a good idea I think I'll give it a try.
That's very interesting. I'll do some test.
I'm quite new to kernel compilling, I think compression type is selected in make menuconfig "kernel compression mode".
I was using gzip, so I'll test with lzma.
"xz" seems no to appear there. Should I need a particular package in order to use that compression algorithm?
Thanks a lot.
I recompiled my kernel image using lzma, final size was almost 300 kb smaller. No big difference in decompression time, may be a couple of seconds, previously I was using gzip.
Yes, as I'm dealing with quite old hardware I decided to use version 184.108.40.206.
Was worth for learning a little on kernel compilation. Regards.