You get a bonus - 1 coin for daily activity. Now you have 1 coin

Paravirtualized Linux Won't Start: Hangs at the Line XENBUS: Waiting for devices to initialise

Practice



If, when starting a created paravirtualized guest (virtual machine) in Xen, you see the kernel loading in the console and freezing on the line "XENBUS: Waiting for devices to initialise" with a countdown in seconds (295s... 290s...) and it refuses to boot further - most likely you have specified the wrong virtual hard disk connection type.

If you are using a file in the domain 0 filesystem as the virtual disk, then the interface for it should be specified not as TAP (tap:aio:), but as LOOP (file:). Unfortunately, the TAP interface does not work with Xen paravirtualized machines.

Thus, the hard disk declaration line should NOT look like this:

disk = ['tap:aio:/etc/xen/mymachine/hdd0,xvda,w']

but rather LIKE THIS:

disk = ['file:/etc/xen/mymachine/hdd0,xvda,w']

After changing the interface type, try starting the virtual machine again - it should work.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "LINUX operating system"

Terms: LINUX operating system