GNU bug report logs - #31994
Support for WinRe partition

Previous Next

Package: parted;

Reported by: Hans-Joachim Baader <Hans-Joachim.Baader <at> cjt.de>

Date: Thu, 28 Jun 2018 15:18:02 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Brian C. Lane" <bcl <at> redhat.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31994: closed (Support for WinRe partition)
Date: Thu, 31 Jan 2019 19:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 31 Jan 2019 11:32:01 -0800
with message-id <20190131193201.GC11492 <at> lister.brianlane.com>
and subject line Re: bug#31994: Support for WinRe partition
has caused the debbugs.gnu.org bug report #31994,
regarding Support for WinRe partition
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31994: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31994
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hans-Joachim Baader <Hans-Joachim.Baader <at> cjt.de>
To: "bug-parted <at> gnu.org" <bug-parted <at> gnu.org>
Subject: Support for WinRe partition
Date: Thu, 28 Jun 2018 10:36:45 +0000
Hello maintainers,

Windows 10 uses a recovery partition which is sometimes marked with
partition type 0x27 on MBR systems. I don't know why some vendors
use MBR rather than GPT, but it's a fact.

0x27 is in fact defined as Windows RE hidden partition (see
https://www.win.tue.nl/~aeb/partitions/partition_types-1.html).

I haven't found a way to create a partition with this ID in parted. I used
parted 3.2 which is 4 years old but I don't think is has been changed
in Git. For example when I create a NTFS partition and do

set 3 hidden on

I get ID 0x17. Perhaps a new flag is needed, e.g.

set 3 winre on

Do you think that parted should support that? Perhaps I could contribute
a patch if it's not supported yet.

Best regards,
Hans-Joachim Baader


[Message part 3 (message/rfc822, inline)]
From: "Brian C. Lane" <bcl <at> redhat.com>
To: Hans-Joachim Baader <Hans-Joachim.Baader <at> cjt.de>
Cc: 31994-done <at> debbugs.gnu.org
Subject: Re: bug#31994: Support for WinRe partition
Date: Thu, 31 Jan 2019 11:32:01 -0800
On Thu, Jul 19, 2018 at 03:33:21PM -0700, Brian C. Lane wrote:
> On Thu, Jun 28, 2018 at 10:36:45AM +0000, Hans-Joachim Baader wrote:
> > Hello maintainers,
> > 
> > Windows 10 uses a recovery partition which is sometimes marked with
> > partition type 0x27 on MBR systems. I don't know why some vendors
> > use MBR rather than GPT, but it's a fact.

I've applied the msftres on msdos patch to master, thanks! I left out
the debian specific patch for now, it doesn't seem to be necessary in my
builds using gcc 9.0.1 on Fedora rawhide.


-- 
Brian C. Lane (PST8PDT)


This bug report was last modified 6 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.