I think it is.
Here is my mkinitcpio for some reference : http://pastebin.com/qgRtJUih
Thank you a lot!!!
]]>Ok. Now is this:
BINARIES="btrfsck"
HOOKS="base udev keymap autodetect modconf block filesystems usbinput encrypt btrfs vbox"
Is this right variant?
I think it is.
Here is my mkinitcpio for some reference : http://pastebin.com/qgRtJUih
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keymap]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
==> ERROR: Hook 'btrfsck' cannot be found
-> Running build hook: [usbinput]
-> Running build hook: [encrypt]
-> Running build hook: [btrfs_advanced]
-> Running build hook: [vbox]
I have root and /home on btrfs, therefore I can't get rid of this message, right?
The best way is to exclude fsck from HOOK array as I understand, right?
sudo mkinitcpio -p linux
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keymap]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: file not found: `fsck.btrfs'
==> WARNING: No fsck helpers found. fsck will not be run on boot.
-> Running build hook: [usbinput]
-> Running build hook: [encrypt]
-> Running build hook: [btrfs_advanced]
-> Running build hook: [vbox]
I tried to make the symlink
sudo ln -s /usr/bin/btrfsck /sbin/fsck.btrfs
but the problem remains.
EDIT: Have a look at this thread-
https://bbs.archlinux.org/viewtopic.php?pid=1121677
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keymap]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> ERROR: file not found: `fsck.btrfs'
==> WARNING: No fsck helpers found. fsck will not be run on boot.
-> Running build hook: [encrypt]
-> Running build hook: [btrfs]
-> Running build hook: [vbox]
I deleted fsck as temporary solution to build image.
What is the real solution?