From owner-freebsd-questions Thu Jul 8 22:50: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.jad.net (unknown [202.134.2.38]) by hub.freebsd.org (Postfix) with ESMTP id 3C40D14D0C for ; Thu, 8 Jul 1999 22:49:33 -0700 (PDT) (envelope-from dibyo@bali.net) Received: from office (ppp039.dpr.vidas.telkom.net.id [203.130.255.39]) by server.jad.net (8.8.5/8.9.0) with SMTP id MAA13279; Fri, 9 Jul 1999 12:46:21 +0700 (JAVT) Message-Id: X-Sender: dibyo@bali.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Fri, 09 Jul 1999 13:29:44 +0800 To: Gunnar Flygt , mladavac@metropolitan.at From: Dibyo Gahari Subject: Re: how to get back /usr/bin files ? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19990702105806.A39857@sr.se> References: <199906301446.VAA18103@server.jad.net> <199906301311.UAA17116@server.jad.net> <199906301311.UAA17116@server.jad.net> <19990630151714.E30884@sr.se> <199906301446.VAA18103@server.jad.net> <19990630230806.C33486@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Gunnar Flygt, Ladavac Marino and Doug, Thank you very much. Now I have successfully revised my FreeBSD through your tutorials. And I got more experience and appreciation on FreeBSD system. Best regards, Dibyo Gahari At 16:58 02/07/99 , Gunnar Flygt wrote: >On Fri, Jul 02, 1999 at 12:04:48AM +0800, Dibyo Gahari wrote: >> >> Thanks again, Gunnar. >> >> At 05:08 01/07/99 , Gunnar Flygt wrote: >> >> >And it is detected during boot? If not you have to check the >> >master-slave jumpers on the disk. If you set it on the same cable as the >> >new one it should be set to slave! if you have it on the second togehter >> >with the CD it should also be set to slave if the CD isn'r slave >> >already. If BIOS and the boot procedure detects the disk, then you >> >should see it in label editor! >> >> I changed my second drive (from secondary slave) to the secondary master >> slot, and now it's working. After I /stand/sysinstall, there is an option >> to choose wdc0 or wdc1. But I'm afraid to /stand/sysinstall the old disk, >> because there are many data in the old disk. >> >> My question, what happened if I do /stand/sysinstall to the old drive ? >> Will the existing data replace with the new one ? And how can I mount the >> slice in the old disk without sysinstall it ? > >You should only mount the different slices on the old disk. Nothing else > ^^^^^ >> >> You said "Then you mount the different slices on the right place.". How can >> I do it ? > >There is an option in the Label Editor saying Mount point. Point to the >slice you want to mount and press m, then you type in the mount point, >example /mnt/olddisk/usr or whatever. You have to create the empty >directory /mnt/olddisk/usr first of course! >> >> Please advice. >> >> Regards, >> Dibyo Gahari >> >> >> >> >> >> >> >> At 21:17 30/06/99 , you wrote: >> >> >> >> >> I need to know : >> >> >> 1. >> >> >> How can I copy the /bin files from my 2nd FreeBSD CDROM to my /usr/bin/, >> >> >> since my /usr/bin/login has been deleted ? (I can not login to my >> server) >> >> >> 2. >> >> >> If I use the old drive as the main partition, how can I know the dev >> name >> >> >> of the second drive / File System (/dev/wd0s1, or wd0s1e, or ?) so I can >> >> >> mount it as my new partition ? >> >> > >> >> >I've done like this when I wanted to move or copy files from an old >> >> >disk. First I mkdir /olddisk, the mkdir /olddisk/usr .../var .../home >> >> >etc for the file systems you are interested in on the oldd disk. The you >> >> >start /stand/sysinstall, start the Label editor, and choose the olddisk >> >> >wcd1 or whatever. Then you mount the different slices on the right >> >> >place. Then just cd to the directory on the old disk and copy or move. >> >> >> >> >> __o >> >> >regards, Gunnar ---_ \<,_ >> >> >email: flygt@sr.se ---- (_)/ (_) >> >> > >-- > __o >regards, Gunnar ---_ \<,_ >email: flygt@sr.se ---- (_)/ (_) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message