This pc started as my first Ubuntu daily driver when I transitioned from Windows, it's a dual-boot UEFI 64-bit system with Windows 8 (original system) and Ubuntu 18.04.5. Secure Boot is disabled.
Here is the current partition setup for the 2 disks.
I haven't booted it into Windows for three or four years now, and sda
is showing some issues on SMART, so it's time to replace it. I'd like to get rid of Windows in the same operation. Here's my proposed final config.
So, how to get from "current" to "final"? Here is my plan, asking if it won't work and how to fix the plan if it's wrong.
- Clonezilla the UEFI system partition and the data partition to our samba server.
- Use
gparted
to set the new hard-drive up as gpt and make the partitions. - Clonezilla the partitions to the new drive.
- Swap out the drives in the pc.
- Boot the pc with a live USB.
update-grub
with bind mounts and chroot like in this answer- Update the
fstab
to include the data partition's new UUID - Profit?
One thing I'm not sure of, do I need to do a grub-install
? I'm not sure what that does on UEFI systems. If it just fills in the UEFI system partition, seems like I wouldn't need to since I cloned it.
run-install
instead? Sounds like that might be a better plan. – Organic Marble Aug 18 '20 at 18:50