[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re: OT: Copy a drive - am I hosed?



"Bruce Timberlake" says
> Create alternate mount points for the partitions on the 'bad' drive. 
> 
> So your /etc/fstab might look like this now:
> 
> /dev/hda1  /         ext2    defaults                          1 1
> /dev/hda2  swap      swap    defaults                          0 0
> /dev/hda3  /var      ext2    defaults,nosuid                   2 2
> /dev/hda4  /usr      ext2    defaults,usrquota,grpquota,grpid  3 3
> 
> Create some directories under /mnt:
> 
> mkdir -p /mnt/altroot
> mkdir -p /mnt/altvar
> mkdir -p /mnt/altusr
> etc
> 
> Then make entries like this in /etc/fstab:
> 
> /dev/hdc1  /mnt/altroot  ext2    defaults 0 0
> /dev/hdc3  /mnt/altvar   ext2    defaults 0 0
> /dev/hdc4  /mnt/altusr   ext2    defaults 0 0
> 
> etc
> 
> Change as needed for your partition names, etc.  Ensure you get your 
> drive 'numbering' correct: hdc is primary drive on 2nd IDE channel, 
> hdb would be slave drive on 1st IDE channel, etc.  Match the 
> partitions to the correct mountpoints to avoid confusion, etc.

Sweet... it works!

I love this list!  :)

THANKS!
    Chris