Score:0

/dev/sda does not exist. Dropping to a shell!

ru flag

I'm trying to run Linux kernel in QEMU with this command: qemu-system-x86_64 -m 4G -initrd initrd -kernel arch/x86_64/boot/bzImage -append "root=/dev/sda" Linux.raw

But when I run it, I see this

jpbrain avatar
ca flag
Hi. I think root should be pointing to a partition. sda is the whole virtual disk.
ArianKG avatar
ru flag
@jpbrain I listed the files in `/dev`, but there is no `sda`
jpbrain avatar
ca flag
will this help? https://ops.tips/notes/booting-linux-on-qemu/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.