From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 01:32:20 2003 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 3CED616A4CF for ; Sun, 28 Dec 2003 01:32:20 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5824C43D1F for ; Sun, 28 Dec 2003 01:32:17 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hBS9WCca062831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Dec 2003 09:32:12 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hBS9WAwK062830; Sun, 28 Dec 2003 09:32:10 GMT (envelope-from matthew) Date: Sun, 28 Dec 2003 09:32:10 +0000 From: Matthew Seaman To: Peter Leftwich Message-ID: <20031228093210.GA62584@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Peter Leftwich , Matt Emmerton , FreeBSD LIST References: <20031223012430.S33599@rocket.alienwebshop.com> <000b01c3c921$10e0d660$1200a8c0@gsicomp.on.ca> <20031227002844.P38379@rocket.alienwebshop.com> <20031227100258.GA2034@happy-idiot-talk.infracaninophile.co.uk> <20031227175019.C57794@rocket.alienwebshop.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20031227175019.C57794@rocket.alienwebshop.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD LIST Subject: Re: missing /usr/libexec/ld-elf.so.1 ... not found 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: Sun, 28 Dec 2003 09:32:20 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 27, 2003 at 05:53:30PM -0500, Peter Leftwich wrote: > On Sat, 27 Dec 2003, Matthew Seaman wrote: > > On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote: > > > The problem I now have is that I would like to mount_msdos a regular = floppy > > > then copy ("cp" or "cpio?") a file from it called ld-elf.so.1 to the > > > mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. > > > Typing just "mount" is not found. Oddly enough, typing "help" or "cd= /bin" > > > then "./help" says "Permission denied." I cannot locate a "mount" bi= nary, > > > however, I found "mount_nfs" and "mount_mfs" so would either of those= work > > > for mounting both an msdos floppy then my 4.7 partition? Then must I= use > > > cpio to copy "A:\ld-elf.so.1" over to the 4.7 partition?? > > > > You can write the file direct to the floppy device /dev/fd0 as if it > > was a tape. No need to mount any sort of filesystem. Since you have > > cpio(1) available use: > > # cd /usr/libexec >=20 > Now, will the command above change to my live system's /usr/libexec > directory, or a "pretend" one that exists only in RAM (ie. the way that t= he > emergency holographic shell exists in a "/ramdisk" if you will)? This is assuming that you have another FreeBSD box which works properly, and that you can copy the ld-elf.so.1 file from. The intention is that you use a different floppy than the ones you use to boot from, and swap them in and out as required. =20 > > # echo ./ld-elf.so.1 | cpio -o > /dev/fd0 >=20 > When you say "write the file direct" do you mean that my system's "/" root > directory may also be directly written to, without having to first mount = it??! Not like this: writing direct to a block device like this will destroy any filesystem already on the device. That's generally not what you want, but it can be permissible in extremis to trash some floppy disks... =20 > > Then to extract the file: > > # cd /usr/libexec > > # cpio -i < /dev/fd0 > My apologies. This all seems a little scary, and does not sound proper... Absolutely. It is both scary and improper. 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 --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/7qMadtESqEQa7a0RAkJFAJ903LJoGsVCACepnodlzuO0Yv611wCfR/4V R29ZztKItHbyyIr4Ydi/b6M= =qbud -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--