开发者

boot machine using qemu

开发者 https://www.devze.com 2023-02-07 02:14 出处:网络
I am trying to boot vm using qemu, the command that I use is qemu-system-x86_64 -kernel /boot/vmlinuz-2.6.32-21-generic -hda /music/1gbfile

I am trying to boot vm using qemu, the command that I use is

qemu-system-x86_64 -kernel /boot/vmlinuz-2.6.32-21-generic -hda /music/1gbfile

and its giving a error : Please appe开发者_C百科nd a correct "root=" boot option.

What does root mean here?

Thanks


Try this:

qemu-system-x86_64 -kernel /boot/vmlinuz-2.6.32-21-generic -hda /music/1gbfile -append "root=/dev/hda"

You are basically making /dev/hda (which you provide with -hda argument) as your system's root directory. You can find more information here

0

精彩评论

暂无评论...
验证码 换一张
取 消