MinnowBoard-org / bugs-and-help

Ask QUESTIONS here. MinnowBoard.org issue and get help submission. See README for use.
14 stars 2 forks source link

How to boot previously installed image on SD card? #56

Closed hongyuli closed 7 years ago

hongyuli commented 7 years ago

When we installed two copies of Ubuntu, the second copy made the first one not bootable. How can we get both running?

The process we did:

  1. Follow the official tutorial install an Ubuntu 16.04 on the SD card.
  2. After the installation(Ubuntu is running and bootable), power off the board and take off this SD card, plug in a second SD card.
  3. Follow the official tutorial again install an Ubuntu 16.04 on the second the SD card.
  4. But when we switch back to the first SD card, the system could not boot and only the second SD card is bootable.

It looks like the system installation overwrite something in the firmware, so that the previous system images you use is no longer discoverable. How can we get both/all the system images running?

Mark-van-der-Pol commented 7 years ago

When you say in step 4 - the system could not boot, did you go into the boot menu and don't see the SD Card as a boot option?

If you go into the shell, does it list fs0: as a detected filesystem?

I typically have no issues switching SD Cards to boot into different OS', but it sometimes doesn't automatically boot, and I have to run the OS Bootloader manually. But that is now so automatic for me, I don't notice when I need to do that.

|\/|ark

hongyuli commented 7 years ago

The boot option menu of boot manager does not have the SD card, but the mapping table does show the fs0.

According to your hint, I googled online and figured this out. In my case, when the UEFI shell shows up, use the following commands:

  1. fs0: (enter this directory)
  2. cd EFI/ubuntu
  3. grubx64.efi (run this boot loader)

Thanks for your quick response and help. Let me close this issue.