[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Control: reassign -1 src:grub2 2.02+dfsg1-13
Control: close -1 2.02+dfsg1-14
Control: merge 924760 -1

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.

> 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@debian.org>  Sat, 23 Mar 2019 09:47:10 +0000

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: