Date: Sun, 24 Nov 1996 13:32:49 +1100 (EST) From: Ivan Ngeow <s_koyin@eduserv.its.unimelb.EDU.AU> To: Clayton Carney <72271.3671@CompuServe.COM> Cc: support <questions@freebsd.org> Subject: Re: Can't mount root (3) Message-ID: <Pine.OSF.3.91.961124132740.22890C-100000@eduserv.its.unimelb.EDU.AU> In-Reply-To: <961123215210_72271.3671_CHU126-1@CompuServe.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Nov 1996, Clayton Carney wrote: > <snip, snip> hardware setup OK. > This accurately reflects my hardware setup (hard drive and CD on IDE controller > 0/hard drive on IDE controller 1). In fact, as the system boots and probes, it > speeds thru the hardware. Previously, there were considerable pauses occurring > as the drives were being probed. Now however, the following appears after > probing: > > swapon: /dev/wd2s1b: Device not configured > Automatic reboot in progress... > Can't open /dev/rwd2a: Device not configured > /dev/rwd2a: CAN'T CHECK FILE SYSTEM. > /dev/rwd2a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > Automatic file system check failed... help! > > Let me echo that request: Help!!! I kinda understand what's happening here; wd2 > has now become wd1 (due to a problem in the way BIOS numbers drive, or so I > gather) and for some reason the system is looking for its goodies on wd2, right? > Question is: how do I get the system to start looking at wd1 instead?! Let me > perhaps complicate the problem by stating that the shell is the only thing that > seems to work; I can't get into a text editor. > boot up freebsd with the "-s" option. at the Boot: prompt, type "-s" and press Enter. this will launch you into a shell (/bin/sh) and give you some ability to change a few things. press enter to accept the default shell. once the # prompt appears, mount the root drive: mount /dev/wd1 / then use "ed" to edit the file /etc/fstab. this file contains a list of all the filesystems (including swap) which is automatically mounted at startup. change the appropriate instances of wd2 to wd1. eg, swap should read /dev/wd1s1b instead of /dev/wd2s1b as before. reboot. done! ---- ivan ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.961124132740.22890C-100000>