Re: VFS: Unable to mount root fs on unknown-block(0,0)

2023-11-30 Thread Frank Carmickle
> On Nov 30, 2023, at 05:08, 泰宇周 wrote: > > Hi Peter > Thanks you so much. > I tried to specify corresponding initramfs to QEMU as following > qemu-system-x86_64 \ >-kernel /boot/vmlinuz-`uname -r` \ > -m 4G \ > -initrd /boot/initramfs-`uname -r`.img \ >-sda centos79.img \ >-append

Re: VFS: Unable to mount root fs on unknown-block(0,0)

2023-11-30 Thread 泰宇周
Hi Peter Thanks you so much. I tried to specify corresponding initramfs to QEMU as following qemu-system-x86_64 \ -kernel /boot/vmlinuz-`uname -r` \ -m 4G \ -initrd /boot/initramfs-`uname -r`.img \ -sda centos79.img \ -append "root=/dev/sda console=ttyS0" \ -enable-k

Re: VFS: Unable to mount root fs on unknown-block(0,0)

2023-11-29 Thread Peter Maydell
On Wed, 29 Nov 2023 at 15:08, 泰宇周 wrote: > > I tried to use febootstrap to make a roofs image for qemu-kvm. > It reported that > > [1.766919] Kernel panic - not syncing: VFS: Unable to mount root fs > on unknown-block(0,0) When the kernel tells you it can't mo

VFS: Unable to mount root fs on unknown-block(0,0)

2023-11-29 Thread 泰宇周
e=ttyS0" \ -enable-kvm -nographic It reported that [1.766919] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [1.767906] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.14.0-3.1.0.kwai+ #10 [1.767906] Hardware name: QEMU Standard PC

VFS: Unable to mount root fs on unknown-block(0,0)

2023-11-28 Thread alimama
rted that [1.766919] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [1.767906] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.14.0-3.1.0.kwai+ #10 [1.767906] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.5.1 01/01/2011 [1.7