Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 1999 07:53:34 +0100
From:      Andreas Braukmann <braukmann@tse-online.de>
To:        current@FreeBSD.ORG
Subject:   Re: Trouble booting from WinNT with new boot loader
Message-ID:  <19990106075334.A715@paert.tse-online.de>
In-Reply-To: <199901052317.PAA01625@dingo.cdrom.com>; from Mike Smith on Tue, Jan 05, 1999 at 03:17:53PM -0800
References:  <199901052315.AAA07950@daneel.stuyts.nl> <199901052317.PAA01625@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, (and a happy new year, ... still ...)

On Tue, Jan 05, 1999 at 03:17:53PM -0800, Mike Smith wrote:
> > This is a Gigabyte 586DX with dual P166MMX, 64 meg ram, one IDE drive and 2  
> > scsi drives. WinNT is installed on the IDE drive. FreeBSD is installed on da0  
> > (/) and da1 using the onboard scsi controller.
> 
> You need "set num_ide_disks=1" in /boot/boot.conf; you can also break 
> to the loader commandline and issue the command directly to test it out 
> first.

I'm having a quite similar problem, but I have to suppose that the
num_ide-thingie won't help.
My home-system purely scsi-based with two disks (2 x IBM DDRS 9 GB);
the disks are partitioned^h^h^h^h^h^h^h^h^h^h^hsliced like this:


:: paert# fdisk da0
:: ******* Working on device /dev/rda0 *******
[...]
:: 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 6,(Primary 'big' DOS (> 32MB))
::   start 63, size 1060227 (517 Meg), flag 80 (active)
::        beg: cyl 0/ sector 1/ head 1;
::        end: cyl 65/ sector 63/ head 254
:: The data for partition 2 is:
:: sysid 5,(Extended DOS)
::     start 1060290, size 7405965 (3616 Meg), flag 0
::         beg: cyl 66/ sector 1/ head 0;
::         end: cyl 526/ sector 63/ head 254
:: The data for partition 3 is:
:: sysid 165,(FreeBSD/NetBSD/386BSD)
::     start 8466255, size 9381960 (4581 Meg), flag 0
::         beg: cyl 527/ sector 1/ head 0;
::         end: cyl 1023/ sector 63/ head 254

:: paert# fdisk da1
:: ******* Working on device /dev/rda1 *******
[...}
:: 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 165,(FreeBSD/NetBSD/386BSD)
::     start 63, size 12578832 (6142 Meg), flag 80 (active)
::         beg: cyl 0/ sector 1/ head 1;
::         end: cyl 782/ sector 63/ head 254
:: The data for partition 2 is:
:: sysid 5,(Extended DOS)
::     start 12578895, size 3871665 (1890 Meg), flag 0
::         beg: cyl 783/ sector 1/ head 0;
::         end: cyl 1023/ sector 63/ head 254

... and partitioned as
:: paert# disklabel da0
:: #        size   offset    fstype   [fsize bsize bps/cpg]
::   b:   786432  2097152      swap                        # (Cyl.  130*- 179*)
::   c:  9381960        0    unused        0     0         # (Cyl.    0 - 583)
::   e:  2097152        0    4.2BSD        0     0     0   # (Cyl.    0 - 130*)
::   f:  6498376  2883584    4.2BSD        0     0     0   # (Cyl.  179*- 583*)


:: paert# disklabel da1
:: #        size   offset    fstype   [fsize bsize bps/cpg]
::   a:   524288        0    4.2BSD        0     0     0   # (Cyl.    0 - 32*)
::   b:   786432   524288      swap                        # (Cyl.   32*- 81*)
::   c: 12578832        0    unused        0     0         # (Cyl.    0 - 782*)
::   e:  2097152  1310720    4.2BSD        0     0     0   # (Cyl.   81*- 212*)
::   f:  2097152  3407872    4.2BSD        0     0     0   # (Cyl.  212*- 342*)
::   g:  7073808  5505024    4.2BSD        0     0     0   # (Cyl.  342*- 782*)


I'm used to boot the system by the NT BootLoader (since fbsdboot chokes
on vm86 ...). The (freebsd) root filesystem lives on da1s1a.
Both bsd-slices are disklabeled to the new blocks, too.

I made an entry in the NT boot.ini for the new fbsd bootblock and
the system boots. ... But the new boot block gives the warning
'no ufs' first. It seems to me, that the boot-code just tries to make
use of the first partitions in the first found freebsd-slice (da0s3) 
for going on. (e.g. looking for /boot/* )
Since the da0s3b partition is a swap-partition, .... this approach
has to fail ...

Any hints?


Kind regards and tia,
    Andreas

-- 
: TSE TeleService GmbH  :  Gsf: Arne Reuter        :                 :
: Hovestrasse 14        :       Andreas Braukmann  : We do it with   :
: D-48351 Everswinkel   :  HRB: 1430, AG WAF       :  FreeBSD/SMP    :
:--------------------------------------------------------------------:
: PGP-Key:          http://www.tse-online.de/~ab/public-key          :
: Key fingerprint:  12 13 EF BC 22 DD F4 B6  3C 25 C9 06 DC D3 45 9B :

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



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