What is really getting my nuts is the fact it is working with one
layout and with another it does not work.

Now to get things even "funnier".

Remenber that configuration layout that worked for just a single partition (a).
That one worked with a fragment size of 2k and a block size of 16K.

Now i tried a fragment size of 512 bytes and block size of 4K: and the
same problem: boot failed.

It would be better if it works or doesn't, but this way is really
getting me crazy.

On 6/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> You'll probably get some better answers from the list, but this may give
> you an idea of what is going on.
> In olden days BIOS would only be able to handle disk within the first
> 1024 cylinders. (That's why you see stuff like 63 sectors/track and 255
> or so heads) Later BIOSes have upped the limit somewhat.
> Until enough of the OS gets itself loaded, the bootstrap is dependent on
> BIOS functions. Afterwards, the BIOS limitations are irrelevant.
> 
> If I'm doing strange things with disks, I try to put a bunch of small
> (DOS partitions) at the front end of the disk, Normally a 2G DOS formatted
> C: drive, followed by (or after a few other small partitions)
> 
> If you are brave and daring, (and dead accurate with a calculator)
> there are some stunts that can be done with partitions.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Gustavo Rios
> Sent: Thursday, June 30, 2005 4:03 PM
> To: misc@openbsd.org
> Subject: boot failure: If i could drop dead right now ...
> 
> 
> ... i would be the happiest man in the world!
> 
> I am going crazy. It simply does not boot directly from the partition
> when i spare too many of them.
> 
> If someone could, please guys, help me i would send you some bears.
> 
> With the following set up everything works ok:
> 
> fdisk:
> 
> Disk: wd0       geometry: 9726/255/63 [156248190 Sectors]
> Offset: 0       Signature: 0xAA55
>         Starting       Ending       LBA Info:
>  #: id    C   H  S -    C   H  S [       start:      size   ]
> ------------------------------------------------------------------------
>  0: 07    0   1  1 - 6399 254 63 [          63:   102815937 ] HPFS/QNX/AUX
> *1: A6 6400   0  1 - 9726  28 46 [   102816000:    53434000 ] OpenBSD
>  2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
>  3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
> 
> disklabel:
> 
> # /dev/rwd0c:
> type: ESDI
> disk: ESDI/IDE disk
> label: Maxtor 6Y080M0
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 155009
> total sectors: 156250000
> rpm: 7200
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 16 partitions:
> #             size        offset  fstype [fsize bsize  cpg]
>  a:      51819264     102816000  4.2BSD   2048 16384  328 # Cyl
> 102000 -153407
>  b:       1614736     154635264    swap                   # Cyl
> 153408 -155009*
>  c:     156250000             0  unused      0     0      # Cyl
>    0 -155009*
>  i:     102815937            63 unknown                   # Cyl
> 0*-101999
> 
> 
> But this one does prevent me from booting.
> 
> fdisk:
> 
> Disk: wd0       geometry: 9726/255/63 [156248190 Sectors]
> Offset: 0       Signature: 0xAA55
>         Starting       Ending       LBA Info:
>  #: id    C   H  S -    C   H  S [       start:      size   ]
> ------------------------------------------------------------------------
>  0: 07    0   1  1 - 6399 254 63 [          63:   102815937 ] HPFS/QNX/AUX
> *1: A6 6400   0  1 - 9726  28 46 [   102816000:    53434000 ] OpenBSD
>  2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
>  3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
> 
> 
> disklabel:
> 
> # /dev/rwd0c:
> type: ESDI
> disk: ESDI/IDE disk
> label: Maxtor 6Y080M0
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 155009
> total sectors: 156250000
> rpm: 7200
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 16 partitions:
> #             size        offset  fstype [fsize bsize  cpg]
>  a:        161280     102816000  4.2BSD    512  4096   21 # Cyl
> 102000 -102159
>  b:       1614736     154635264    swap                   # Cyl
> 153408 -155009*
>  c:     156250000             0  unused      0     0      # Cyl
>    0 -155009*
>  d:        161280     102977280  4.2BSD    512  4096   21 # Cyl
> 102160 -102319
>  e:       4032000     103138560  4.2BSD   2048 16384  328 # Cyl
> 102320 -106319
>  f:        483840     107170560  4.2BSD    512  4096   21 # Cyl
> 106320 -106799
>  g:        483840     107654400  4.2BSD    512  4096   21 # Cyl
> 106800 -107279
>  h:        483840     108138240  4.2BSD    512  4096   21 # Cyl
> 107280 -107759
>  i:     102815937            63 unknown                   # Cyl
> 0*-101999
>  j:        483840     108622080  4.2BSD    512  4096   21 # Cyl
> 107760 -108239
>  k:      45529344     109105920  4.2BSD   2048 16384  328 # Cyl
> 108240 -153407
> 
> 
> I don't have the smallest ideia about what i going wrong! The
> installation procedure was just like the same expect for disklabel
> partitions.
> 
> Please, some one in the name of God, if could give some light on this
> matter, i would appreciate a lot.
> 
> BTW: if you have a Dell Precision WS 370 i see no problem charing your
> disk layout with me i would be glad too.
> 
> 
> Thanks a lot for all your time and patience.

Reply via email to