accidently deleted /lib/libm.so.4 and /lib/libc.so.6
Hi, I accidently deleted /lib/libm.so.4 and /lib/libc.so.6 on my FreeBSD 6.1 RELEASE systsem. After this, even 'ls' command is not working. Is there any possibility that I can restore the system? Thank you. Soo-Hyun ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidently deleted /lib/libm.so.4 and /lib/libc.so.6
On Jun 11, 2006, at 11:21 am, Soo-Hyun Choi wrote: Hi, I accidently deleted /lib/libm.so.4 and /lib/libc.so.6 on my FreeBSD 6.1 RELEASE systsem. After this, even 'ls' command is not working. Is there any possibility that I can restore the system? Thank you. Soo-Hyun Can you boot into the recovery shell on disc 1, mount your hard disk and copy them across? Presumably those files exist there too. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidently deleted /lib/libm.so.4 and /lib/libc.so.6
On Sun, Jun 11, 2006 at 11:21:43AM +0100, Soo-Hyun Choi wrote: Hi, I accidently deleted /lib/libm.so.4 and /lib/libc.so.6 on my FreeBSD 6.1 RELEASE systsem. After this, even 'ls' command is not working. Is there any possibility that I can restore the system? You can use the tools in /rescue to help recover from a backup copy..if you don't have a backup copy accessible then you may have to reinstall. Kris pgp3WtS1oGsZV.pgp Description: PGP signature
Re: accidently deleted /lib/libm.so.4 and /lib/libc.so.6
Em Dom, 2006-06-11 às 12:55 -0400, Kris Kennaway escreveu: On Sun, Jun 11, 2006 at 11:21:43AM +0100, Soo-Hyun Choi wrote: Hi, I accidently deleted /lib/libm.so.4 and /lib/libc.so.6 on my FreeBSD 6.1 RELEASE systsem. After this, even 'ls' command is not working. Is there any possibility that I can restore the system? You can use the tools in /rescue to help recover from a backup copy..if you don't have a backup copy accessible then you may have to reinstall. Kris Easy... 1) boot from install cd (cd1) 2) choose rescue 3) wait for the system to boot with the / filesystem on the CD (or memory...) 4) fsck -y /dev/ad0s1a (or the root filesystem in the hd...) 5) mount /dev/ad0s1a /mnt (mount the hd filesystem) 6) cd / 7) tar cf - lib | tar xvf - -C /mnt (this will restore all the libs you needed from the distribution CD) 8) fastboot (reboot the system..., should work.)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]