From owner-freebsd-stable Mon Dec 14 17:10:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA13497 for freebsd-stable-outgoing; Mon, 14 Dec 1998 17:10:46 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dingo.cdrom.com (goldfish.pht.co.jp [210.171.55.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA13489 for ; Mon, 14 Dec 1998 17:10:43 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id DAA00525; Mon, 14 Dec 1998 03:21:31 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812141121.DAA00525@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mian Nawaz Sharif cc: stable@FreeBSD.ORG Subject: Re: hardware upgrade gone awry In-reply-to: Your message of "Tue, 08 Dec 1998 04:56:14 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 14 Dec 1998 03:21:31 -0800 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > i just upgraded from a 100 mhz intel to an amd k6-2 350 3d processor and > tyan S1590 m/board. along with that, i also got a new hard drive. my > kernel is probably around 2-3 weeks old. now my problem: > > earlier, my freebsd hard drive was wd1. since it wasn't the master drive, > i was using a floppy disk to get to the boot prompt, and then entering > wd(1,a)kernel to boot it up, and it worked fine. > > now, i seem to be having a major problem with it for some reason. when i > type in the same command at the boot prompt, i start loading up the > kernel, and then i get this: > > changing root devicee to wd1s1a > changing root device to wd1a > error 6: panic: can not mount root (2) > > and then the system reboots. > > during this time, i dont see wd1 show up in the 'dmesg' stuff that scrolls > by as the kernel looks for various devices, but i can get the / partitions > listing by typing `wd(1,a)?` at the boot prompt. > > my question: > is there some way that i can fix the problem, and if not that, access my > drive and move some stuff off it onto a dos fat32 partition on the other > drive, so i can just do a clean install? You've connected your second drive as the master on the second bus; it's drive 1 (of 0,1) to the BIOS, but drive 2 (of 0,2) to FreeBSD. You can either move the drive back to the first bus (quicker), or boot with '1:wd(2,a)kernel -s', mount /dev/wd2s1a on / (and other filesystems from there if you need them), update your /etc/fstab file to refer to 'wd2' rather than 'wd1', then put the boot string you used above in /boot.config. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message