Talk:mkinitcpio

From ArchWiki
Revision as of 14:39, 4 November 2012 by Karol (Talk | contribs) (page title: rm 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)