Bug#925414: debian-installer: fails to install on xfs

Cyril Brulebois kibi at debian.org
Sun Mar 24 23:06:30 GMT 2019


Hey,

Colin Watson <cjwatson at debian.org> (2019-03-24):
> On Sun, Mar 24, 2019 at 06:59:31PM +0100, Cyril Brulebois wrote:
> > This is with a daily from 2019-03-24 but I'm not sure this is due to
> > some kernel module mismatch between d-i and the installed system…
> 
> For future reference, kernel module mismatches can't cause this type
> of error.  The relevant bit of GRUB's filesystem handling runs in
> userspace, and only needs access to the block device.

Sure, it's just a common enough gotcha that's a #1 topic on my list to
check before doing anything else; I didn't mean to imply this was
particularly relevant in this specific context. Sorry for the incomplete
brain dump…

> > Installing with default ext4, with or without encrypted LVM works just
> > fine, but grub fails when trying to install on plain xfs:
> > 
> >     Mar 24 17:35:57 grub-installer: info: Installing grub on '/dev/sda'
> >     Mar 24 17:35:57 grub-installer: info: grub-install does not support --no-floppy
> >     Mar 24 17:35:57 grub-installer: info: Running chroot /target grub-install  --force "/dev/sda"
> >     Mar 24 17:35:57 grub-installer: Installing for i386-pc platform.
> >     Mar 24 17:35:58 grub-installer: grub-install: error:
> >     Mar 24 17:35:58 grub-installer:
> >     Mar 24 17:35:58 grub-installer: unknown filesystem
> >     Mar 24 17:35:58 grub-installer: .
> >     Mar 24 17:35:58 grub-installer: error: Running 'grub-install  --force "/dev/sda"' failed.
> 
> The syslog shows that 2.02+dfsg1-13 was installed.  I already fixed this
> in 2.02+dfsg1-14 - it's just not in testing yet:
> 
> grub2 (2.02+dfsg1-14) unstable; urgency=medium
> 
>   * Make signed packages depend on a matching version of grub-common, in an
>     attempt to prevent incorrect testing migrations (closes: #924814).
>   * Cherry-pick from upstream:
>     - xfs: Accept filesystem with sparse inodes (closes: #924760).
>   * Minimise writes to EFI variable storage (closes: #891434).
> 
>  -- Colin Watson <cjwatson at debian.org>  Sat, 23 Mar 2019 09:47:10 +0000

OK, great.

Sorry for the noise; I didn't report it when I first encountered it a
couple of weeks ago and lost track; didn't want to do that again, so I
filed it right away before hoping into a train.


Cheers,
-- 
Cyril Brulebois (kibi at debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20190325/3f5d54af/attachment.sig>


More information about the Pkg-grub-devel mailing list