Subject: Re: problems making an IDE drive bootable....
To: NetBSD/i386 Discussion List <port-i386@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-i386
Date: 03/29/2001 20:53:00
On Thu, Mar 29 2001 at 18:21:13 +0200, Manuel Bouyer wrote:
> You NetBSD partition should not start at 0, but at 51 (yes, fisrt trak unused).
> You disklabel says the c partition starts at 51 anyway.
Oh is this really neccessary?

From one of my i386's:

# /dev/rwd0d:
type: ST506
[...]
7 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:    47376        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 46)
  b:   201600    47376       swap                        # (Cyl.   47 - 246)
  c: 16406208        0     unused        0     0         # (Cyl.    0 - 16275)
  d: 16406208        0     unused        0     0         # (Cyl.    0 - 16275)
  e:  2119824   248976     4.2BSD     1024  8192    16   # (Cyl.  247 - 2349)
  f:  6199200  2368800     4.2BSD     1024  8192    16   # (Cyl. 2350 - 8499)
  g:  7838208  8568000     4.4LFS     1024  8192     7   # (Cyl. 8500 - 16275)

NetBSD disklabel disk geometry:
cylinders: 16276 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1021 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
    start 0, size 16 (0 MB), flag 0x80
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector 16

And it boots real fine^TM (from that harddisc)...

Same is true for two other i386 (but with SCSI) and my laptop.

Why should I waste ~30 valuable kilobytes? My first computer didn't had much
more memory and I was able to do a lot with it :-)
-- 
Dies ist Thilos Unix Signature! Viel Spass damit.