Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 09:05:44 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        saeedeh motlagh <saeedeh.motlagh@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: define more partitions in freebsd
Message-ID:  <alpine.BSF.2.00.1306030902370.27951@wonkity.com>
In-Reply-To: <CAN%2BS=WAeR6ndOZ4_Lo5hyOKfAsT4RLZZ6mvCc-SFgzxSEDStYg@mail.gmail.com>
References:  <CAA_1SgHpcfWmS-CgE1WfQj4GLop9Wgeg__v2tzVbCj8pyt=qiA@mail.gmail.com> <87y5atg73c.fsf@oak.localnet> <CAA_1SgESNUPyH9-h6o-uij1K6arF4-d8GuS-XW5i3pFyXA0uCg@mail.gmail.com> <87y5ascp6v.fsf@oak.localnet> <CAN%2BS=WAeR6ndOZ4_Lo5hyOKfAsT4RLZZ6mvCc-SFgzxSEDStYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jun 2013, saeedeh motlagh wrote:

> thanks Carl,
>
> i tried your your manual step by steps on FreeBSD8.2 but error happened.
> this is what i've done:
> gpart create -s MBR ad3
> ad3 created
> gpart add -t freebsd ad3
> ad3s1 added
> gpart create -s BSD -n 20 ad3s1
> gpart: geom 'ad3s1': File Exists
>
> if i do not run the second command and run the third one, it says "invalid
> argument".
>
> i don't know what should i do:( any comments or hints are really
> appreciated.

[please stop top-posting, it makes replies more difficult]

The slice entry is still present on the disk, and must be removed and 
recreated:

   gpart delete -i1 ad3
   gpart add -t freebsd ad3

Again, GPT is a better solution unless you have a Thinkpad with a broken 
BIOS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1306030902370.27951>