[linux] [Wolves] Mounting var directory
Wayne Morris
wolves at mailman.lug.org.uk
Fri Jan 10 14:06:01 2003
On Tue, 2003-01-07 at 23:09, Ron Wellsted wrote:
> On Tuesday 07 Jan 2003 10:29 pm, Wayne Morris wrote:
> >
>
> You will need to identify which one is the /usr filesystem, then mount that on
> /mnt, do a mkdir /usr/bin and "cp /mnt/bin/* /usr/bin" which will get you
> /usr/bin back. you can then do a "cd /mnt ; find . -depth -print | cpio
> -padvm /usr" to copy the rest over. (Repeat as required for other file
> systems)
>
> The /usr directory contains the directories bin, sbin, include, local and src
> so should be resonably easy to spot.
>
I couldn't track down /usr/bin so i have changed tack and installed RH8
on what was going to be the extra drive. Ok so far.
Then I added the drive to the system as a master on the secondary ide,
and expected to be able to mount the hda5 directory and copy the stuff
off it that I wanted.
However, I now see that I have hda1-32 and hdc1-32 as devices, trying to
mount any of the hdc devices gives me "not a valid block device"
Any clues?
Thanks
Wayne
Ps put me down for the Pie factory, I might actually get to a meeting
then!