From owner-freebsd-stable Thu Jan 28 16:12:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15454 for freebsd-stable-outgoing; Thu, 28 Jan 1999 16:12:31 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ceia.nordier.com (m1-45-dbn.dial-up.net [196.34.155.45]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15441 for ; Thu, 28 Jan 1999 16:12:26 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id CAA03135; Fri, 29 Jan 1999 02:11:25 +0200 (SAT) From: Robert Nordier Message-Id: <199901290011.CAA03135@ceia.nordier.com> Subject: Re: disk problem at bootup... In-Reply-To: from Greg Schohn at "Jan 28, 99 06:09:19 pm" To: root@jules.res.cmu.edu (Greg Schohn) Date: Fri, 29 Jan 1999 02:11:22 +0200 (SAT) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Schohn wrote: > 2 things... first - I tried re-writing my boot blocks of my scsi drive a > couple of days ago & I now get a "Read Error" on bootup. I tried both > using disklabel on both my root slice (/dev/sd0s1e & the entire hd > /dev/sd0a). I used just -B as well as -B -b.. -s... & I still can't get > the computer to boot off of the scsi drive... > > I did successfully install the new boot blocks on my ide drive, using the > same sort of method... > > My root partition under freebsd is slice e, the hard drive has 1 > partition. > > anyway - I can still use the kernel & everything by specifying disk1 as > the current device & booting off of it... but I'd like the scsi to be > able to boot up by itself... > > > so - anybody know how I can fix boot sector on the HD... It worked fine > before I used disklabel on it :(... The most likely problem is that the sector occupied by boot1 on the scsi drive contains some garbage in the slice table. If you want to send along the following output, I'll take a look. #!/bin/sh DRIVE=da0 # Change as required fdisk ${DRIVE} disklabel ${DRIVE} dd if=/dev/r${DRIVE} count=1 | hexdump -C dd if=/dev/r${DRIVE}a count=17 | hexdump -C dd if=/dev/r${DRIVE}e count=17 | hexdump -C -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message