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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux