You are not logged in.
Pages: 1
Hi,
i'd like to speed up my boot time by removing some unneeded hooks in mkinitcpio.conf. However i'm still a newbie and i'm scared to do something wrong.
Up to now i have that:
HOOKS="base udev autodetect pata scsi sata filesystems"
I won't remove base and udev.
I'm not really sure of what autodetect and filesystems are (i read the info with mkinitcpio -H autodetect/filesystems but still...) ?
Also how can i know if i have a sata or IDE (pata) ?
Thanks.
Last edited by herve (2010-03-07 16:27:16)
Offline
"hdparm -I /dev/sda" (assuming it's a sata drive) will give you the disc info.
The Wiki is you best bet for all relevant info.
http://wiki.archlinux.org/index.php/Mkinitcpio
Last edited by loafer (2010-03-06 17:26:21)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Hello
(I asumme that you are using SATA disk)
There is no speed (notable) gain removing the hooks that you can remove from this list (autodetect does this works in some way)
A simple way to experiment, without changing your current setup is
Create a simple /etc/mkinitcpio-custom.conf with:
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect sata filesystems"
Generate the initcpio image with:
mkinitcpio -c /etc/mkinitcpio-custom.conf -g /boot/kernel26-custom.img
At grub prompt change initrd to point to this image
Thats all, if this works, you can do this for mkinitcpio.conf. And you can see that there are no speed improvements at boot time.
Last edited by djgera (2010-03-06 17:18:57)
Offline
Thanks a lot. I tried and indeed , it does not improve the boot time.
Offline
Pages: 1