On Fri, 31 Jul 2009, Joel Granados wrote:

You must be root and you should have done:
<snip>
git clone git://git.debian.org/git/parted/parted.git
cd parted
git branch next --track origin/next
./bootstrap

Hi Joel,

I have done this as me (i.e., peb not root), followed by
        ./configure --prefix/tmp --disable-device-mapper; make
because we don't have libdevmapper (neither need nor want it).

As a consequence I got /tmp/bin/{disk,label} and /tmp/sbin/part{ed,probe}

Can you please paste the output of the following set of commands:

<snip>
dd if=/dev/zero of=testfile bs=512c count=100
echo n | sudo /usr/local/sbin/parted  ---pretend-input-tty testfile "mklabel gpt 
mkpart pirmary ext3 1 -1"
</snip>

Then, as root:
        dd if=/dev/zero of=testfile bs=512c count=100
100+0 records in
100+0 records out
51200 bytes (51 kB) copied, 0.000194 s, 264 MB/s
        echo n | /tmp/sbin/parted  ---pretend-input-tty testfile \
        "mklabel gpt mkpart pirmary ext3 1 -1"
Error: Can't have the end before the start!

Hope that helps

Regards
Peter


_______________________________________________
bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to