You are not logged in.
After upgrade I have error:
==> 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?
Last edited by ZeroLinux (2012-12-10 11:47:47)
Offline
I think it is 'btrfsck'.
EDIT: Have a look at this thread-
https://bbs.archlinux.org/viewtopic.php?pid=1121677
Last edited by illusionist (2012-12-10 09:50:03)
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
I tried to install from AUR: btrfs-progs-git and mkinitcpio-btrfs
Replaced hook btrfs with btrfs_advanced
Still have error:
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.
Offline
The wiki says:
"Fully functional fsck.btrfs is not released yet, and ArchLinux works with its limited version in wrong way."
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
I tried to insert btrfsck into HOOK array. It doesn't work:
==> 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?
Last edited by ZeroLinux (2012-12-10 10:21:19)
Offline
Add btrfsck to BINARY line.
Last edited by illusionist (2012-12-10 10:28:45)
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
Ok. Now is this:
BINARIES="btrfsck"
HOOKS="base udev keymap autodetect modconf block filesystems usbinput encrypt btrfs vbox"
Is this right variant?
Offline
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
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
I think it is.
Here is my mkinitcpio for some reference : http://pastebin.com/qgRtJUih
Thank you a lot!!!
Offline