Re: Restoring system files from CD
Incoming Mail List <[EMAIL PROTECTED]> writes: > You don't have to install the entire OS to another machine if you have a > medium to large area on your disk. Mount up the #1 CDROM and then create > a scratch directory somewhere on your system. Go to the distribution > that you think contains the files you are missing (sounds like "base" > to me) and cat() the install.sh script. You'll see that you can execute > the script and send it a "DESTINATION" argument on the command line. > That script will extract that particular distribution to what ever > directory you include on the command line. Given that the needed files are already listed in a file, you could do it directly and just unpack those particular files. Something along the lines of "cat /mnt/cdrom/bin/* | tar -xzT listingFile -f -" should do it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
I'm not familiar with the heimdal port. If you've got the list of files that it touches, you can write a small shell program to check if all those files are on the system or not. Based upon your description of the port and the fact you have reinstalled it, I suspect you've got the files you need. >Do you think I should restore all of the files listed? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
On Thu, 2004-05-06 at 11:27, Incoming Mail List wrote: > You don't have to install the entire OS to another machine if you have a > medium to large area on your disk. Mount up the #1 CDROM and then create > a scratch directory somewhere on your system. Go to the distribution > that you think contains the files you are missing (sounds like "base" > to me) and cat() the install.sh script. You'll see that you can execute > the script and send it a "DESTINATION" argument on the command line. > That script will extract that particular distribution to what ever > directory you include on the command line. > Thanks, works great. But not all are system files. Like I said, a deinstall of the Heimdal port after setting HEIMDAL_HOME to /usr seems to have taken out this list of files below. The only ones I have seen an immediate need for so far are /usr/bin/su and /usr/bin/login, but I'm sure more are needed. Most or all of the bin/ files I'm sure I will need and hope to find in the 'base'. Do you think I should restore all of the files listed? And how can I determine the location of the other files on the CD that are not in 'base'? I have Heimdal now installed under /usr/local, so maybe I do not need to put back those related files? esmtp# cat /usr/ports/security/heimdal/pkg-plist bin/afslog bin/ftp bin/kauth bin/kdestroy bin/kf bin/kgetcred bin/kinit bin/klist bin/kpasswd bin/krb5-config bin/login bin/mk_cmds bin/otp bin/otpprint bin/pagsh bin/pfrom bin/rcp bin/rsh bin/string2key bin/su bin/telnet bin/verify_krb5_conf etc/rc.d/kdc.sh.sample include/asn1_err.h include/base64.h include/der.h include/editline.h include/fnmatch.h include/getarg.h include/gssapi.h include/hdb-private.h include/hdb-protos.h include/hdb.h include/hdb_asn1.h include/hdb_err.h include/heim_err.h include/k524_err.h include/kadm5/admin.h include/kadm5/kadm5-private.h include/kadm5/kadm5-protos.h include/kadm5/kadm5_err.h include/kadm5/private.h include/kafs.h include/krb5-private.h include/krb5-protos.h include/krb5-types.h include/krb5.h include/krb5_asn1.h include/krb5_err.h include/otp.h include/parse_bytes.h include/parse_time.h include/parse_units.h include/resolve.h include/roken-common.h include/roken.h include/rtbl.h include/sl.h include/ss/ss.h include/xdbm.h info/dir lib/libasn1.a lib/libasn1.so lib/libasn1.so.6 lib/libeditline.a lib/libgssapi.a lib/libgssapi.so lib/libgssapi.so.5 lib/libhdb.a lib/libhdb.so lib/libhdb.so.7 lib/libkadm5clnt.a lib/libkadm5clnt.so lib/libkadm5clnt.so.6 lib/libkadm5srv.a lib/libkadm5srv.so lib/libkadm5srv.so.7 lib/libkafs.a lib/libkafs.so lib/libkafs.so.4 lib/libkrb5.a lib/libkrb5.so lib/libkrb5.so.20 lib/libotp.a lib/libotp.so lib/libotp.so.1 lib/libroken.a lib/libroken.so lib/libroken.so.16 lib/libsl.a lib/libsl.so lib/libsl.so.1 lib/libss.a lib/libss.so lib/libss.so.1 libexec/ftpd libexec/hprop libexec/hpropd libexec/ipropd-master libexec/ipropd-slave libexec/kadmind libexec/kdc libexec/kfd libexec/kpasswdd libexec/popper libexec/push libexec/rshd libexec/telnetd sbin/dump_log sbin/kadmin sbin/kstash sbin/ktutil sbin/replay_log sbin/truncate_log @dirrm include/kadm5 @dirrm include/ss -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
You don't have to install the entire OS to another machine if you have a medium to large area on your disk. Mount up the #1 CDROM and then create a scratch directory somewhere on your system. Go to the distribution that you think contains the files you are missing (sounds like "base" to me) and cat() the install.sh script. You'll see that you can execute the script and send it a "DESTINATION" argument on the command line. That script will extract that particular distribution to what ever directory you include on the command line. >Do you >think it is OK to just load the same version of FreeBSD on another >machine and then copy over the files I need? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
On Thu, 2004-05-06 at 10:21, Christian Hiris wrote: > Insert the 5.2.1-RELEASE CD-ROM and boot into the installation menu. > Then select the 'Fixit' option from the install menu. > Next select option 2 CDROM/DVD (you need the 5.2.1-RELEASE-i386-disc2.iso > handy or download it from a freebsd ftp server). > The fixit shell starts on terminal 4, where you can fsck and mount your > damaged filesystem. cd to /dist, there you may find the files you are looking > for. I would hate for something to go wrong with my production server. Do you think it is OK to just load the same version of FreeBSD on another machine and then copy over the files I need? I made a mistake installing the Heimdal port into /usr instead of the default /usr/local and then when I realized it, I did a deinstall and it took out Kerberized files like ftpd, su, login, etc. from /usr/bin that it had replaced. I have the list of files in the ports distfiles and just need to get them back. -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
First, check the live filesystem cd to see if the one you want is on there. If not, you'll have to extract the files you want out of the distribution tar files. There are quite a few of them so you'll have to try to figure out which tar file holds the particular file you are interested in. It would be nice if the FreeBSD web site held a master inventory of each tar file and the system files within it, for reference purposes. >How can I restore some lost system files from the original 5.2.1-RELEASE >CD-ROM? Is there somewhere in the handbook to discuss this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restoring system files from CD
On Thursday 06 May 2004 15:10, Robert Fitzpatrick wrote: > How can I restore some lost system files from the original 5.2.1-RELEASE > CD-ROM? Is there somewhere in the handbook to discuss this? I did this once under 5.1 release. I think it's still the same procedere: Insert the 5.2.1-RELEASE CD-ROM and boot into the installation menu. Then select the 'Fixit' option from the install menu. Next select option 2 CDROM/DVD (you need the 5.2.1-RELEASE-i386-disc2.iso handy or download it from a freebsd ftp server). The fixit shell starts on terminal 4, where you can fsck and mount your damaged filesystem. cd to /dist, there you may find the files you are looking for. regards ch pgpRQWgH2dLaY.pgp Description: signature