From owner-freebsd-ia64 Fri Feb 14 18: 6:59 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B84BD37B401 for ; Fri, 14 Feb 2003 18:06:56 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C83B43F85 for ; Fri, 14 Feb 2003 18:06:55 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1F26t1o060931; Fri, 14 Feb 2003 18:06:55 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1F26t08001882; Fri, 14 Feb 2003 18:06:55 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1F26tLB001881; Fri, 14 Feb 2003 18:06:55 -0800 (PST) Date: Fri, 14 Feb 2003 18:06:54 -0800 From: Marcel Moolenaar To: Arun Sharma Cc: freebsd-ia64@FreeBSD.ORG Subject: Re: FreeBSD ia64 install problems WAS: install on Dell Precision Work Station 730 Message-ID: <20030215020654.GA1779@athlon.pn.xcllnt.net> References: <03781128C7B74B4DBC27C55859C9D7380B9DDB5D@es06snlnt.sandia.gov> <20030210203522.GA543@athlon.pn.xcllnt.net> <20030214024721.GB1573@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 14, 2003 at 05:27:33PM -0800, Arun Sharma wrote: > Marcel Moolenaar writes: > > > > > > > What's the recommended tool to set the GPT partition type ? > > > > That depends. If you're running Linux, use diskpart. If you only > > have EFI, get Intel's EFI tool. When running FreeBSD, use gpt(8). > > Linux uses GNU parted or a distribution specific tool. You're right. I got the name wrong. > GNU parted > doesn't know about the FreeBSD GUID type nor does it allow entering > the guid type manually. It maps filesystem types to GUID types (by > design). Then parted is broken. A low-level tool should give low-level access. It also makes certain assumptions that causes it to enforce that the GPT managed space is always an even number of sectors. > When I installed FreeBSD over this partition, the instalation went ok, > but when I reboot, EFI couldn't find fs0 any more. On further > investigation, I found that the FreeBSD installer had written the > partitioning info to MBR. Correct. The installer knows how to use GPT, it just doesn't know how to make one. The issue here is that sysinstall expects a two leveled division. First the disk partitioning (slicing) and then the disklabel partitioning. Under GPT we don't use disklabels anymore by default. The UUID I mentioned has been reserved for GPT based partitioning with disklabels. > Normally MBR contains a fake EFI > partition. > I went back and restored the MBR to it's original form, so that EFI > could look into the GPT. Now when I try to boot FreeBSD, it can't > find "ufs:da0s2a". Odd. Is the disklabel in the FreeBSD partition valid? > So my question is, what do I need to do to the GPT to get FreeBSD > recognize it properly? Have I screwed up on the endianness of the > GUID ? No. Endianness is always little-endian for GPT. You did it right. > I'd like to see an octal dump of a working GPT, if possible. 0000000 0000 0000 0000 0000 0000 0000 0000 0000 * 0000660 0000 0000 0000 0000 0000 0000 0000 0100 0000700 0000 ffee ffff 0001 0000 5cdb 0224 0000 0000720 0000 0000 0000 0000 0000 0000 0000 0000 * 0000760 0000 0000 0000 0000 0000 0000 0000 aa55 0001000 4645 2049 4150 5452 0000 0001 005c 0000 0001020 9d0e 1128 0000 0000 0001 0000 0000 0000 0001040 5cdb 0224 0000 0000 0022 0000 0000 0000 0001060 5cba 0224 0000 0000 8007 8f43 23a3 11d7 0001100 7c92 0300 c547 f3d7 0002 0000 0000 0000 0001120 0080 0000 0080 0000 dba4 33dd 0000 0000 0001140 0000 0000 0000 0000 0000 0000 0000 0000 * 0002000 7328 c12a f81f 11d2 4bba a000 3ec9 3bc9 0002020 8047 8f43 23a3 11d7 7c92 0300 c547 f3d7 0002040 0022 0000 0000 0000 0021 0004 0000 0000 0002060 0000 0000 0000 0000 0000 0000 0000 0000 * 0002200 7cb6 516e 6ecf 11d6 f88f 0200 092d 2b71 0002220 8058 8f43 23a3 11d7 7c92 0300 c547 f3d7 0002240 0022 0004 0000 0000 5cba 01e4 0000 0000 0002260 0000 0000 0000 0000 0000 0000 0000 0000 * 0002400 7cb5 516e 6ecf 11d6 f88f 0200 092d 2b71 0002420 2d80 2ac0 1dd2 1000 14bd 0300 c547 f3d7 0002440 5cbb 01e4 0000 0000 5cba 0224 0000 0000 0002460 0000 0000 0000 0000 0053 0057 0041 0050 0002500 0000 0000 0000 0000 0000 0000 0000 0000 * 0002620 807a 8f43 23a3 11d7 7c92 0300 c547 f3d7 0002640 0000 0000 0000 0000 0000 0000 0000 0000 * At 2200 and 2400 are FreeBSD partitions. The first is an UFS partition, the second is a swap partition. Yours should be a disklabel partition. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message