Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 1997 00:00:57 -0700
From:      Tom Proett <proett@azure.bayarea.net>
To:        FREEBSD-QUESTIONS@freebsd.org
Cc:        azure!proett@agora.rdrop.com
Message-ID:  <199706150700.AAA00306@azure>

next in thread | raw e-mail | index | archive | help
I have a two scsi disk system and I would like to be able to boot from
the second disk.  Right now, I can boot from disk zero which has
booteasy installed.  Here is the output from fdisk for both disks:

******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=4101 heads=64 sectors/track=32 (2048 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4101 heads=64 sectors/track=32 (2048 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 32, size 1331168 (649 Meg), flag 0
	beg: cyl 0/ sector 1/ head 1;
	end: cyl 649/ sector 32/ head 63
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 1331200, size 7067648 (3451 Meg), flag 80
	beg: cyl 650/ sector 1/ head 0;
	end: cyl 1023/ sector 32/ head 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>

******* Working on device /dev/rsd1 *******
parameters extracted from in-core disklabel are:
cylinders=1685 heads=64 sectors/track=32 (2048 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1685 heads=64 sectors/track=32 (2048 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 32, size 409568 (199 Meg), flag 0
	beg: cyl 0/ sector 1/ head 1;
	end: cyl 199/ sector 32/ head 63
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 409600, size 3041302 (1485 Meg), flag 80
	beg: cyl 200/ sector 1/ head 0;
	end: cyl 661/ sector 22/ head 0
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>

If I install booteasy on the second disk and try to boot dos from
the first partition, I get "Non-System disk or disk error".

If I try to boot freebsd (2.1.5) from the second partition of the second
disk I just get "F?" from booteasy.

If I remove booteasy from the second disk and make the first partition
active, I *can* boot dos.  If I make the second partition active, I get
"Missing Operating System".  I checked for this in the FAQ and found
some information but still have the problem.  The FAQ talks about the
"Ontrack Disk Manager" but what I found on the CD was booteasy.  Are
they they same thing?  Since I don't have extended translation turned
on, I believe the geometry shown above is what is called for in the FAQ.
I do have dos partitions as the first partition on both disks.

The output from pfdisk under dos gives some "notes" that I don't
understand:

# Partition table on device: 0
geometry 1023 64 32 (cyls heads sectors)
#  ID  First(cyl)  Last(cyl)  Name  # start, length (sectors)
1   6      0        649       DOSbi # 32, 1331168
2 165    650       4100       unkno # 1331200, 7067648
# note:  last(2): phys=(1023,63,32) logical=(4100,63,32)
3   0      0          0       empty # 0, 0
4   0      0          0       empty # 0, 0
active: 1

# Partition table on device: 1
geometry 1023 64 32 (cyls heads sectors)
#  ID  First(cyl)  Last(cyl)  Name  # start, length (sectors)
1   6      0        199       DOSbi # 32, 409568
2 165    200       1685       unkno # 409600, 3041302
# note:  last(2): phys=(661,0,22) logical=(1685,0,22)
# note: last(2): phys=(661,0,22) should be (661,63,32)
3   0      0          0       empty # 0, 0
4   0      0          0       empty # 0, 0
active: 2

If anybody has any ideas what is wrong, please email me.

Thanks,
Tom Proett

-- 
Tom Proett
proett@bayarea.net

PGP Key fingerprint =  67 7C 02 87 34 0E 52 57  5A 12 31 1B E0 AE AF 50
PGP Key size = 2047

-- 
Tom Proett
proett@bayarea.net

PGP Key fingerprint =  67 7C 02 87 34 0E 52 57  5A 12 31 1B E0 AE AF 50
PGP Key size = 2047





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