[Parted-maintainers] Bug#896171: MS DOS partition table recognized as Atari AHDI
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue Aug 28 22:12:52 BST 2018
On 8/28/18 6:29 PM, Emmanuel Kasper wrote:
> Ok i can reproduce the issue using the pc6.mbr posted by bouke:
>
> cp pc6.mbr disk.img
> # otherwise parted complains "Can't have a partition outside the disk"
> truncate -s 600GB disk.img
Could be that CloneZilla is writing a corrupted partition table. I have
only ever seen this issue in cases where people were using CloneZilla.
> CCing John as he is the original atari patch author
>
> @john: I am heavily suspecting here the disk signature, but maybe you
> have a better idea ?
You can just backport this patch that upstream has to workaround this
problem [1]. Basically, they just changed the order in which partitions
are probed and thus, parted probes for MS-DOS first, then later for
Atari.
I hope I'll find some time in the near future to properly investigate
this issue though. The idea is to have a look at how the kernel does
the Atari partition probing, the code there seems more reliable.
Thanks,
Adrian
> [1] http://git.savannah.gnu.org/cgit/parted.git/commit/?id=395f8aabfecb28820006d37ec37e9ffe1d2eb1e3
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Parted-maintainers
mailing list