Re: Transfer F7 partition to a new hard disk

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

 



On 10/20/07, Jonathan Dieter <jdieter@xxxxxxxxx> wrote:
> > > > I have just bought a new hard disk. Could someone please tell me how
> > > > can I create a clone of my F7 partition in the new hard disk?
> > >
> > > Other people have suggested using dd.
> > > I strongly advise against this.
> > > I would use "cp -a" or rsync.
> > >
> > > I think the word "clone" is slightly misleading.
> > > Presumably you want a copy which works in the same way as the original.
> > > For that it is better to use "cp -a", and give the partition a new label,
> > > with e2label, to avoid confusion.
> >
> > With the command
> >
> > cp -a /dev/sdd1 /dev/sda1
> >
> > ?
> >
> > Paul
> >
>
> Uh, not quite.  You want to:
>
> 1. Create a partition on the new hard drive (run "parted /dev/sda", and
>    then 'h' for more details).  Make sure this partition is larger than
>    the space you used on the old one.
> 2. run "mkdir /tmp/sda1; mkdir /tmp/sdd1"
> 3. run "mount /dev/sda1 /tmp/sda1; mount /dev/sdd1 /tmp/sdd1"
> 4. run "cp -a /tmp/sda1/* /tmp/sdd1"
> 5. run "umount /tmp/sda1 /tmp/sdd1"
>
> Beyond that, we really need to know what exactly you're wanting to do
> with this system.  I made the assumption early on that you were wanting
> to move your system to a larger hard drive, but that doesn't necessarily
> seem to be the case.
>
> I'm afraid I'm going to be away from my computer for the next fourteen
> hours or so, so if you still need help, others will have to give it.
> Good luck,

Thanks!

What filesystem should I choose for my new partition?

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux