From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 21:53:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A9F79A1 for ; Thu, 15 Nov 2012 21:53:52 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 8AF4F8FC15 for ; Thu, 15 Nov 2012 21:53:51 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 25C3C17010; Thu, 15 Nov 2012 11:53:44 -1000 (HST) Message-ID: <50A56467.1030206@hdk5.net> Date: Thu, 15 Nov 2012 11:53:43 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Warren Block Subject: Re: Advanced Format Drive ? GPT ? References: <17388.1352953630@tristatelogic.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 21:53:52 -0000 Warren Block wrote: > On Wed, 14 Nov 2012, Ronald F. Guilmette wrote: > >> I'm looking at the examples section of the gpart(8) man page. May I >> assume that if I just want to merely ``try out'' GPT... you know... >> taking it out on the road for a first time test run... that I can >> just do the first five (5) commands listed under EXAMPLES and then >> that will be enough to go ahead and try installing FreeBSD into the >> created freebsd-ufs partition? >> >> Even assuming that the answer is yes, I have still more questions... >> Where are these magic numbers coming from?? I am specifically talking >> about the number "34" in the "-b 34" option and also the number "162" >> in the "-b 162" option. Tha man page just tosses those into the example >> command lines without saying a word about them. And you can probably >> guess what it is that is especially troubling to me about them... neither >> one of them is divisible by 8 (i.e. 4KB/512B). So would the examples >> in the current gpart(8) man page produce an Epic Fail when and if they >> were used with a modern "Advanced Format" drive? > > -b is the beginning block of a partition. 34 is a magic value, the size > of a standard GPT partition table. A good overall reference on GPT is > the Wikipedia page: http://en.wikipedia.org/wiki/GUID_Partition_Table > > Remember that the man page is a reference, not a tutorial. I wanted > more specific notes that followed best practices, and that was the > source for this article: > http://www.wonkity.com/~wblock/docs/html/disksetup.html > > In general, you create a "partition scheme" first. This can be MBR, > GPT, or others. (But use GPT.) > > Rather than combine the bootcode with the partition table, GPT just uses > a small partition for it. Since the standard GPT allows for up to 128 > partitions, there's no reason not to use them. > > Next come other partitions for UFS or ZFS filesystems or swap. > > That's it, really. The rest is details the man page can explain, like > additional options for alignment. (The creation of the first UFS > partition in the article does not use -a because older versions of gpart > did unexpected things when -a and -b were combined. The alignment > produced is correct.) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Aloha Warren, I looked over the GPT sample and have a question. In the fstab entries, something that uses msdosfs, (thumb drive maybe). Can you enter it directly in the fstab after the basic partitions and other /dev have been entered in the initial setup? Thanks. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol