>
> Well I am a bit embarrassed having to ask what is really a newbie question
> and it is way off subject for this list. I need to move a Linux systems
> from a small drive to a large drive. I have it all set up in mount have no
> problem with lilo and all the other info in the howto but need a bit of
> info on how to use cpio to move the whole mess. The old drive has only two
> partitions I have broken the new drive up to several. I think that cpio
> would be the best bet but heck I haven't figured out the syntax to do it.
> Could someone on the list give me the proper syntax to make this move that
> would perserve all the links, permissions and directory structure in on
> command.
> Mel
>
With the original drive mounted, e2fs, and the new drive
partitioned larger than the old partition, and not mounted, and in
the '/' directory - I use:
dd if=/dev/hda2 of=/dev/hdc2 bs 2048
It makes a mirror of the entire original drive to the new. Of
course you'll have to change your /dev designations to match your
lashup. I may be doing something wrong here, but it does work for my
backups. <grin>
Cheers: Hal from Five Forks, WV. {pop 70} :^) - Elm/Linux/AX25
email: [EMAIL PROTECTED]
ax25: [EMAIL PROTECTED] tcp/ip: [EMAIL PROTECTED]
.