From ArchWiki
Revision as of 16:41, 2 December 2012 by Falconindy (talk | contribs) (block hook)
Jump to navigation Jump to 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)