Date: Mon, 19 May 2003 00:18:13 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: need help repairing this system... mount issues Message-ID: <20030518231813.GA97646@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030518222629.87886.qmail@web20107.mail.yahoo.com> References: <20030518222629.87886.qmail@web20107.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 18, 2003 at 03:26:29PM -0700, Bsd Neophyte wrote: > a previous system failed, as a result, i was forced to move the HD to a > new system. unfortuantely, the systems are quite different. the last one > was a full integrated cel633 and the new system is a dual p3700 with all > individualized components. >=20 > after a great deal of effort, was finally able to get my system to boot > the root partition. i changed the type of kernel being booted to > kernel.GENERIC and i had to really struggle to find out the new disk > labels. >=20 > well i found that now the disk was no longer da0 but da4. so i had to > boot by entering "ufs:/dev/ad4s1a"=20 >=20 > i am able to boot, but i'm having some issues now. >=20 > i've tried "mount /dev/ad4s1e /usr" but this wont work. i get the > following error: "mount: /dev/ad4s1a: No such file or directory" >=20 > i decided to look under /dev, for some reason under the disk pointers (is > that what they are called?) only go up to da3, there is no mention of da4. > i really don't know what to do to mount /usr. Uh -- which sort of disk drive do you have? IDE/ATA use the 'ad' driver, SCSI use 'da'. You seem to be confusing the two. If you've got SCSI disks, then you'ld have to boot from ufs:/dev/da4s1a and try and mount /dev/da4s1e. On the other hand if you've dot IDE drives then you should be looking for the device files matching /dev/ad4* If the device files are missing, you can generate them from single user mode by: # cd /dev # ./MAKEDEV ad4 which should create a whole set of device files ad4, ad4s1, ad4s1a, ad4s1b etc. However, that's unlikely as most systems can only take 4 ATA drives (ad0, ad1, ad2 and ad3). Similarly, if it's the SCSI device files you're missing, then you can generate them by # ./MAKEDEV da4 =20 > i know i can do a reinstall, but i don't want to do that. i have some > items on it that haven't been backed-up yet that i can't afford to lose. >=20 > if someone can tell me how i can get this thing back and running, i would > really be appreciative. You seem to have pretty much the right idea. Boot into single user again. Now just sort out which flavour of device you should be using, and then in order to mount the /usr partition (assuming it's a SCSI disk), try: # fsck /dev/da4s1e # mount -t ufs -o rw /dev/da4s1e /usr Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+yBS1dtESqEQa7a0RAmGGAJwIyUJ+hhdGb70U6YDZe5Jt+D8vsQCeNy72 5S+fU+xeJc5DGpwa/Ysn00s= =UmE2 -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030518231813.GA97646>