Hello everyone,
Like the title mentions, migrating to BalenaOS from a UEFI based ubuntu failed. The screen is totally black just after rebooting from the migration stage.
I have tried both the following balena-migrate.conf configurations:
- Enabling GRUB_INSTALL
GRUB_INSTALL=TRUE
- Disabling GRUB_INSTALL
# GRUB_INSTALL=TRUE, means here it was commented.
I have booted with a live linux distribution in order to extract the stage 2 migration logs related to the configuration of GRUB_INSTALL=TRUE
.
[LOG Wed Nov 20 09:41:12 UTC 2019]: balena-stage2-default started
[LOG Wed Nov 20 09:41:12 UTC 2019]: total memory: 3890664 kB
[LOG Wed Nov 20 09:41:12 UTC 2019]: free memory: 3682536 kB
[LOG Wed Nov 20 09:41:12 UTC 2019]: est. memory left after subtracting image & backup size: 3682536 kB
[LOG Wed Nov 20 09:41:12 UTC 2019]: copying image from /root/home/ubuntu/192.168.100.39_migratecfg/balena.img.gz to /balena-migrate/
[LOG Wed Nov 20 09:41:13 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:13 UTC 2019]: creating mountpoint on /resin-boot
[LOG Wed Nov 20 09:41:13 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:13 UTC 2019]: creating mountpoint on /resin-data
[LOG Wed Nov 20 09:41:13 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:13 UTC 2019]: Free memory after copy to initramfs: 3407508 kB
[LOG Wed Nov 20 09:41:13 UTC 2019]: unmounting root
[LOG Wed Nov 20 09:41:13 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:13 UTC 2019]: flashing image from /balena-migrate/balena.img.gz to /dev/sda
[LOG Wed Nov 20 09:41:13 UTC 2019]: attempting gzip -d -c /balena-migrate/balena.img.gz | dd of=/dev/sda bs=4M \n
[LOG Wed Nov 20 09:41:24 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:24 UTC 2019]: mounting resin-boot using: mount -w -t vfat /dev/sda1 /resin-boot
[LOG Wed Nov 20 09:41:24 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:24 UTC 2019]: copying network config to resin-boot
[LOG Wed Nov 20 09:41:24 UTC 2019]: ..done
[LOG Wed Nov 20 09:41:24 UTC 2019]: setting up grub boot config: GRUB_INSTALL = INSTALL
[LOG Wed Nov 20 09:41:24 UTC 2019]: copying grub.cfg
[LOG Wed Nov 20 09:41:24 UTC 2019]: attempting grub install with type UEFI
[LOG Wed Nov 20 09:41:24 UTC 2019]: Add UEFI boot entry for starting resinOS from internal media.
[LOG Wed Nov 20 09:41:24 UTC 2019]: copying grub.cfg
[LOG Wed Nov 20 09:41:26 UTC 2019]: mounting resin-data using: mount -w -t ext4 /dev/sda6 /resin-data
[LOG Wed Nov 20 09:41:26 UTC 2019]: ..done
Appreciate your help.