1

My setup before: SSD-1 containing windows 10 with all of its recovery etc. partitions SSD-2 empty HDD-1 containing ubuntu 20.04 root directory + grub partition HDD-2 containing /home directory, which I mounted

My goal: SSD-1: as is SSD-2: ubuntu root + grub HDD-1: format for windows HDD-2: leave as is

What I did: 1. Copied the ubuntu root partition to SSD-2 using the bash script found here: Bash script to backkup/clone Ubuntu to another partition -> this seemingly worked after adding /home/* to --exclude={/dev/,/proc/,/sys/,/tmp/,/run/,/mnt/,/media/*,/lost+found}

  1. After rebooting, the root directory was on the desired SSD and my /home was still mounting correctly. At this point nothing seems to be broken.

  2. I decided (in my infinite wisdom) that since it seems to work without the old root directory being mounted, that I could delete its data, which left me in the following state.

SSD-1 Windows 10 SSD-2 Ubuntu root HDD-1 grub partition (old root was deleted here) HDD-2 Ubuntu /home

  1. Now on reboot I get the grub error message: error: no such device: 2f09eae6-...-...-...-... error: unknown filesystem. Entering rescue mode... grub rescue>

I would like to have my grub on the same SSD as my root directory and I would prefer if it worked again :). I have tried using my Ubuntu live USB to perform the steps described here Boot error > no such device: grub rescue, but ran into this GPT partition contains no BIOS Boot Partition.

I think I am going at this issue in the wrong way, what would be the correct approach. Is reinstalling ubuntu and then somehow mounting my root and /home the correct approach?

Thanks for any help that I receive!

1 Answers1

0

Boot the system from an installer live session. Mount the existing system partition and use a text editor (nano from a terminal works fine) to take a look at the file:

/boot/efi/EFI/ubuntu/grub.cfg

It's a small file...mine is 117 bytes. Make sure the search.fs_uuid value is correct for your root partition. Change if necessary (might have to use sudo to get permissions), then save the file, back out of the live session and reboot the machine.

rbmorse
  • 79