Re: Moving Fedora system to new disk

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

 



On May 29, 2014, at 5:31 AM, Timothy Murphy <gayleard@xxxxxxxxxx> wrote:

> Heinz Diehl wrote:
> 
>>> I'm planning on moving the Fedora-20 system on my laptop
>>> to a new hard disk (500GB instead of 80GB).
> 
>> I've done that quite often, and it's no problem.
>> 
>> 1. Boot from an external medium, e.g. www.sysresccd.org
>> 2. Mount both disks
>> 3. Use "rsync -avxHSAX /source/ /target" to copy the partitions
>> 4. Install grub2 on the new disk:
>>   - mount /dev/sdaX /mnt
>>   - grub2-install --root-directory=/mnt /dev/sda
>>   - grub2-mkconfig -o /mnt/boot/grub2./grub.cfg
>> 
>> Reboot, and you're done.
> 
> Don't you have to correct UUIDs in /etc/fstab on the new disk?

Yes. And good chance you'll need to run dracut to rebuild all initramfs's; for sure if it's being moved to new hardware. It might tolerate same hardware, different drive and fs volume UUID, but I know that the initramfs contains references to the volume UUID so you're better off rebuilding the initramfs's.


Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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