From owner-freebsd-ia64 Tue Feb 18 23:45:18 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 C625A37B401 for ; Tue, 18 Feb 2003 23:45:16 -0800 (PST) Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3526343F75 for ; Tue, 18 Feb 2003 23:45:15 -0800 (PST) (envelope-from adsharma@eagle.sharma-home.net) Received: by eagle.sharma-home.net (Postfix, from userid 500) id 8A191817E; Tue, 18 Feb 2003 23:51:15 -0800 (PST) Date: Tue, 18 Feb 2003 23:51:15 -0800 From: Arun Sharma To: Marcel Moolenaar Cc: freebsd-ia64@FreeBSD.ORG Subject: Re: FreeBSD ia64 install problems WAS: install on Dell Precision Work Station 730 Message-ID: <20030219075115.GA32605@sharma-home.net> References: <03781128C7B74B4DBC27C55859C9D7380B9DDB5D@es06snlnt.sandia.gov> <20030210203522.GA543@athlon.pn.xcllnt.net> <20030214024721.GB1573@athlon.pn.xcllnt.net> <20030215020654.GA1779@athlon.pn.xcllnt.net> <20030219022618.GA1081@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030219022618.GA1081@athlon.pn.xcllnt.net> User-Agent: Mutt/1.4i 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 Tue, Feb 18, 2003 at 06:26:18PM -0800, Marcel Moolenaar wrote: > On Tue, Feb 18, 2003 at 06:07:53PM -0800, Arun Sharma wrote: > > > > Now if I convert the MBR based partition table into a fake MBR (with a > > single EFI GPT partition), I can't mount root anymore from ufs:da0s2a. > > That's because it'll be ufs:da0s1a. By removing the MBR, you remove > the MBR based mapping. What happens is that the GPT takes over, which > has it's own mapping. 1. Why da0s1a ? The FreeBSD partition is the second partition in the GPT. 2. ufs:da0s1a failed to mount root for me. However, it gave me the option of mounting root from: da0s2, da0p4 etc. When I chose to mount root from da0s2 (without the "a"), it dropped me into single user mode, because the kernel couldn't find /usr and other partitions. As I posted earlier, MBR and GPT had identical information about the FreeBSD partition. FreeBSD is able to boot correctly when using MBR, but not when using GPT. 3. I think FreeBSD installer writing to the legacy MBR when using GPT is a significant issue, because it renders the EFI system partition (fs0) invisible to firmware. I ended up dd'ing a known good fake MBR into the first 512 bytes of the disk to recover. So how do I get the kernel to peep into da0s2 and recognize the various partitions inside it (da0s2a etc) ? I'm using GPT_ENT_TYPE_FREEBSD. Your successful gpt install seemed to use GPT_ENT_TYPE_FREEBSD_UFS. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message