Date: Mon, 14 Dec 1998 03:21:31 -0800 From: Mike Smith <mike@smith.net.au> To: Mian Nawaz Sharif <bonga@doxx.net> Cc: stable@FreeBSD.ORG Subject: Re: hardware upgrade gone awry Message-ID: <199812141121.DAA00525@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 08 Dec 1998 04:56:14 PST." <Pine.LNX.3.96.981208044221.13338A-100000@arsenic.doxx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812141121.DAA00525>