From owner-freebsd-questions@FreeBSD.ORG Wed Jul 8 10:32:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42F3E106564A for ; Wed, 8 Jul 2009 10:32:00 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from sil.himolde.no (sil.hiMolde.no [158.38.83.3]) by mx1.freebsd.org (Postfix) with ESMTP id 89B3B8FC15 for ; Wed, 8 Jul 2009 10:31:58 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from malle.himolde.no ([158.38.68.22]) by sil.himolde.no with InterScan Message Security Suite; Wed, 08 Jul 2009 12:31:57 +0200 Received: from harr.himolde.no (harr.hiMolde.no [158.38.68.20])by malle.himolde.no (8.13.8/8.13.8) with ESMTP id n68AVuNR028436for ; Wed, 8 Jul 2009 12:31:56 +0200 Received: from harr.himolde.no (harr.himolde.no [127.0.0.1])by harr.himolde.no (8.13.1/8.13.1) with ESMTP id n68AVuTv022357for ; Wed, 8 Jul 2009 12:31:56 +0200 Received: (from nordhaug@localhost)by harr.himolde.no (8.13.1/8.13.1/Submit) id n68AVuii022356for freebsd-questions@freebsd.org; Wed, 8 Jul 2009 12:31:56 +0200 Date: Wed, 8 Jul 2009 12:31:56 +0200 From: "Hans F. Nordhaug" To: freebsd-questions@freebsd.org Message-ID: <20090708103156.GA22263@hiMolde.no> References: <20090707215153.GA16007@hiMolde.no> <4.3.2.7.2.20090707190954.02d6ce88@mail.pchotshots.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20090707190954.02d6ce88@mail.pchotshots.com> User-Agent: Mutt/1.4.1i X-imss-version: 2.054 X-imss-result: Passed X-imss-approveListMatch: *@*.no Subject: Re: Second disks causes invalid partition when booting/no disks found in sysinstall 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: Wed, 08 Jul 2009 10:32:00 -0000 * Brad Mettee [2009-07-08]: > What happens if you put the drive on a secondary controller? (Maybe use the > CD-ROM drive cable) OK, I tried it. > With the drive on a separate cable, you should be able to avoid any > problems that cable select or jumpers may be causing. It's the same problem. The old hard drive is detected as the secondary slave by the BIOS, but I still get "invalid partition" when booting. It's very frustrating. How can adding another drive make FreeBSD detect none of the drives? Before I tried putting the old drive on CD-ROM drive cable, I also entered fixit mode from the LiveFS CD and ran "fdisk -B /dev/ad1" (when only the old slave/drive was connected). It didn't make any difference. What I really wanted to try was to remove the MBR completely from the old slave/drive ... Is there anything I can check/alter on the disks so I can use them at the same time ... Seperately the looked OK - the output from fdisk and disklabel looked sane. Regards, Hans > At 05:51 PM 7/7/2009, Hans F. Nordhaug wrote: > >* Hans F. Nordhaug [2009-07-07]: > >> Hi! > >> > >> I have been running FreeBSD happily for several years on the same old > >> hardware. 2 weeks ago when I was on vacation one of the disks started > >> to have problems, and 5 days ago the disk just stopped working - far > >> too many read failures to get anything mounted. I got a new disk > >> yesterday (finally home from vacation). The problems started when I > >> tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall > >> all the time. The BIOS reported happily the new master and the old > >> slave/hard drive. OK, I just disconnected the old slave and was able to > >> install FreeBSD on the master. I was thinking/hoping that with the OS > >> in place I should be able to read the old slave (which was one single > >> UFS partition). Anyway, if I connect the old slave/hard drive I get > >> "invalid partition" when booting - argh! > >> > >> What should/can I do? If I run the Live CD (livefs), I of course get > >> "no disks found" ... > >[cut] > > > >I did some more tests and: > > > >1) Using only the old slave/hard drive works - it's detected by > > sysinstall. (The new drive is disconected.) > >2) I replaced the FreeBSD boot manager with the standard boot manager, > > but still the FreeBSD boot manager kicked in unless I disconnected > > the old slave. This seems to indicate that the old slave also has > > a FreeBSD boot manager installed... > > > >The next obvious step (to me) is to remove the FreeBSD boot manager > >from the old slave. I guess I can do it with sysinstall, but how? > >The data on the disk can not be lost... Is there other things I should > >try? > > > >Regards, > >Hans Nordhaug