From owner-freebsd-questions@FreeBSD.ORG Tue Apr 6 08:52:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B871A16A4CE for ; Tue, 6 Apr 2004 08:52:04 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B6F43D48 for ; Tue, 6 Apr 2004 08:52:03 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i36FpfQS048947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Apr 2004 16:51:41 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i36FpfrT048946; Tue, 6 Apr 2004 16:51:41 +0100 (BST) (envelope-from matthew) Date: Tue, 6 Apr 2004 16:51:41 +0100 From: Matthew Seaman To: Andy Holyer Message-ID: <20040406155140.GA91852@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Andy Holyer , freebsd-questions@freebsd.org References: <1CCCABB6-87DF-11D8-ADA9-000D93511A6A@hhbb.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <1CCCABB6-87DF-11D8-ADA9-000D93511A6A@hhbb.co.uk> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: I've broken /boot/device.hints X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 15:52:04 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 06, 2004 at 04:28:53PM +0100, Andy Holyer wrote: > If I boot from floppies the emergency shell doesn't seem to include a=20 > copy of mount, so I can't rectify the fault. Booting from alternate media is your simplest route to fixing things. Are you sure there's no mount command on the fixit floppy? You did use the fixit disk (as you are prompted for by selecting 'Fixit' from the top level menu of sysinstall, rather than just hitting Alt-F2 to get into the emergency shell)? Once you've got the fixit environment enabled, you should be able to mount your drive and clean up the device.hints file. You'll have to refer to mount by the full path: /sbin/mount -- it would be an odd ommission if it isn't there. Plus you might have to use the ed(1) editor, as is traditional in this sort of last-gasp recovery of a hosed system. Failing the fixit floppy, next best would be to pull down one of the disk2 .iso images and cut yourself a CD. It's much the same deal as the fixit floppy, except that with a 650Mb CD image to play with, you get a full install of the OS. 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 --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFActIMdtESqEQa7a0RAr+lAJ0UI5aY+6V+XMi8xy/FxB3scBbVAQCfWmJy N++z+f+IYoFDvEtv6mRZoVs= =qdl7 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--