From owner-FreeBSD-users-jp@jp.freebsd.org  Mon Dec  4 23:34:11 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA29386;
	Mon, 4 Dec 2000 23:34:11 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from imfep02.kcom.ne.jp (imfep02.kcom.ne.jp [210.174.120.146])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA29380
	for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 4 Dec 2000 23:34:11 +0900 (JST)
	(envelope-from R.Okada@mm.neweb.ne.jp)
From: R.Okada@mm.neweb.ne.jp
Received: from localhost ([210.198.193.178]) by imfep02.kcom.ne.jp
          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
          id <20001204143405.ENRC1095.imfep02.kcom.ne.jp@localhost>
          for <FreeBSD-users-jp@jp.freebsd.org>;
          Mon, 4 Dec 2000 23:34:05 +0900
To: FreeBSD-users-jp@jp.freebsd.org
X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20001204233317M.R.Okada@mm.neweb.ne.jp>
Date: Mon, 04 Dec 2000 23:33:17 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 109
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 57282
Subject: [FreeBSD-users-jp 57282] boot0
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: R.Okada@mm.neweb.ne.jp

$B%*%+%@$G$9!%(B

$B:G6a!$(B4.1.1-RELEASE $B$+$i(B 4.2-BETA-20001114-JPSNAP$B$K>e=q$-%$%s%9%H!<%k(B
$B$7$?$N$G$9$,!$F1$8%G%#%9%/$K%$%s%9%H!<%k$7$F$"$k!$(BWindows98$B$,5/F0$7$J(B
$B$/$J$C$F$7$^$$$^$7$?!%(B

$B5/F0;~$K(B
F1 : FreeBSD
F2 : Windows
F3 : FreeBSD
F4 : FreeBSD
$B$H$$$&46$8$GI=<($5$l$k$N$G$9$,!$(BF2$B$rA*Br$7$F$b!$%S!<%W2;$,LD$k$@$1$G5/(B
$BF0$7$^$;$s!%(B


$B$A$J$_$K!$(B4.2-RELEASE$B$N(Bboot0$B$r!$(B
% cat 4.2-RELEASE/bin/bin.?? | tar zxvf - boot/boot0
$B$G<h$j=P$7$F!$(B
% fdisk -B -b boot/boot0 ad4
$B$H%$%s%9%H!<%k$7$F$bJQ2=$O$"$j$^$;$s$G$7$?!%(B

$B0J2<$K!$(Bdmesg$B$NH4?h!$(Bfdisk, boot0cfg -v
$B$N7k2L$r<($7$^$9!%(B

$B2?$+$"$j$^$7$?$i!$$h$m$7$/$*4j$$$7$^$9!%(B



% dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.2-BETA-20001114-JPSNAP #0: Sun Nov 19 23:52:39 JST 2000

...

atapci1: <HighPoint HPT366 ATA66 controller> port 0xd800-0xd8ff,0xd400-0xd403,0xd000-0xd007 irq 11 at device 19.0 on pci0
ata2: mask=03 status0=50 status1=00
ata2: mask=03 ostat0=50 ostat2=00
ata2-master: ATAPI probe a=00 b=00
ata2-slave: ATAPI probe a=00 b=00
ata2: mask=03 status0=50 status1=00
ata2-master: ATA probe a=01 b=a5
ata2: devices=01
ata2: at 0xd000 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07 irq 11 at device 19.1 on pci0
ata3: mask=03 status0=20 status1=30
ata3: mask=03 ostat0=20 ostat2=30
ata3-master: ATAPI probe a=20 b=20
ata3-slave: ATAPI probe a=30 b=30
ata3: mask=03 status0=20 status1=30
ata3-master: ATA probe a=25 b=25
ata3-slave: ATA probe a=25 b=25
ata3: devices=00
ata3: at 0xdc00 on atapci2

...

ad4: 19470MB <IBM-DJNA-352030> [39560/16/63] at ata2-master UDMA66
acd0: CD-RW <RICOH CD-R/RW MP7060A> at ata0-master using PIO3


-------------------

% fdisk ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=39560 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=39560 heads=16 sectors/track=63 (1008 blks/cyl)

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 204561 (99 Meg), flag 80 (active)
	beg: cyl 0/ sector 1/ head 1;
	end: cyl 202/ sector 63/ head 15
The data for partition 2 is:
sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA)
    start 204624, size 6144768 (3000 Meg), flag 80 (active)
	beg: cyl 203/ sector 1/ head 0;
	end: cyl 1023/ sector 63/ head 15
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 6349392, size 24575040 (11999 Meg), flag 0
	beg: cyl 1023/ sector 63/ head 255;
	end: cyl 1023/ sector 63/ head 15
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 30924432, size 8952048 (4371 Meg), flag 0
	beg: cyl 1023/ sector 63/ head 255;
	end: cyl 1023/ sector 63/ head 15

-------------------

% boot0cfg -v ad4
#   flag     start chs   type       end chs       offset         size
1   0x80      0:  1: 1   0xa5    202: 15:63           63       204561
2   0x80    203:  0: 1   0x0c   1023: 15:63       204624      6144768
3   0x00   1023:255:63   0xa5   1023: 15:63      6349392     24575040
4   0x00   1023:255:63   0xa5   1023: 15:63     30924432      8952048

version=1.1  drive=0x80  mask=0xf  ticks=182
options=packet,update,nosetdrv
default_selection=F1 (Slice 1)
