From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 20 22:41:54 2008 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBEC5106566C for ; Sun, 20 Jul 2008 22:41:54 +0000 (UTC) (envelope-from didrik@kth.se) Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by mx1.freebsd.org (Postfix) with ESMTP id 635BF8FC0C for ; Sun, 20 Jul 2008 22:41:54 +0000 (UTC) (envelope-from didrik@kth.se) Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id C2638234882; Mon, 21 Jul 2008 00:39:19 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dw1tMAlXKhPg; Mon, 21 Jul 2008 00:39:15 +0200 (CEST) Received: from webmail.sys.kth.se (unknown [IPv6:2001:6b0:1:1300:214:38ff:fec5:5a2d]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 42E092346C3; Mon, 21 Jul 2008 00:39:12 +0200 (CEST) Received: from 80.217.136.213 (SquirrelMail authenticated user didrik) by webmail.sys.kth.se with HTTP; Mon, 21 Jul 2008 00:39:15 +0200 (CEST) Message-ID: <28735.80.217.136.213.1216593555.squirrel@webmail.sys.kth.se> In-Reply-To: References: <57797.91.95.8.243.1216313772.squirrel@webmail.sys.kth.se> <64373.91.95.8.243.1216323299.squirrel@webmail.sys.kth.se> <49814.91.95.8.243.1216416842.squirrel@webmail.sys.kth.se> Date: Mon, 21 Jul 2008 00:39:15 +0200 (CEST) From: "Didrik Madheden" To: "Miles Nordin" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-sparc64@freebsd.org Subject: Re: Sparc64 partitions compatible with PC? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 22:41:54 -0000 >>>>>> "dm" == Didrik Madheden writes: > > dm> 2016 blocks too long. > > possibly the command line tools like fdisk and bsdlabel will let you > enter with better resolution? i don't know. The label editor invoked through sysinstall already let me specify values with higher resolution. The problem is that that yields 2016 possible places where the FS could start. (As you pointed out, and as I suspected, you need to hit the right spot) And that's more manual labour than I'm willing to sacrifice. I tried three values, aligned to 1008 sectors. (1008 is the cylinder size) As I said in my other mail, I've no successfully installed FBSD on the Sparc again and I'm now backing it all up over FTP. > dm> I suppose T for toggle newfs=N will do the job, but I'm > dm> paranoid, so I want a second opinion. > > second opinion is, don't use the installer at all. Install onto > another disk, or use a livecd. but it's just an opinion. > > Remember not to make any extended MBR partitions, ever. > > It may actually be a problem just to make an MBR partition with a BSD > label inside it, because the label could get written at the beginning > of the MBR slice, somewhere in the middle of your sparc partition. Hmm, what I tried, AFAIK, was to make a dd (Dangerously dedicated) partition, ranging from absolute 0-the last sector. Since the relevant label was not the first one, I suppose it would be contained within the dd partition? Not that it really matters now... > # size offset > # ---------- ---------- > a: 20972448 0 > b: 2097648 41612 > c: 54757584 0 > d: 20972448 20806 > e: 737378208 43693 > > ^^^ this is a crazy disklabel with lots of overlapping partitions. > AFAICT it's not right. Actually, the only thing that's downright wrong is C, which overlaps other labels. The other labels add up just fine. Remember that offset and size are in different units. 1 cylinder = 1008 sectors. (Or whatever the units are) If you put the labels in the order a, d, b, e, and you'll see that it all adds up. /Didrik Madheden