[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD UFS partitions not recognized

From: Curtis Gedak
Subject: Re: FreeBSD UFS partitions not recognized
Date: Thu, 05 Mar 2009 12:56:25 -0700
User-agent: Thunderbird (X11/20090105)

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


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.

~/tmp/parted/parted$ sudo ./parted /dev/sda2 unit s print
Error: /dev/sda2: unrecognised disk label

This is from GNU Parted
# git branch
* master

   Hans Lambermont

ps. please CC me as I'm not subscribed to this list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]