Since an MSDOS partition table is contained within the first sector of
the disk, a dump of this information might prove useful to the Parted
team as well.
You can capture a binary dump of the first 512 bytes with the following
command:
dd if=/path-to-your-disk-device of=/path-to-file-to-store-dump
bs=512 count=1
CAUTION: Be very careful to make sure that "if" points to the
input device
and"of" points to the output filename.
If these are swapped, your system will fail to
boot because
the Master Boot Record will have been overwritten.
A human readable dump of the first 512 bytes can be obtained with:
hexdump -C -n 512 /path-to-your-disk-device
Regards,
Curtis
H wrote:
Hi Curtis,
Curtis Gedak wrote on 20090305:
It does appear that there is a problem with Ubuntu's version 1.8.9 of
parted.
Hopefully someone from Ubuntu, or the Parted team will be able to help.
One item that would be useful to these folks would be test the latest
development version of parted with this problem. A link to the GIT
version of parted can be found on the parted web site.
http://www.gnu.org/software/parted/download.shtml
~/tmp/parted/parted$ sudo ./parted /dev/sda2 unit s print
Error: /dev/sda2: unrecognised disk label
This is from GNU Parted 1.8.8.1.127-bcc7
# git branch
* master
regards,
Hans Lambermont
ps. please CC me as I'm not subscribed to this list.
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted