James Wilde
September 29th, 2017, 08:11 PM
This is my setup. I am running Ubuntu Mate from a 160 GB internal disk formatted with three partitions, root (/dev/sda1), swap and home. Swap and home are in an extended partition. On a 500 GB usb drive formatted similarly, except that swap and home are not in an extended partition, I have copied the root partition on /dev/sda1 to the root partition on /dev/sdb1. I followed the instructions in a post entitled MovingLinuxPartition (with no space between the words).
I used gparted run from a start-up disk to copy and paste, and have changed the UUID of the target partition (/dev/sdb1). Now I've got to the paragraphs about Update grub and fstab, and Update MBR to point to the new grub. It's here I am stuck, since this article was written for Ubuntu 9.10 and later, which means it was probably written before grub2.
What I would appreciate is if someone could point me to an article which will help me finish what I have started. I want to be able to a) test the 500 GB disk by starting from it after selecting it via the bios and then b) taking out the internal 160GB disk and inserting the 500 GB disk as my new internal disk. I presumably need to edit grub and possibly fstab, using the UUID of my new /dev/sdb1 partition.
Much appreciated as I can't even imagine how I would word a search to look for this kind of solution.
I used gparted run from a start-up disk to copy and paste, and have changed the UUID of the target partition (/dev/sdb1). Now I've got to the paragraphs about Update grub and fstab, and Update MBR to point to the new grub. It's here I am stuck, since this article was written for Ubuntu 9.10 and later, which means it was probably written before grub2.
What I would appreciate is if someone could point me to an article which will help me finish what I have started. I want to be able to a) test the 500 GB disk by starting from it after selecting it via the bios and then b) taking out the internal 160GB disk and inserting the 500 GB disk as my new internal disk. I presumably need to edit grub and possibly fstab, using the UUID of my new /dev/sdb1 partition.
Much appreciated as I can't even imagine how I would word a search to look for this kind of solution.