Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
163 stars 59 forks source link

Boot problem #325

Closed SerMel13 closed 2 years ago

SerMel13 commented 2 years ago

Hello, Could you help me with unbootable elbe image?

I created elbe image via "initvm submit ...". There were no error messages. Then I wrote the result sda.img.tar.gz to sda of VM (via tar xf0z and dd).

The boot process hangs before switching root without any warnings or errors (on VirtualBox and Qemu-KVM).

The grub command and partitions layout seems to be correct. Is there any simple way to turn on "debug mode in initrd" for elbe images (without patching initrd file and some other tricks)?

SerMel13 commented 2 years ago

Screenshot from 2022-03-11 06-22-35

bgermann commented 2 years ago

How are there no errors? There are plenty of them. Most probably you have a GPT layout problem.

SerMel13 commented 2 years ago

Screenshot from 2022-03-11 10-15-14

SerMel13 commented 2 years ago

Ran parted from LIveCD and remove DVD from VM. Still hanging.

bgermann commented 2 years ago

You say you created the initvm with "elbe initvm submit ..." Do you use a custom initvm XML then? What happens on creating the defualt initvm with "elbe initvm create"?

SerMel13 commented 2 years ago

Sorry for not updating. Adding devtmpfs.mount=1 to the linux command in grub config helped.