E.g. Leap Micro 6.0 - neither upgrade from 5.5 nor fresh install works in Virtualbox.
Probably related to “first boot” mechanisms as error is similar, initrd cannot detect volumes.
E.g. Leap Micro 6.0 - neither upgrade from 5.5 nor fresh install works in Virtualbox.
Probably related to “first boot” mechanisms as error is similar, initrd cannot detect volumes.
Oh wow, I learned a lot - a lot more than I wanted to for checking out new Leap Micro 6.0 on VirtualBox. Here’s how you get booted:
ignition-dummy.img
).VBoxManage convertfromraw --format VDI ignition-dummy.img ignition.vdi
*) If you are a UI kind of type than Add Custom Lines To Combustion Script to enable web access systemctl enable --now cockpit.socket
Hi @lab-at-nohl
Thanks for pointing this WA out. Based on your findings and studied openSUSE ignition Installer config creator I created a manual installation WA to make Leap Micro 6.0 VBox Self-install installation work. This way you don’t need to use config creator site, only need a Linux machine/VM and VBox to create the VDI file manually, and you can use Combustion script and include custom files in the image on normal way.
Create 20MB size IMG file
truncate -s 20m combustion.img
Create FAT filesystem on image
mkfs -t vfat combustion.img
Mount the image in /mnt
mount -o loop combustion.img /mnt/
Label the image (FAT filesysytem) with the following:
dosfslabel /dev/loop0 ignition
NOTE1: ignition
name is mandatory (however it’s quiet contradictive, because it’s needed for Combustion too as well. In case of Leap Micro 5.5 it was much simpler, because I created an ISO file with combustion
label and via combustion
directory only, and it was working fine.
NOTE2: In case of dosfslabel
(install it if missing) and /dev/loop0
can be vary on your system.
Create the following dir structure in /mnt
.
├── combustion/
│ ├── script
│ ├── file1.sh
│ └── file2.txt
└── ignition/
└── config.ign
The most important are combustion/script
& ignition/config.ign
files. Combustion script
is a bash script actually (you can use your old one if exist) and include all files which are used in script for installation (e.g.: file1.sh, file2.txt
) as a dependency.
config.ign
file does not need to be populated. Only the following base content is needed:
{
"ignition": {
"version": "3.2.0"
}
}
Rest of them are the same. Now you have a manually generated img file, and convert it to a VBox VDI file as follows on your VBox machine:
VBoxManage convertfromraw --format VDI combustion.img combustion.vdi
If its done, then attach beside the Self-Install media as disk image combustion.vdi
:
Reported as a bug on openSUSE bugzilla:
https://bugzilla.opensuse.org/show_bug.cgi?id=1230668
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.