Skip site navigation (1)Skip section navigation (2)
Date:      18 Feb 2003 18:07:53 -0800
From:      Arun Sharma <arun.sharma@intel.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-ia64@FreeBSD.ORG
Subject:   Re: FreeBSD ia64 install problems WAS: install on Dell Precision Work Station 730
Message-ID:  <u65rh10qu.fsf@unix-os.sc.intel.com>
In-Reply-To: <20030215020654.GA1779@athlon.pn.xcllnt.net>
References:  <03781128C7B74B4DBC27C55859C9D7380B9DDB5D@es06snlnt.sandia.gov> <20030210203522.GA543@athlon.pn.xcllnt.net> <ur8ab1u5l.fsf@unix-os.sc.intel.com> <20030214024721.GB1573@athlon.pn.xcllnt.net> <ulm0i1gfu.fsf@unix-os.sc.intel.com> <20030215020654.GA1779@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar <marcel@xcllnt.net> writes:
> 
> > 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?

It must be, because I can boot. Here's what things look like after a
successful install.

# df -k /                                                              
Filesystem  1K-blocks   Used  Avail Capacity  Mounted on
/dev/da0s2a    257838 127690 109522    54%    /          

# gpt -r show /dev/da0                                                            
     start       end      size  contents                                        
         0         0         1  MBR                                             
         1         1         1  Pri GPT header                                  
         2        33        32  Pri GPT table                                   
        34    417665    417632  GPT part c12a7328-f81f-11d2-ba4b-00a0c93ec93b   
    417666    530185    112520                                                  
    530186  21397248  20867063  GPT part 516e7cb4-6ecf-11d6-8ff8-00022d09712b   
  21397249  22425344   1028096  GPT part 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f   
  22425345  22537791    112447  GPT part e3c9e316-0b5c-4db8-817d-f92df00215ae   
  22537792  35903039  13365248  GPT part ebd0a0a2-b9e5-4433-87c0-68b6b72699c7   
  35903040  35916513     13474                                                  
  35916514  35916545        32  Sec GPT table                                   
  35916546  35916546         1                                                  
  35916547  35916547         1  Sec GPT header                 

# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=2235 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2235 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 0 (0000),(unused)
    start 34, size 417632 (203 Meg), flag 0
        beg: cyl 0/ head 0/ sector 35;
        end: cyl 25/ head 254/ sector 39
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 530186, size 20867063 (10188 Meg), flag 0
        beg: cyl 33/ head 0/ sector 42;
        end: cyl 307/ head 233/ sector 55
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

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.

        -Arun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u65rh10qu.fsf>