xenial image fails to mount rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
We are building a Xenial image using DIB_RELEASE=xenial and the following command
disk-image-create --no-tmpfs -o deployment_
This however results in the following error when booting the image
[ 2.279933] VFS: Cannot open root device "LABEL=
[ 2.294251] Please append a correct "root=" boot option; here are the available partitions:
[ 2.308070] 0800 1791552 sda driver: sd
[ 2.316631] 0801 1789504 sda1 15cbceb6-01
[ 2.325394] 0b00 1048575 sr0 driver: sr
[ 2.333875] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.337844] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-96-generic #119-Ubuntu
[ 2.337844] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-
[ 2.337844] 0000000000000086 8d281f2c43cdce82 ffff88013ab87de8 ffffffff813fabd3
[ 2.337844] ffffffff81ca6028 ffff88013ab87e80 ffff88013ab87e70 ffffffff8118d967
[ 2.337844] 6230002000000010 ffff88013ab87e80 ffff88013ab87e18 8d281f2c43cdce82
[ 2.337844] Call Trace:
[ 2.337844] [<ffffffff813fa
[ 2.337844] [<ffffffff8118d
[ 2.337844] [<ffffffff81f5f
[ 2.337844] [<ffffffff81f5f
[ 2.337844] [<ffffffff81f5f
[ 2.337844] [<ffffffff81f5f
[ 2.337844] [<ffffffff81836
[ 2.337844] [<ffffffff81836
[ 2.337844] [<ffffffff81843
[ 2.337844] [<ffffffff81836
I have attached the entire log for the build
I also noticed that the final image misses an initrd file in /boot which may be the reason for the failure.
This line is also interested in the log
Installing GRUB2... target. d/finalise. d/50-bootloader : line 160: type: grub2-mkconfig: not found
Installing for i386-pc platform.
Installation finished. No error reported.
/tmp/in_
Generating grub configuration file ...