Talk:mkinitcpio

From ArchWiki
Revision as of 10:44, 15 February 2013 by Fengchao (Talk | contribs) (block hook: Remove closed discussion.)

Jump to: navigation, search

keymap v. consolefont

Using the consolefont hook seems to work as advertised in /lib/initcpio/hooks/consolefont and mkinitcpio -H consolefont i.e. I get my font in the early stages of the boot process, while using keymap only sets the font a bit later and mangles Polish accented characters if I'm using DAEMON_LOCALE="yes". I think we need to add consolefont to the HOOKS list and fix keymap hook description. -- Karol 11:10, 21 January 2012 (EST)

udev hook

I feel like there should be an indicator somewhere that removing the udev hook will render UUID references useless. For people like me, except I've had that problem before and knew how to recover quickly. T1nk3r3r (talk) 07:12, 24 July 2012 (UTC)

  • Hrmm? UUID= and LABEL= references are designed to still "just work". Look at resolve_device() in /usr/lib/initcpio/init_functions. blkid is used to try and immediately resolve the UUID to a block device. If and only if udev is involved, the UUID is translated to a /dev/disk path which can be waited on by poll_device (since the symlink may eventually show up). What you don't get without udev is automatic module insertion, which may cause all block device references to be useless ;) Falconindy (talk) 21:59, 26 July 2012 (UTC)
I may need some time to wrap my head around this, will have to re-read 'early userspace' articles. I remember having this issue in Mandriva between upgrades, but probably unrelated. Ultimate goal is shooting for <12 second boot times on SATA or USB drive. Custom kernel with all required modules built-in. T1nk3r3r (talk) 18:33, 27 July 2012 (UTC)

available kernels

I think it would be helpful to give a hint as to which kernel versions are available in the Mkinitcpio#Image_creation_and_activation section. Could we replace this: "... add the kernel version to the command line:" with this: "... add the kernel version to the command line. You can see available kernel versions in /usr/lib/modules."? Ichimonji10 (talk) 01:57, 10 December 2012 (UTC)

Eh, went ahead and made that change, along with some other minor edits. Ichimonji10 (talk) 13:46, 14 February 2013 (UTC)