debian-pi/raspbian-ua-netinst

Error/warning while installing minimal: "Operation not permitted" while creating initrd hard link

lukehutch opened this issue · 4 comments

See screenshot. The only thing I changed in the settings before booting was to set the distribution to "minimal". The install continued after this error, and the RPi appears to boot OK.

IMG_20200809_220642

I didn't change anything on the install script but I get the exactly same error; I also get it every time I upgrade something, usually security updates.

That's because FAT32, ie /boot/ doesn't support hard links. So this is fully expected.
And indeed, every time there is f.e. a kernel upgrade and thus dpkg wants to create a hard-link (as backup), you'll see that warning/error.

Then a question arises: back on Jessie this didn't happen, did something change?
It was fat32 back then too, maybe it wasn't trying to create hardlinks? Why are those create anyway?

It's not related to Jessie, but a change in the installer over time. My guess it's specifically this change and/or this one, included in the installer since v1.1.1.

In the screenshot, you can see "Regenerating initramfs", which is also triggered with f.e. a kernel upgrade. And with an upgrade, dpkg first wants to make a backup in case things fail.
It has always been FAT32 as the ARM GPU, which starts the RPi boot up process, can only read from that filesystem type, hence it has always been a requirement.