From owner-freebsd-hackers@FreeBSD.ORG Mon May 14 12:32:05 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D511016A403 for ; Mon, 14 May 2007 12:32:05 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id A9ABA13C468 for ; Mon, 14 May 2007 12:32:05 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l4ECW4fP089535; Mon, 14 May 2007 07:32:04 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <464856C4.2020600@freebsd.org> Date: Mon, 14 May 2007 07:32:04 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: David Cramblett References: <4640EAD0.3020502@mesd.k12.or.us> <4647D88D.5060404@functionalchaos.net> In-Reply-To: <4647D88D.5060404@functionalchaos.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3243/Mon May 14 05:49:49 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org Subject: Re: System Drops to manual mount root prompt after HDD duplication X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 12:32:05 -0000 On 05/13/07 22:33, David Cramblett wrote: > My FreeBSD 5.2.1 server had a 4.5 GB HDD. I decided to upgrade it with > a larger drive. I installed a new drive on the second IDE channel which > made it ad2, of course, my original drive was ad0. I created a > partition, boot loader and matching slices on the new drive. Then I > copied the old drive to the new drive using tar. Once finished, I > removed the original drive and installed the new one on the primary > channel. When I booted up everything appeared normal, but when the > system starts to mount "/" it gives no error or warning and just drops > to a "Manual mount root specification" prompt. If I type "ufs:ad0s1a" > it boots up and everything is perfect. This is the same slice "/" was > on the old drive as well. > > > I have tried the following with no success: > > Checked /etc/fstab > > boot0cfg -v -B ad0 > > bsdlabel -B ad0s1 > > tried booting from a cd, going into post install config, fdisk, and set > the partition as bootable, it already was. > > Since upgrading the hard disk, I have upgraded the system to 5.5 and > then to 6.2. This system has been working great for over a week now, > just have this boot problem. > > > -------------- > > Here is my fstab: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > > -------------- > > Output from bsdlabel > # bsdlabel ad0s1 > > # /dev/ad0s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 585018626 1048576 4.2BSD 2048 16384 28552 > b: 1048576 0 swap > c: 586067202 0 unused 0 0 # "raw" part, > don't edit Could it be because your root partition is not at offset 0? Eric