Restoring system files from CD
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Thu May 6 11:32:37 PDT 2004
Incoming Mail List <mailist at whoweb.com> 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.
More information about the freebsd-questions
mailing list