From owner-freebsd-questions@FreeBSD.ORG Sun Sep 18 16:05:57 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 530D316A421 for ; Sun, 18 Sep 2005 16:05:57 +0000 (GMT) (envelope-from pcbsdguy@yahoo.ca) Received: from web35812.mail.mud.yahoo.com (web35812.mail.mud.yahoo.com [66.163.179.181]) by mx1.FreeBSD.org (Postfix) with SMTP id 7699643D6A for ; Sun, 18 Sep 2005 16:05:53 +0000 (GMT) (envelope-from pcbsdguy@yahoo.ca) Received: (qmail 11987 invoked by uid 60001); 18 Sep 2005 16:05:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4TUXu0rygeOv0p9G2aKhf4p2knn70MiZAnhbUsdFBNactPI4+O+Nao0Y4sLsz6hSPOzI50oJInpPUYxRdhGZl3Gn8woVJfBiCcRLVQmpPDh/DuWBUtNWtG0gDka6kHq3qpOGHthgajeiaIxckdupfOeLwxLAok7rGK2sZylKVH8= ; Message-ID: <20050918160553.11985.qmail@web35812.mail.mud.yahoo.com> Received: from [209.121.45.40] by web35812.mail.mud.yahoo.com via HTTP; Sun, 18 Sep 2005 12:05:52 EDT Date: Sun, 18 Sep 2005 12:05:52 -0400 (EDT) From: John Do To: "Gary W. Swearingen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: Boot Loader Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 16:05:57 -0000 Hi Gary and Glen, I have the output. It was sure tiring to write out and then type back though :) bsdlabel /dev/ad2s1: No Valid Label bsdlabel /dev/ad2s2: 8 partitions # size offset fstype [fsize bsize bps/cpg] a: 8191983 0 4.2BSD 2048 16384 28552 b: 2047155 8191983 swap - - - c: 10239138 0 unused 0 0 #'raw' part don't edit bsdlabel /dev/ad2s3: No Valid Label bsdlabel /dev/ad2s4: No Such File Or Disk bsdlabel /dev/ad2: No Valid Label bsdlabel /dev/ad0: No Valid Label fdisk /dev/ad0 ****** Working on device /dev/ad0 ****** parameters extracted from in-core disklabel are: cylinders=39709 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=39703 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 7 (0x07), (OS/2 HPFS, NTFS, QNX-2 (16bit) or Advanced Unix) start 63, size 40001787 (19532 Meg), flag 80(active) beg: cyl 0 /head1 /sector 1 end: cyl 1023 /head 254 /sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: fdisk ad2: ****** Working on device /dev/ad2 ****** parameters extracted from in-core disklabel are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 to be used for BIOS calculations are: cylinders=155061 heads=61 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 partion 1 is: sysid 7(0x07), (OS/2 HPFS, NTFS, QNX-2 (16bit) or Advanced Unix) start 63, size 133114527 (64997 Meg), flag 0 beg: cyl 0 /head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165(0xa5), (FreeBSD/NetBSD/386BSD) start 133114590, size 10239138 (4999 Meg), flag 0 beg: cyl 986/head 2 /sector 1; end: cyl 903/head 15 /sector 63 The data for partion 3 is: sysid 131 (0x83), (Linux Native) start 143364060, size 48195 (23 meg), flag 0 beg: cyl 1023/head 254/sector 63; end: cyl 1023/head 254/sector 63 The data for partition 4 is: boot0cfg -v /dev/ad0 # flag | start chs | type | end chs | offset | size 1 0x80 0: 1:1 0x07 1023 254:63 63 40001787 boot0cfg -v /dev/ad2 # flag | start chs | type | end chs | offset | size 1 0x00 0: 1:1 0x07 1023 254:63 63 133114527 2 0x00 986: 2:1 0x05 903 15:63 133114590 10239138 3 0x00 1024 254:63 0x83 1023 254:63 143364060 48195 --- "Gary W. Swearingen" wrote: > Glenn Dawson writes: > > >>boot0cfg -B -s 5 ad0 > >>boot0cfg -B -s 2 ad2 > > I don't remember who asked what before, but you > should also try: > > boot0cfg -B -s 5 -o packet ad0 > boot0cfg -B -s 2 -o packet ad2 > > > fdisk /dev/ad0 > > fdisk /dev/ad2 > > bsdlabel /dev/ad0 > > I wouldn't bother if you don't have BSD on that > disk. > > > bsdlabel /dev/ad2 > > and > > bsdlabel /dev/ad2s1 > bsdlabel /dev/ad2s2 > bsdlabel /dev/ad2s3 > bsdlabel /dev/ad2s4 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > __________________________________________________________ Find your next car at http://autos.yahoo.ca