Re: Copying Linux to a new drive

2001-07-31 Thread Alvin Oga
hi ya... am assuming that /dev/md0 is mounted as / and /dev/md1 is mounted as /mnt/raid/xxx and /dev/md2 is mounted as /mnt/raid/something and while copying, dont bother to copy /tmp either... - and you need to run lilo to put an mbr onto the cloned disks lilo -C /etc/lilo.Clone.conf

Re: Copying Linux to a new drive

2001-07-31 Thread George Karaolides
On Tue, 31 Jul 2001, Willi Dyck wrote: > I would like to know if tar handels the device files right! It looks like it. I am making a root-raid system. I have created my raid arrays, formatted and mounted them under /mnt/raid in the same hierarchy as they will be mounted once the system is comp

Re: Copying Linux to a new drive

2001-07-31 Thread Willi Dyck
On Tue, Jul 31, 2001 at 02:24:27PM +0300, George Karaolides wrote: > On Mon, 30 Jul 2001, Willi Dyck wrote: > > $ find . -xdev -print0 | cpio -pvdn0 /dev/[destination] > > This is a question I've been curious about for some time. Why not just do > a tar? tar copies links by default (no

Re: Copying Linux to a new drive

2001-07-31 Thread George Karaolides
On Mon, 30 Jul 2001, Willi Dyck wrote: > $ find . -print0 | cpio -pvdn0 /dev/[destination] > > This should copy everything to the defined destination. Even > other mountpoints. If you only want to copy the mountpoint your are in, > try this: > > $ find . -xdev -pr

Re: Copying Linux to a new drive

2001-07-30 Thread Willi Dyck
On Sun, Jul 29, 2001 at 05:47:03PM -0700, Santiago del Roi wrote: > How does one copy a complete Linux install from one hard drive to another? > I've tried using the cp command with various parameters, but to no avail. > There seems to be lots of special files and directories (/proc for > example)

Re: Copying Linux to a new drive

2001-07-29 Thread Calvin Chong
Title: Re: Copying Linux to a new drive How does one copy a complete Linux install from one hard drive to another?  I've tried using the cp command with various parameters, but to no avail.  There seems to be lots of special files and directories (/proc for example) that cp can't ha

Re: Copying Linux to a new drive

2001-07-29 Thread Mark Wagnon
On 07/29/01 17:47:03 -0700, Santiago del Roi wrote: > How does one copy a complete Linux install from one hard drive to > another? I've tried using the cp command with various parameters, > but to no avail. There seems to be lots of special files and > directories (/proc for example) that cp can'

Copying Linux to a new drive

2001-07-29 Thread Santiago del Roi
How does one copy a complete Linux install from one hard drive to another?  I've tried using the cp command with various parameters, but to no avail.  There seems to be lots of special files and directories (/proc for example) that cp can't handle.  Any suggestions?     ~