Recreate /boot mkfs.xfs/grub incompatibility ?

General questions.
Post Reply
francisS
Posts: 11
Joined: January 5th, 2019, 7:16 pm

Recreate /boot mkfs.xfs/grub incompatibility ?

Post by francisS » January 14th, 2019, 8:18 am

Hello,

I had to reinstall ipfire because I suppose there is a mkfs.xfs/grub incompatibility...

When I tried to installed the PAE kernel I have a "/boot" disk full, the filesystem size is 64M, "du" say 24M used and "df" more than 50M... No way to retrieve de "lost" space so I do this from "IPFire 2.21 core126".

- remove kernel PAE (It is installed with a disk full an initramfs not complete and no install problem reported)
- backup /boot
- mkfs.xfs -f /dev/sda1
- restore /boot
- install kernel PAE
- reboot

At the boot gurb enter in rescue mode because an "unknown filesystem".

Booting form an USB "IPFire 2.19" key, the "/boot" filesystem is xfs, but it can not be mounted because an unknown xfs feature.

Grub need to be update or the MBR (that come from "IPFire 2.19" grub) or ... ?

Best regards.

Francis

User avatar
MichaelTremer
Core Developer
Core Developer
Posts: 5775
Joined: August 11th, 2005, 9:02 am

Re: Recreate /boot mkfs.xfs/grub incompatibility ?

Post by MichaelTremer » January 14th, 2019, 10:57 am

Hey,

the "lost" space is just XFS's metadata. It has a journal and many other things it reserves space for.

On the other hand: The XFS tools that we currently ship will enable a couple of modern XFS features that GRUB doesn't support. This is being fixed in Core Update 127 I believe. So far I recommend to just use ext4 or something for /boot. It doesn't matter much...
Support the project with our Donation Challenge!

Get Commercial Support for IPFire and more from Lightning Wire Labs!

Image

francisS
Posts: 11
Joined: January 5th, 2019, 7:16 pm

Re: Recreate /boot mkfs.xfs/grub incompatibility ?

Post by francisS » January 14th, 2019, 1:36 pm

Hello,

Thank you, wait for the 127 to test.

Best regards.

Francis

Post Reply