A few things to note. Your slave drive is 1/3 the size of your master, so doing a direct copy from master to slave won't work. If there is more than 5GBs of stuff on master, then something has to go.
There are so many ways to copy from one disk to another with Linux, I don't know where to start.
My personal favorite is to get the source and destination filesystems mounted, then use
rsync -qax <source mount point> <destination mount point>.
So let me show you how I would do a disk to disk copy. First, lets say that my slave disk can be erased and it's known to Linux as /dev/hdb. Now lets say my master that I want to copy has everything I want in a partition known to Linux as /dev/hda3. I'm going to ignore volume labels because, frankly they are useful, but sometimes they clash and they add a level of abstraction I want to avoid for this example. I want to mount my master and my slave stuff so I can do the copy. My slave is expendible, so I'll partition it and format it.
Using
fdisk /dev/hdb I'll destroy all the partitions and recreate one partition, write the new partition and exit.
Now I want to format the new partition (/dev/hdb1) as a normal Linux ext3 filesystem. So I do
mke2fs -v -c -j -L SLAVE /dev/hdb1
Now we need to make a few changes to /etc/fstab so that we can easily mount our source and destination stuff. So we add the two lines:
Code:
/dev/hda3 /mnt/master ext3 defaults 0 0
/dev/hdb1 /mnt/slave ext3 defaults 0 0
Next we add the mount points we specified in /etc/fstab by
mkdir /mnt/master and
mkdir /mnt/slave
Okay, now mount the things up with
mount /mnt/master and
mount /mnt/slave.
Lastly, do the copy with
rsync -qax /mnt/master/ /mnt/slave. This will run a bit and when complete you'll have a copy of your files.
Now if your master is actually "/" (the root directory) and is bootable, you'll have to do a few more things to slave to also make it bootable. For one, you'll have to specify with
fdisk /dev/hdb that you want the the first partition to be active. You'll also need to use the Grub installer to write the MBR (master boot record) to /dev/hdb.
And that should do it. On a side note here, if your master disk has fragmented files, your slave disk will not (unlike doing a true disk image)