My filesystem layout, internal is sda and external is sdb:
sda
├─sda1
├─sda2
├─sda3 xfs 47a37509-ff0a-428d-915c-bb4f0990db3f 1.8G 8% /boot
├─sda4 xfs ccbf4efa-8634-43f8-806a-118b9295471c 41.1G 18% /
├─sda5 swap 1 ace29398-f6ce-41a6-83ea-fafeb00ae323 [SWAP]
└─sda6 xfs 563b68c5-8f7d-48c7-a0c8-1b3e7e7fc276 843.9G 4% /home
sdb
├─sdb1
├─sdb2
├─sdb3 ext4 1.0 abad4358-f108-4521-b8f8-4b7ff0f67c2e
├─sdb4 ext4 1.0 a9cd1ec5-bcab-4a03-9ae3-86a776821e08
├─sdb5
└─sdb6 ext4 1.0 1368841e-d836-4e79-81e1-9a0a6db1aa61
Steps done so far:
- Used the clone-ubuntu.sh script to clone the internal hdd to a 2TB external hdd.
- Ran 'grub-install /dev/sdb' and ran 'update-grub' when booted off the internal drive.
- Mounted /dev/sdb3 to /mnt.
- Updated the /mnt/grub/grub.cfg file with the UUID of the /dev/sdb for /boot partition.
- Updated the /mnt/grub/grub.cfg file with the UUID of the /dev/sdb for / partition.
- Updated the /mnt/grub/grub.cfg file and changed from hd0,gpt4 to hd1,gpt4
It's an old Acer Aspire One laptop with BIOS (no UEFI) and I change the boot order with the external drive as the first boot device.
And everytime it boots off the internal drive, I can't make it to boot off the external drive.
What am I doing wrong? Did I miss a crucial step or something? I even ran 'dd bs=512 count=1 if=/dev/sdb 2>/dev/null| strings
ZRr=
`|f
|f1
GRUB
Geom
Hard Disk
Read
Error
and as you can see it does contain GRUB!
I'm at a total loss, any help is greatly appreciated.