Difference between revisions of "Talk:Mkinitcpio"

From ArchWiki
Jump to: navigation, search
(Replied to an earlier comment made by me. Closed the "available kernels" discussion topic.)
(block hook: Remove closed discussion.)
Line 7: Line 7:
 
* 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 ;) [[User:Falconindy|Falconindy]] ([[User talk:Falconindy|talk]]) 21:59, 26 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 ;) [[User:Falconindy|Falconindy]] ([[User talk: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. [[User:T1nk3r3r|T1nk3r3r]] ([[User talk:T1nk3r3r|talk]]) 18:33, 27 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. [[User:T1nk3r3r|T1nk3r3r]] ([[User talk:T1nk3r3r|talk]]) 18:33, 27 July 2012 (UTC)
 
==<s>block hook</s>==
 
For those using testing, a note clarifying which hooks are deprecated might be helpful. I take it from http://comments.gmane.org/gmane.linux.arch.projects/2921 that {{ic|block}} replaces {{ic|pata,sata,sci}} as well as {{ic|usb}} and {{ic|virtio}}. The post install message is too vague [[User:Jasonwryan|Jasonwryan]] ([[User talk: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. [[User:Falconindy|Falconindy]] ([[User talk: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 [[User:Jasonwryan|Jasonwryan]] ([[User talk:Jasonwryan|talk]]) 17:28, 2 December 2012 (UTC)
 
::: Info added. Close. -- 
 
  
 
== <s>available kernels</s> ==
 
== <s>available kernels</s> ==

Revision as of 10:44, 15 February 2013

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)