From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 17 20:45:24 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 39D97106564A for ; Thu, 17 Jul 2008 20:45:24 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4118FC1B for ; Thu, 17 Jul 2008 20:45:24 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K4600JU44BJ9140@asmtp014.mac.com> for freebsd-sparc64@FreeBSD.org; Thu, 17 Jul 2008 13:45:20 -0700 (PDT) Sender: xcllnt@mac.com From: Marcel Moolenaar To: Didrik Madheden In-reply-to: <57797.91.95.8.243.1216313772.squirrel@webmail.sys.kth.se> X-Priority: 3 (Normal) References: <57797.91.95.8.243.1216313772.squirrel@webmail.sys.kth.se> Message-id: <039F6F4D-3758-45A2-9D9C-02562F3EF27D@mac.com> Date: Thu, 17 Jul 2008 13:45:19 -0700 X-Mailer: Apple Mail (2.928.1) 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: Thu, 17 Jul 2008 20:45:24 -0000 On Jul 17, 2008, at 9:56 AM, Didrik Madheden wrote: > I have a Sparc box that I use mainly as an FTP server. (SunBlad 100 > if it > makes a ny difference) What I want to do now is to move that disk to > an > x86 box. > The disk is partitioned in the following way: A single big native > partition, with a number of labels. (Or are disklabels the native > partitioning on Sparc? I don't remember) > Anyway, I have a couple of small labels for the usual system stuff > and a > big one for storage. What I want to do is wipe the system related > labels > and only keep the one used for storage. (And consequently do a fresh > install on the PC) > My concern however is that the Sun partitioning will be incompatible > with > PC partitioning. If so, can anyone give advice on how to move the > disk to > a PC? > Since it's a big disk, I'd like to avoid mirroring it. FreeBSD 7-STABLE supports sparc64 labeling, aka vtoc8. This is done with gpart. You can build and load the geom_part_vtoc8 kernel module and it'll automatically detect the partitioning of the disk. You can use the gpart(8) tool to look at the partitioning and even relabel the disk. I don't know if UFS is going to give you problems with the endianness though... FYI, -- Marcel Moolenaar xcllnt@mac.com