[Parted-maintainers] Bug#788808: parted: incorrectly reads partition table, or crashes
A Mennucc1
mennucc1 at debian.org
Wed Jun 17 18:00:50 UTC 2015
You are right.
I used the command
# dd conv=notrunc if=/dev/zero of=a20_Lime_debian_3.4.90_release_3.img
bs=446 count=1
to delete the boot code.
Now the wheezy version of parted reports:
> No Implementation: Partition 1 isn't aligned to cylinder boundaries.
This is still unsupported.
while th Jessie version reports
vvvvvvvvvvvvvvvvvvvvvvvvvvv
Model: (file)
Disk
/home/andrea/mnt/frivolo/media/R2D2/olimex/a20_Lime_debian_3.4.90_release_3.img:
3980MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 17,8MB 16,8MB primary fat16
2 17,8MB 3980MB 3963MB primary ext3
^^^^^^^^^^^^^^^^^^^
or in sectors
> Number Start End Size Type File system Flags
> 1 2048s 34814s 32767s primary fat16
> 2 34816s 7774207s 7739392s primary ext3
that is exactly what cfdisk reports
THX
a.
ps: anyway I think that 'parted' should check as expressed above. You
may want to change the bug title
Il 15/06/2015 15:31, Phil Susi ha scritto:
>
> It seems that parted has decided that the MBR looks more like a FAT
> boot sector than an MBR. Please attach the first kb of the image.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20150617/f2ea823e/attachment.sig>
More information about the Parted-maintainers
mailing list