Switching to a new root disk

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

 



I have a new 2TB SSD I want to configure as root+home, with an extra
partition for a Windows VM. My current setup is:

/dev/sda (an older 120GB SSD) which currently has /boot and / via LVM:

/dev/sda1     2048   1230847   1228800   600M EFI System
/dev/sda2  1230848   3327999   2097152     1G Linux filesystem
/dev/sda3  3328000 234440703 231112704 110.2G Linux LVM

$ df  -h
Filesystem                               Size  Used Avail Use% Mounted on
devtmpfs                                 7.7G     0  7.7G   0% /dev
tmpfs                                    7.7G  214M  7.5G   3% /dev/shm
tmpfs                                    7.7G  1.7M  7.7G   1% /run
/dev/mapper/fedora_localhost--live-root   68G   27G   38G  41% /
tmpfs                                    7.7G   87M  7.7G   2% /tmp
/dev/sda2                                976M  233M  677M  26% /boot
/dev/sda1                                599M   20M  580M   4% /boot/efi
/dev/sdb1                                1.9T  1.5T  372G  81% /home
tmpfs                                    1.6G   96K  1.6G   1% /run/user/1000

/dev/sdb is an ext4 HDD with /home
/dev/sdc is a Windows HDD I mostly use under QEMU/KVM though can also
boot directly.

This disk will be replaced by the new and larger SSD. My first thought
was to use dd to clone the 3 partitions of the old SSD onto 3
identically-sized partitions on the new one, then add extra partitions
for /home (which will shrink in size after splitting off a bunch of
media files) and the Windows installation. The new SSD will then
replace the old one, which will be retired.

Will this work without adjusting the EFI setup or grub2? If not, what
other steps are required? Clearly /etc/fstab would also need some
editing but I'm comfortable with that. EFI is the kicker as I've only
just started to use it and really don't know what I'm doing.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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