Closed paulmenzel closed 4 months ago
Hello,
trying to run my self-built Linux kernel
I guess it means you didn't use vng --build
or vng --kernel
, right? Some kernel configs are needed for vng
to run.
[ 0.485564] VFS: Cannot open root device "" or unknown-block(0,0): error -19 [ 0.486520] Please append a correct "root=" boot option; here are the available partitions: [ 0.487403] List of all bdev filesystems: [ 0.487694] fuseblk [ 0.487695] [ 0.487983] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
It says that the kernel has not been compiled with the filesystem that is being used (9P in your case, I guess you didn't install virtiofsd
), you are at least missing CONFIG_9P_FS=y
, but best to run vng --kernel
(or --build
, or check the options that are added and take the minimal set for your case)
Using this command line, adding
earlyprintk=serial
to-append
(and adding the quotes)
You can also use vng -v (...)
;-)
Indeed, CONFIG_9P_FS
is unset (/boot/config-6.10.0-04829-ge2f710f97f35:# CONFIG_NET_9P is not set
), and virtiofsd is not installed.
As always, thank you for the quick reply. As a convenience feature, virtme-ng could check the appropriate config file, if all required options are set.
With Debian sid/unstable and virtme-ng 1.25-1 trying to run my self-built Linux kernel (
config-6.10.0-04829-ge2f710f97f35
), nothing is shown:Using this command line, adding
earlyprintk=serial
to-append
(and adding the quotes) I get:Could somehow be checked if the Linux kernel fulfills the requirements to work?