Re: Swapping HDD....

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

 



fred smith writes:

if that doesn't get you where you need to go, you might try:
--with the new drive connected via USB
--boot from the aforementioned live CD
--create the partitions as you want them
--pray a while...
--copy all the files from each partition on the OLD drive into the
  matching partition on the NEW drive (using something akin to
  "cp -a /dev/sd<olddrive> </dev/sd<whatever-newdrive>").

I do not believe that cp -a will do the right thing with hard links.

I think you want to use "rsync -a -H -A -X -S".

--install GRUB on the new drive
--oh yeah, pray some more :)
--swap new into the computer and see what you get.

It's going to be easier to swap the drive first, then boot off a live CD or an installation CD, let it mount the partitions on the hard drive, then drop to a rescue shell, then chroot /mnt/sysimage and then /sbin/grub2-install.

Attachment: pgpCpSpvdt1Wl.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux