You are not logged in.
Pages: 1
Hi guys,
Sorry if this is a really silly question but i've edited /etc/mkinitcpio.conf to include only the modules i need during boot. However after a kernel upgrade it seems that the fallback image also uses this same setup, shouldnt the fallback image be using /etc/mkinitcpio.d/kernel26-fallback.conf?
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [keymap]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [keymap]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
Thanks
Offline
As your output states: No it doesn't.
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
But hey, don't worry. The solutions is simple (I guess). Run
/sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.d/kernel26-fallback.conf -g /boot/kernel26-fallback.img -S autodetect
This should do the job as far as I can tell. Hope this helps
Offline
Take a look at the options on that command line:
/sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.d/kernel26-fallback.conf -g /boot/kernel26-fallback.img -S autodetect
Particularly:
-S SKIPHOOKS Skip SKIPHOOKS (comma-separated) when building the image.
The fallback image is generated the same as the normal image, just without the autodetect hook.
Offline
but why does the kernel upgrade update the initram image for the fallback kernel with the same options as the default kernel?
surely the fallback image should autodetect hardware so you have a working system incase the mkinitcpio.conf isnt correct?
Offline
Pages: 1