sda1 / sda2 /home sda3 extended sda5 swap
Unfortunately I need to put Win 10 on the laptop to support a friend who lives too far away to visit much.
I decided I would move things about and put Win 10 on /dev/sda1
So I messed about with it and now have this
Code: Select all
sudo fdisk -l
[sudo] password for buteman:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xf6a7b7cd
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 178190335 178188288 85G 83 Linux
/dev/sda2 178190336 1767235583 1589045248 757.7G 83 Linux
/dev/sda3 1767235584 3702228991 1934993408 922.7G 83 Linux
/dev/sda4 3702228992 3907028991 204800000 97.7G 5 Extended
/dev/sda5 3702231040 3886057471 183826432 87.7G 83 Linux
/dev/sda6 3886059520 3907028991 20969472 10G 82 Linux swap / Solaris
This has resulted in having 2 partitions with the same UUID.
At the moment it has booted and is using sda5 so I know it works.
What I intended to do is use fsarchiver to create a copy of sda2 which has /home on it, to an external drive and then clone it onto sda3.
After that I was going to delete sda2 resize sda1 to 100G and then resize sda3 to leave no room between it and sda1.
As I understand it at each boot it could pick sda1 or sda5 to boot and if I clone sda2 onto sda3 the same thing will happen.
I believe I could generate a new UUID for one partition but not sure what else I would need to do to make it work.
I also suspect that I could delete sda1 to cure that problem but not sure enough to risk it.
That means I am stuck.
Any help would be appreciated.