Skip to content

Runing virtme in Docker #69

Description

@facku24

Hi guys! I'm new in virtme. I'm starting working with drivers and want to start virtme to try them into a container of Docker.

But I face this problem:

[    1.982400] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    1.983271] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.003071] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    2.007171] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[    2.012089] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -19
[    2.012675] Please append a correct "root=" boot option; here are the available partitions:
[    2.013856] 0b00         1048575 sr0
[    2.013927]  driver: sr
[    2.015327] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.015982] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.11.0-rc7+ #1
[    2.016359] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014
[    2.017063] Call Trace:
[    2.018535]  dump_stack+0x57/0x6a
[    2.018920]  panic+0xf6/0x2b7
[    2.019133]  mount_block_root+0x196/0x21a
[    2.019446]  mount_root+0xec/0x10a
[    2.019624]  prepare_namespace+0x136/0x165
[    2.019868]  kernel_init_freeable+0x1c8/0x1d3
[    2.020133]  ? rest_init+0xa4/0xa4
[    2.020323]  kernel_init+0x5/0xfc
[    2.020509]  ret_from_fork+0x22/0x30
[    2.021730] Kernel Offset: 0x30a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    2.022684] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Seems like virtme can't find /.

Is there something that I'm missing in the configuration? Is virtme supported for Docker?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions