Date: Fri, 19 Aug 2011 09:00:11 +0400 From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: Kevin Oberman <kob6558@gmail.com> Cc: Yuri <yuri@rawbw.com>, freebsd-stable@freebsd.org Subject: Re: WD Advanced Format: do I need to do something special? Message-ID: <4E4DEDDB.6060201@FreeBSD.org> In-Reply-To: <CAN6yY1sAZvQ_p9bmco-kSSwKc2ka_b7%2BXeK%2B5ufhTh0fkQdHXQ@mail.gmail.com> References: <4E4CD19E.5070108@rawbw.com> <20110818101034.GA1958@emphyrio.blackend.org> <CAN6yY1sAZvQ_p9bmco-kSSwKc2ka_b7%2BXeK%2B5ufhTh0fkQdHXQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig74A1FA41A34B9FA8A9C4CB9D Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 19.08.2011 3:11, Kevin Oberman wrote: > I'd strongly suggest avoiding fdisk(8) and using gpart(8) on 8 and > above. It has an > alignment option that makes this all just work and also allows the use = of GPT > formatting. (Watch out for GPT on any system that needs to run 32-bit W= indows.) >=20 > gpart create -s gpt ada1 > gpart bootcode -b /boot/pmbr ada1 > gpart add -t freebsd-boot -a 4 -s 128 -b 40 ad0 > gpart bootcode -p /boot/gptboot -i 1 ad0 > gpart add -t freebsd-ufs -a 4 -s 2097152 ada1 > gpart add -t freebsd-swap -a 4 -s 8388608 ada1 > gpart add -t freebsd-ufs -a 4 -s 10485760 ada1 > gpart add -t freebsd-ufs -a 4 -s 1048576 ada1 > gpart add -t freebsd-ufs -a 4 ada1 If you are using gpart with -a option you don't need to specify exactly n= umbers. And if you want to align your partition to 4096 bytes you should use "-a = 4k" or "-a 8". E.g. # gpart add -t freebsd-boot -a 4k -s 64k ad0 --=20 WBR, Andrey V. Elsukov --------------enig74A1FA41A34B9FA8A9C4CB9D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJOTe3fAAoJEAHF6gQQyKF6QPsIALO6JwNVmk8GnWYIsCgshZNB KEAg/DwXlBpapfGONuIXv+F6Db4ydeKeWvZouINc6W9xx4qgrmUwOFs6oVi6tO0d bQUg2wB6QFHufCdC5Ndfb9RMYZZLKjAfhCnOYEj/8G1SHPoaPOFUBJ+qd4JBwSvq 3M9nMEsNlOyyLsBvti1sPresvypwv3JQrzvGW7XEPUsbU0+VgUEeoIXLXGfMWDgR z0V45ErMLzN2oc5Le3l9617m4SM5INUpWEZuOU5iHBAYXoTlglsaGscmQPKd9aTt GK0cs3nlu5xeH2BvmJtbUcmCL8z4vPy700aAu0EUnMdFvHvqTreh0s/bmrWMSiY= =cvvN -----END PGP SIGNATURE----- --------------enig74A1FA41A34B9FA8A9C4CB9D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E4DEDDB.6060201>