Re: image created by debootstrap does not work
- Date: Fri, 22 Sep 2017 23:02:19 +0300
- From: Reco <recoverym4n@xxxxxxxxx>
- Subject: Re: image created by debootstrap does not work
On Fri, Sep 22, 2017 at 07:07:28PM +0000, 慕 冬亮 wrote:
> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
> qemu-stretch.img -append "root=/dev/sda1 single"
> However, the result shows that "VFS: unable to mount root fs".
And that's exactly how it should be. I'm not sure about jessie's kernel,
but stretch one has ext support built as a module (CONFIG_EXT4_FS=m).
Meaning - if you want to boot from ext2/ext4 filesystem you'll need
initrd. This qemu invocation does not supply one.
> I learn the method from the following website:
I'm genuinely surprised that such method worked for them.