make linux-debug
qemu-system-x86_64 -m 8G -smp 4 -net nic,model=virtio -drive format=raw,file=ubuntu-linux-share.raw,if=virtio -nographic -serial mon:stdio -append "nokaslr root=/dev/vda1 rw console=ttyS0" -kernel ./kernel/vmlinuz-5.13.0 -initrd ./kernel/initrd.img-5.13.0 -s -S
qemu-system-x86_64: warning: hub 0 is not connected to host network
SeaBIOS (version rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org)
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+BFF910B0+BFEF10B0 CA00
Booting from ROM...
[ 0.000000] Linux version 5.13.0 (root@zsx-Standard-PC-Q35-ICH9-2009) (gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP Mon Aug 9 201
[ 0.000000] Command line: nokaslr root=/dev/vda1 rw console=ttyS0
...
Begin: Will now check root file system ... fsck from util-linux 2.31.1
done.
mount: mounting /dev/vda1 on /root failed: No such device
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
Anything I missed? Thanks
make linux-debug
qemu-system-x86_64 -m 8G -smp 4 -net nic,model=virtio -drive format=raw,file=ubuntu-linux-share.raw,if=virtio -nographic -serial mon:stdio -append "nokaslr root=/dev/vda1 rw console=ttyS0" -kernel ./kernel/vmlinuz-5.13.0 -initrd ./kernel/initrd.img-5.13.0 -s -S
qemu-system-x86_64: warning: hub 0 is not connected to host network
SeaBIOS (version rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org)
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+BFF910B0+BFEF10B0 CA00
Booting from ROM...
[ 0.000000] Linux version 5.13.0 (root@zsx-Standard-PC-Q35-ICH9-2009) (gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP Mon Aug 9 201
[ 0.000000] Command line: nokaslr root=/dev/vda1 rw console=ttyS0
...
Begin: Will now check root file system ... fsck from util-linux 2.31.1
done.
mount: mounting /dev/vda1 on /root failed: No such device
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
Anything I missed? Thanks