All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* #vmdk with #dunfell
@ 2020-12-10 13:18 chruetli
  2020-12-11 20:57 ` [yocto] " Randy MacLeod
  2021-01-13  5:10 ` #vmdk #hddimg #iso " chruetli
  0 siblings, 2 replies; 4+ messages in thread
From: chruetli @ 2020-12-10 13:18 UTC (permalink / raw
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Hi,

I switched from warrior to dunfell and want to build an image for Oracles VirtualBox VM.
On warrior there was 'automatically' a hddimg generated on dunfell this is no longer the case. The IMAGE_FSTYPES has to by specified, I use:
WKS_FILE = "virtualbox.wks"
IMAGE_FSTYPES += "wic.vmdk"

This requires me to write an wks file for which I use:
part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
bootloader --ptable gpt  --timeout=5  --append="rootfstype=ext4 video=vesafb vga=current console=tty0"

With these settings I get an vmdk image but it fails to boot. I get a "VFS Unable to mount root fs on unknown block(0,0)" dump.

Any ideas?

[-- Attachment #2: Type: text/html, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] #vmdk with #dunfell
  2020-12-10 13:18 #vmdk with #dunfell chruetli
@ 2020-12-11 20:57 ` Randy MacLeod
  2021-01-13  5:10 ` #vmdk #hddimg #iso " chruetli
  1 sibling, 0 replies; 4+ messages in thread
From: Randy MacLeod @ 2020-12-11 20:57 UTC (permalink / raw
  To: chruetli, yocto

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

On 2020-12-10 8:18 a.m., chruetli@gmx.net wrote:
> Hi,
>
> I switched from warrior to dunfell and want to build an image for 
> Oracles VirtualBox VM.
> On warrior there was 'automatically' a hddimg generated on dunfell 
> this is no longer the case. The IMAGE_FSTYPES has to by specified, I use:
> WKS_FILE = "virtualbox.wks"
> IMAGE_FSTYPES += "wic.vmdk"
>
> This requires me to write an wks file for which I use:
> part /boot --source bootimg-pcbios --ondisk sda --label boot --active 
> --align 1024
> part / --source rootfs --ondisk sda --fstype=ext4 --label platform 
> --align 1024
> bootloader --ptable gpt  --timeout=5  --append="rootfstype=ext4 
> video=vesafb vga=current console=tty0"
>
> With these settings I get an vmdk image but it fails to boot. I get a 
> "VFS Unable to mount root fs on unknown block(0,0)" dump.
>
> Any ideas?


Not off-hand.

Since no one is available right now to help,

can you report the bug in:

https://bugzilla.yoctoproject.org/

after creating an account:

https://bugzilla.yoctoproject.org/createaccount.cgi

Please give lots of detail about your build host,
and the repos and versions you are using.

Thanks,

../Randy


> 
>

-- 
# Randy MacLeod
# Wind River Linux


[-- Attachment #2: Type: text/html, Size: 2455 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #vmdk #hddimg #iso with #dunfell
  2020-12-10 13:18 #vmdk with #dunfell chruetli
  2020-12-11 20:57 ` [yocto] " Randy MacLeod
@ 2021-01-13  5:10 ` chruetli
  2021-01-13  8:26   ` chruetli
  1 sibling, 1 reply; 4+ messages in thread
From: chruetli @ 2021-01-13  5:10 UTC (permalink / raw
  To: yocto


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]

Some more information:

Build Configuration:

BB_VERSION= "1.46.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING= "universal"
TARGET_SYS= "x86_64-poky-linux"
MACHINE= "virtualbox"
DISTRO= "my-gnu-linux"
DISTRO_VERSION= "3.1.2"
TUNE_FEATURES= "m64"
TARGET_FPU= ""

Without any ajustments in my .conf file I get the missing WKS_FILE/S warning:

ERROR: my-image-1.0-r0 do_image_wic: No kickstart files from WKS_FILES were found: my-image.virtualbox.wks my-image.wks. Please set WKS_FILE or WKS_FILES appropriately.

**** hddimg/vdmk ****

Setting IMAGE_FSTYPES = "hddimg"

Convert the generated hddimg to vdmk :

$ vboxmanage convertfromraw image-virtualbox.hddimg image-virtualbox.vdmk

Starting image-virtualbox.vdmk with VirtualBox:

Starting image-virtualbox.hdd with VirtualBox shows the same behaviour as for vdmk

Opening the vdmk file as an archive the files show strange creation dates:

**** iso ***
*
Setting IMAGE_FSTYPES = "iso"

S tarting image-virtualbox.iso with VirtualBox:
Linux is booting until it hangs after "Load/Save Random Seed". What stands out is the failure message in the beginning "Failed to start Remount Root and Kernel File Systems"... But how to fix it?

[-- Attachment #1.2: Type: text/html, Size: 4081 bytes --]

[-- Attachment #2: vdmk-file-date.PNG --]
[-- Type: image/png, Size: 17021 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #vmdk #hddimg #iso with #dunfell
  2021-01-13  5:10 ` #vmdk #hddimg #iso " chruetli
@ 2021-01-13  8:26   ` chruetli
  0 siblings, 0 replies; 4+ messages in thread
From: chruetli @ 2021-01-13  8:26 UTC (permalink / raw
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

I messed it up, this relates to:

https://lists.yoctoproject.org/g/yocto/message/51705

> 
> 
> 
> I switched from warrior to dunfell and want to build an image for Oracles
> VirtualBox VM.
> On warrior there was 'automatically' a hddimg generated on dunfell this is
> no longer the case. The IMAGE_FSTYPES has to by specified, I use:
> WKS_FILE = "virtualbox.wks"
> IMAGE_FSTYPES += "wic.vmdk"
> 
> This requires me to write an wks file for which I use:
> part /boot --source bootimg-pcbios --ondisk sda --label boot --active
> --align 1024
> part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align
> 1024
> bootloader --ptable gpt  --timeout=5  --append="rootfstype=ext4
> video=vesafb vga=current console=tty0"
> 
> With these settings I get an vmdk image but it fails to boot. I get a "VFS
> Unable to mount root fs on unknown block(0,0)" dump.
> 
> Any ideas?
> 
>

[-- Attachment #2: Type: text/html, Size: 1079 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-13  8:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-10 13:18 #vmdk with #dunfell chruetli
2020-12-11 20:57 ` [yocto] " Randy MacLeod
2021-01-13  5:10 ` #vmdk #hddimg #iso " chruetli
2021-01-13  8:26   ` chruetli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.