Hi, I have converted a regular debian linux with mender-convert and installed the Image at a x86 PC.
There are one boot partition, two linux partitions and a data partition.
After the installation of the image that mender-convert created it didnβt boot, I just got the grub prompt.
Then I setup grup to be able to boot:
grub> set root=(hd0,2)
grub> linux /boot/<linuxname.img> root=/dev/sda2
grub> initrd /boot/<initrd.img>
grub> boot
And finaly at linux to make the grub adaption permanent:
sudo grub-mkconfig -o /boot/efi/EFI/debian/grub.cfg
I have the strange behavior that the linux partition toggles mostly at reboot, not always but at approx. 8 of 10 reboots its toggling the linux partition. (Visible at lsblk)
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238,5G 0 disk
ββsda1 8:1 0 518,8M 0 part /boot/efi
ββsda2 8:2 0 42,7G 0 part /
ββsda3 8:3 0 42,7G 0 part
ββsda4 8:4 0 146,5G 0 part /data
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238,5G 0 disk
ββsda1 8:1 0 518,8M 0 part /boot/efi
ββsda2 8:2 0 42,7G 0 part
ββsda3 8:3 0 42,7G 0 part /
ββsda4 8:4 0 146,5G 0 part /data
βsudo efibootmgr --verboseβ shows that the boot is from debian HD(1,GPT,c140e[β¦]03664)/File(\EFI\DEBIAN\GRUBX64.EFI)β¦BO (This stays always the same , even if the partition used is changing)
Also I have found out that I have multiple grub.cfg files at my system. The used one is most prapable /boot/efi/EFI/debian/grub.cfg
Existing grub.cfg files
/boot/grub/grub.cfg
/boot/efi/EFI/debian/grub.cfg
/boot/efi/EFI/BOOT/grub.cfg
/usr/share/doc/grub-common/examples/grub.cfg
Any suggestions to get rid of this toggling of used linux partition? I want it to toggle only if I do a mender system update, not at each reboot⦠Thanks