FS#37203 - mkinitcpio fsck hook returns error "file not found (fsck.btrfs)" on btrfs
Attached to Project:
Arch Linux
Opened by Markus M. May (triplem) - Saturday, 05 October 2013, 20:28 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 05 October 2013, 21:35 GMT
Opened by Markus M. May (triplem) - Saturday, 05 October 2013, 20:28 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 05 October 2013, 21:35 GMT
|
Details
Description:
Installing a new ArchLinux on a btrfs root system leads to the error message: >>> Updating module dependencies. Please wait ... >>> Generating initial ramdisk, using mkinitcpio. Please wait... ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img ==> Starting build: 3.11.3-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> ERROR: file not found: `fsck.btrfs' ==> WARNING: No fsck helpers found. fsck will not be run on boot. ==> Generating module dependencies ==> Creating gzip initcpio image: /boot/initramfs-linux.img ==> WARNING: errors were encountered during the build. The image may not be complete. ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect ==> Starting build: 3.11.3-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> Generating module dependencies ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img ==> Image generation successful error: command failed to execute correctly Steps to reproduce: Install a new system to a btrfs root. Remarks: The error message goes away, if there is no more fsck-hook in the mkinitcpio.conf. I guess the file install/fsck could be adopted to not only treat ext-systems but also btrfs slightly different then the usual behaviour. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 05 October 2013, 21:35 GMT
Reason for closing: Duplicate
Additional comments about closing: of FS#29182 . Please search in the bugtracker before opening a new ticket.
Thanks.
Saturday, 05 October 2013, 21:35 GMT
Reason for closing: Duplicate
Additional comments about closing: of