Bug#635224: grub-pc: `grub-probe --target=fs` detects UFS filesystem as ZFS

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sun Jul 24 15:18:45 UTC 2011


On 24.07.2011 17:01, Jérémy Bobbio wrote:
> On Sun, Jul 24, 2011 at 12:53:46PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>>> It's not possible to distinguish whether ZFS or UFS a leftover. They may
>>>> both contain enough metadata to even access some files.
>>> If there is no other ways, then `update-grub` needs to check out what is
>>> the filesystem used for `/boot` and use that.
>> Which is subject to exactly the same problem.
> Would you have anything else to suggest that could be done to enable
> system upgrades to go through the end when encountering such situation?
>
The problem is deeper than just GRUB. Once such situation arises you
need human intervention to find out which filesystem is a real one and
destroy the other one. Not performing such act and just mounting and
writing to filesystem will after some time destroy the other one. The
culprit in any case is the choice to make. It's better to prevent such
situation from arising in the first place by modifying the mkfs tools to
zero-out first and last 32 mebibytes.
> Debian is known to offer an easy upgrade procedure. Even if Debian
> GNU/kFreeBSD for Squeeze was only released as a "technology preview",
> those system should not be a PITA to upgrade to Wheezy when it'll be
> out.

> Cheers,


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110724/8d5820c7/attachment.pgp>


More information about the Pkg-grub-devel mailing list