From ArchWiki
Revision as of 01:57, 10 December 2012 by Ichimonji10 (Talk | contribs) (suggested change to "Image creation and activation" section)

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)

block hook

For those using testing, a note clarifying which hooks are deprecated might be helpful. I take it from that block replaces pata,sata,sci as well as usb and virtio. The post install message is too vague Jasonwryan (talk) 03:25, 2 December 2012 (UTC)

  • I spent a lot of time working on this to make sure it was obvious. I didn't really want to write some long drawn out message in the post_install, but 'mkinitcpio -L' clearly shows what's deprecated. Falconindy (talk) 13:54, 2 December 2012 (UTC)
    • Some of us are a little slow, appending "See mkinitcpio -L for details" to the message would probably be gratefully received. Nice job on the new hooks; it is appreciated Jasonwryan (talk) 17:28, 2 December 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)