| Computers Forum Index » Computer - Emulators (Misc) » hard drive partition... |
|
Page 1 of 1 |
|
| Author |
Message |
| Campy Happer... |
Posted: Fri Jul 11, 2008 4:17 pm |
|
|
|
Guest
|
Hi folks,
I have a hard drive partition on a computer
that's in its last days and I'd like to transfer it
verbatim to my Linux system for use with
Bochs. As it happens, the partition is
4300 megs in size so it should fit handily
onto a DVD-R. It is the 1st partition on
the old system's drive.
Can anyone explain what the process is
for making use of a partition in this manner?
I tend to think I will create an extended
partition of my Linux system that is the
same size. However, can I just transfer
the bytes over from partition 1 on the old
drive to say partition 5 on the new one?
Or should I scrap this idea and just
zip all the files on the old and unzip them
on the new drive?
Thanks. |
|
|
| Back to top |
|
|
|
| Baho Utot... |
Posted: Sat Jul 12, 2008 5:11 am |
|
|
|
Guest
|
Campy Happer wrote:
Quote: Hi folks,
I have a hard drive partition on a computer
that's in its last days and I'd like to transfer it
verbatim to my Linux system for use with
Bochs. As it happens, the partition is
4300 megs in size so it should fit handily
onto a DVD-R. It is the 1st partition on
the old system's drive.
Can anyone explain what the process is
for making use of a partition in this manner?
I tend to think I will create an extended
partition of my Linux system that is the
same size. However, can I just transfer
the bytes over from partition 1 on the old
drive to say partition 5 on the new one?
Rsync is your buddy
If you don't have it install it and then
man rsync for how to use
Short version follows:
After mounting the partitions
rsync -av <source> <destination>
Quote: Or should I scrap this idea and just
zip all the files on the old and unzip them
on the new drive?
Thanks.
--
Tayo'y mga Pinoy |
|
|
| Back to top |
|
|
|
| Nico Kadel-Garcia... |
Posted: Sat Jul 12, 2008 12:50 pm |
|
|
|
Guest
|
Baho Utot wrote:
Quote: Campy Happer wrote:
Hi folks,
I have a hard drive partition on a computer
that's in its last days and I'd like to transfer it
verbatim to my Linux system for use with
Bochs. As it happens, the partition is
4300 megs in size so it should fit handily
onto a DVD-R. It is the 1st partition on
the old system's drive.
Can anyone explain what the process is
for making use of a partition in this manner?
I tend to think I will create an extended
partition of my Linux system that is the
same size. However, can I just transfer
the bytes over from partition 1 on the old
drive to say partition 5 on the new one?
Rsync is your buddy
If you don't have it install it and then
man rsync for how to use
Short version follows:
After mounting the partitions
rsync -av <source> <destination
rasync -avH srcdir/ targetdir/
You want the -H to preserve hardlinks, and if you're transferring directories,
you want the trailing slashes.
And strongly consider the use of the numeric-id options, unless you're sure
that your uid's are well mapped from your old system to you new one.
Quote: Or should I scrap this idea and just
zip all the files on the old and unzip them
on the new drive?
Thanks.
Zip would definitely be trickier: "tar" is your friend for this. |
|
|
| Back to top |
|
|
|
|