[linux] [Wolves] Mounting var directory

Wayne Morris wolves at mailman.lug.org.uk
Mon Jan 20 15:19:05 2003


On Fri, 2003-01-10 at 21:18, Ron Wellsted wrote:

> (View in fixed width font for large, friendly letters, (GD&R))
> 
> 1. Shutdown.
> 2. Disconnect hdc from system
> 3. boot RH8.0
> 4. "cp /etc/fstab /etc/fstab.org"
> 5. edit /etc/fstab to use partitions instead of labels.
>     e.g. change "LABEL=/" to "/dev/hdaX" where X is the partition returned for
>     "/" by the mount command
> 6. Shutdown
> 7. Reconnect hdc to the system
> 8. boot RH8.0 again
> 
> and voila, you should now be able to access the hdc partitions to copy the 
> required files.
> 
> Once this is done, either repartition to use as an extra disk or remove from 
> system then "cp /etc/fstab.org /etc/fstab" to get back to the original 
> starting point.  The advantage of using labels in /etc/fstab is that it is 
> easy to change disk assignments, you have discovered the downside.


Thanks Ron, that was just the ticket.





-- 
Wayne Morris <wayne@machx.co.uk>