You are not logged in.

#1 2018-05-04 00:57:47

karcher
Member
Registered: 2018-01-09
Posts: 140

[SOLVED] ERROR: file not found: `fsck.overlay' during installation

Hi all,

I'm testing the installation of Arch on a VM and I got following error as I did:

pacman -Syu --noconfirm --needed

in the installation step, before pacstrap.

:: Synchronizing package databases...
downloading core.db...
downloading extra.db...
downloading community.db...
warning: archlinux-keyring-20180404-1 is up to date -- skipping
 there is nothing to do
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (10) broadcom-wl-6.30.223.271-13  crda-4.14-1  dhcpcd-7.0.4-1  file-5.33-1  libidn-1.34-2  linux-4.16.6-1  linux-firmware-20180416.b562d2f-1  man-pages-4.16-1  nano-2.9.6-1  pacman-5.0.2-3

Total Download Size:   145.79 MiB
Total Installed Size:  419.18 MiB
Net Upgrade Size:       17.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading linux-firmware-20180416.b562d2f-1-any.pkg.tar.xz...
downloading libidn-1.34-2-x86_64.pkg.tar.xz...
downloading linux-4.16.6-1-x86_64.pkg.tar.xz...
downloading crda-4.14-1-x86_64.pkg.tar.xz...
downloading dhcpcd-7.0.4-1-x86_64.pkg.tar.xz...
downloading file-5.33-1-x86_64.pkg.tar.xz...
downloading man-pages-4.16-1-any.pkg.tar.xz...
downloading nano-2.9.6-1-x86_64.pkg.tar.xz...
downloading pacman-5.0.2-3-x86_64.pkg.tar.xz...
downloading broadcom-wl-6.30.223.271-13-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
warning: could not get file information for boot/vmlinuz-linux
:: Processing package changes...
upgrading linux-firmware...
upgrading libidn...
upgrading linux...
upgrading broadcom-wl...
upgrading crda...
upgrading dhcpcd...
upgrading file...
upgrading man-pages...
upgrading nano...
upgrading pacman...
:: Running post-transaction hooks...
(1/7) Updating linux module dependencies...
(2/7) Updating linux initcpios...
==> 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: 4.16.6-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.overlay'
==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> Generating module dependencies
==> Creating gzip-compressed 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: 4.16.6-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
error: command failed to execute correctly
(3/7) Reloading system manager configuration...
(4/7) Creating temporary files...
(5/7) Reloading device manager configuration...
(6/7) Arming ConditionNeedsUpdate...
(7/7) Updating the info directory file...
resolving dependencies...
looking for conflicting packages...

The same process runs afterwards 2 times without any errors. So is this error severe or can I ignore it?

BTW
I have found this post:
https://bbs.archlinux.org/viewtopic.php?id=230265
where the same error appears but it is related with docker and in my case I don't use docker.

Last edited by karcher (2018-05-26 22:02:23)

Offline

#2 2018-05-04 02:55:04

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

Why do you need to update everything before running pacstrap?  Is something not working?  If everything boots up afterwards with no errors I would say you can ignore the warning.

Offline

#3 2018-05-04 09:53:58

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

Why do you need to update everything before running pacstrap?  Is something not working?

Yes. I'm actually doing this:

pacman -Sy --noconfirm --needed archlinux-keyring
pacman -Syu --noconfirm --needed

because I was getting another error, I don't remember what but it was fixed this way.

If everything boots up afterwards with no errors I would say you can ignore the warning.

It boots up and I haven't seen any errors (except one which is related to systemd and I have found a fix for it on github) but I was wondering if I had to do something with the mkinitcpio.

Wiki says is usually not required:

Initramfs
Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the linux package with pacstrap.

Offline

#4 2018-05-04 13:11:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

The error says that there's no way to fsck an overlay FS what is perfectly fine, since it's rarely used outside things like live- and install disks anyway.
I'd be more worried about the need to update the system because apparently of missing keys.
Which *exact* image do you use for installation (link to download URL)

Offline

#5 2018-05-04 14:51:36

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

seth wrote:

I'd be more worried about the need to update the system because apparently of missing keys.
Which *exact* image do you use for installation (link to download URL)

I first saw the error as I was using the Release: 2018.04.01 which if I'm not mistaken I downloaded over BitTorrent. I then inserted these two lines into my script to fix the error. Now I'm using the Current Release: 2018.05.01 which I downloaded over BitTorrent.

Last edited by karcher (2018-05-04 14:56:26)

Offline

#6 2018-05-04 14:56:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

We'd still need to know what error in particular.
It sounds keyring related, but actually

warning: archlinux-keyring-20180404-1 is up to date -- skipping

the keyring isn't updated (ie. your first call does nothing)

Offline

#7 2018-05-04 15:06:43

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

seth wrote:

We'd still need to know what error in particular.

I'll try to reproduce it with the older image and report (it'll take some time...)

Offline

#8 2018-05-26 22:01:57

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] ERROR: file not found: `fsck.overlay' during installation

Sorry. I could not reproduce the error. I have made some changes to my script after the error appeared. I don't know if it's related but I remember that I have removed several packages I had in the pacstrap step.

Offline

Board footer

Powered by FluxBB