You are not logged in.

#1 2013-03-06 08:51:10

mibadt
Member
Registered: 2009-09-25
Posts: 376

[SOLVED] New "HOOKS" configuration

Hi,
I'm on a fully upgraded Arch_64 on a PC with 2 STAT drives and USB keyboard and mouse.
Although I fully switched to systemd, recently, while performing kernel upgrades, I get an error message like the one below. I've followed this link , https://bbs.archlinux.org/viewtopic.php?id=154694, yet my /etc/mkinitcpio.conf.pacnew looks OK (details below). I've copied the HOOKS line from /etc/mkinitcpio.conf.pacnew to /etc/mkinitcpio.conf (details below).

My questions:
1.Is this OK?
2. Do I need to add some more hooks (e,g., usbinput which was in the original file only) to the /etc/mkinitcpio.conf HOOK line (the first, commented line is the original one, the second one is the one I've copied from /etc/mkinitcpio.conf.pacnew).



Thanks

----------copy of error messages---------------

==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]

--------- /etc/mkinitcpio.conf HOOK line-------------------

#HOOKS="base udev autodetect pata scsi sata resume filesystems usbinput fsck"
 HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

--------- /etc/mkinitcpio.conf.pacnew HOOK line-------------------

HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

Last edited by mibadt (2013-03-06 09:12:44)


Best regards,
Michael Badt

Offline

#2 2013-03-06 09:07:18

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [SOLVED] New "HOOKS" configuration

[DELETED] -- didn't answer the poster's question, I read too fast. Sorry.

(Was: Did you recreate the initramfs? ("mkinitcpio -p linux" as root, see the wiki for further reading.)

Last edited by ball (2013-03-06 09:37:02)

Offline

#3 2013-03-06 09:12:21

mibadt
Member
Registered: 2009-09-25
Posts: 376

Re: [SOLVED] New "HOOKS" configuration

Thanks a lot !
Indeed running "mkinitcpio -p linux" solved it!


Best regards,
Michael Badt

Offline

#4 2013-03-06 17:13:06

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,576
Website

Re: [SOLVED] New "HOOKS" configuration

Please don't continue to do this: the combined output of the warning message and
reading the wiki mkinitcpio page would be more than sufficient to answer this
question; of course, that would have required you to do the work rather
than expecting the community to do it for you.

This is classic help vampirism.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#5 2013-03-08 03:07:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,661

Re: [SOLVED] New "HOOKS" configuration

mibadt wrote:

Thanks a lot !
Indeed running "mkinitcpio -p linux" solved it!

Solved what? How did that answer your question? Your new hooks line is not functionally equivalent to the old one, if that was the question. But you should know that since you configured that line in the first place...


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB