Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 13:36:27 +1000
From:      Sean Howell <s_howell@postoffice.utas.edu.au>
To:        questions@freebsd.org
Subject:   FreeBSD and LBA
Message-ID:  <324B4BBB.4775@postoffice.utas.edu.au>

next in thread | raw e-mail | index | archive | help
Hi,

Please help me I don't know where to go from here.  FreeBSd fails to
write during the installation.  The kernel probe on boot gets the
physicl geometry, but my CMOS is switched to LBA mode and showing the
translated geometry;

When I boot from the boot floppy, the kernel does it's probing at all
the devices, when it finds the disk (wd0) it reports the following
geometry;

size: 1549
cyl: 3148
hd: 16
spt: 63
b/s: 512

(i.e. The true physicl geometry)

But the partition editor (FreeBSD's) reports;

cyl: 787
hd: 64
spt: 63

(i.e. The LBA translated geometry)

The drive in CMOS is set to LBA mode to bring the cylinders below the
dos 1024 limit.  I did an autodetect on the drive and came up with the
following from CMOS;

        LBA     NORM    LARGE
======================================
cyl:    787     3148    1574
hd:     64      16      32
spt:    63      63      63
======================================

So I guess the kernel probe gets the actual info from the hard drive
(NORM), but the dos partition has been setup using the LBA geometry. 
The FreeBSD handbook says I can't use both. (p.184 para 3)  In fact the
bsd handbook also suggests that the bsd slice should be in the first
1024 cylinders.  (p.185 para 2)  My bsd partition is at the end of the
disk, not the start.  So I definitly have to use the LBA geometry.  

Unfortunatly the handbook doesn't suggest a remedy.  So I guess the
question is; 

How do I get the kernel to look at the LBA translated geometry rather
than the physical geometry?  Surely there are other people using LBA
mode disks out there?  

Bear in mind that I would prefer not to lose the info in my dos
partition.  Also the freeBSD partition is at the end of the drive.  Also
the install does not get all the way through.  Where do I go from here?


Thanks for your trouble

Sean



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