So I plan on using clonezilla to copy just the /boot/efi to a flash drive. Note I have successfully cloned the whole ssd to an external hard drive with clonezilla. I just want to work with one partition since I am only going to restore one partition.
The next steps which are not clonezilla related but invariably someone will ask what I am doing, so for reference:
Backup the data in the FAT32 partition (already done with clonezilla)
Reformat the partition to EXT4
Resize EXT4 partition to desired partition size
Reformat the partition back to FAT32
Restore the FAT32 files from backup (clonezilla)
There is a warning:
Be aware that the reformatting described in the workaround resets UUIDs. Any existing mount configuration referring it via e.g.
/dev/disk/by-uuid/12CE-A600
will no longer succeed to mount it. Ensure to update your fstab or similar config to the new UUID when using this workaround.
I can't see how I am going to alter the fstab from the gparted live so I would like to know if the UUID will be maintained by clonezilla,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Basically the UUID will be kept if partclone or dd is used when you save or clone the partition. Only on a case when you do 512e/n to 4kn disk, the ESP partition will be changed due to the files are copied after the ESP partition is format.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The "entertaining" thing is after I did the restore, the unallocated space was still there. Incidentally I had to use supergrub to boot into linux. The windows boot worked fine. So the UUID issue might be there but since the unallocated problem wasn't solved, I didn't spend any time on the linux boot.
So gparted wipes the partition when converting back and from fat32 to ext4. I suspected as much which is why I did the backup.
Since I have a functional windows OS I tried to expand the partition with the windows disk manager but it won't touch it. (Not an issue for Clonezilla but I figure I would mention it since people often just google for answers.)
On my list is just to do the back and forth gparted conversion but not restore from Clonezilla, then use fwupdmrg to create a linux bios, then attempt to add the windows boot back in. I need to consult the hive (reddit or the framework forum) but you won't believe the nasty replies I got when just posting this procedure from reddit!
I swear I have done my last dual boot system. I will just use a virtual machine. I really only need windows to flash devices and am a bit nervous to flash from a VM, but this dual booting is getting ridiculous. I had two unexpected issues doing the dual boot. One being win11 turns on ecruption by default. The second being there is some weird quickboot feature that interferes with dual boot.
Anyway thanks for your reply since this question is really find of fringe for Clonzilla. which is basically a solid program if you can follow instructions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The background story here is gparted cannot resize a partition smaller than 256MB. I am providing the links for reference but this obviously isn't my question:
https://bugzilla.gnome.org/show_bug.cgi?id=649324
https://gitlab.gnome.org/GNOME/gparted/-/issues?label_name%5B%5D=3.+Not+GNOME&show=eyJpaWQiOiIyNDUiLCJmdWxsX3BhdGgiOiJHTk9NRS9ncGFydGVkIiwiaWQiOjE5NTM3OH0%3D
So I plan on using clonezilla to copy just the /boot/efi to a flash drive. Note I have successfully cloned the whole ssd to an external hard drive with clonezilla. I just want to work with one partition since I am only going to restore one partition.
The next steps which are not clonezilla related but invariably someone will ask what I am doing, so for reference:
There is a warning:
I can't see how I am going to alter the fstab from the gparted live so I would like to know if the UUID will be maintained by clonezilla,
Basically the UUID will be kept if partclone or dd is used when you save or clone the partition. Only on a case when you do 512e/n to 4kn disk, the ESP partition will be changed due to the files are copied after the ESP partition is format.
The "entertaining" thing is after I did the restore, the unallocated space was still there. Incidentally I had to use supergrub to boot into linux. The windows boot worked fine. So the UUID issue might be there but since the unallocated problem wasn't solved, I didn't spend any time on the linux boot.
So gparted wipes the partition when converting back and from fat32 to ext4. I suspected as much which is why I did the backup.
Since I have a functional windows OS I tried to expand the partition with the windows disk manager but it won't touch it. (Not an issue for Clonezilla but I figure I would mention it since people often just google for answers.)
On my list is just to do the back and forth gparted conversion but not restore from Clonezilla, then use fwupdmrg to create a linux bios, then attempt to add the windows boot back in. I need to consult the hive (reddit or the framework forum) but you won't believe the nasty replies I got when just posting this procedure from reddit!
I swear I have done my last dual boot system. I will just use a virtual machine. I really only need windows to flash devices and am a bit nervous to flash from a VM, but this dual booting is getting ridiculous. I had two unexpected issues doing the dual boot. One being win11 turns on ecruption by default. The second being there is some weird quickboot feature that interferes with dual boot.
Anyway thanks for your reply since this question is really find of fringe for Clonzilla. which is basically a solid program if you can follow instructions.