Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to boot debian by linuxboot in qemu #688

Open
sparknack opened this issue Mar 3, 2020 · 4 comments
Open

how to boot debian by linuxboot in qemu #688

sparknack opened this issue Mar 3, 2020 · 4 comments

Comments

@sparknack
Copy link

sparknack commented Mar 3, 2020

I use this command :

qemu-system-x86_64 \
    -M q35 \
    -bios linuxboot.rom \
    -m 1024 \
    -global ICH9-LPC.disable_s3=1 \
    -hda debian.qcow2 \
stty sane

But I receive this error as below:

mount: mounting /dev/sda1 on /boot failed: No such file or directory
!!!!! Unable to mount /boot
!!!!! Starting recovery shell
~ #
@ReLIFE9527
Copy link

Hi, I've also met this problem, it has confused me for several days. Have you solved it, and could you share some experience? Thanks a lot!

@tlaurion
Copy link
Collaborator

No block device is currently passed to qemu instance. Some loop device needs to be prepared first on host system.

You can play around my past attempts and hacks you can find here. Still waiting for a QEMU guru to show the way.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 18, 2020

@ReLIFE9527 @sparknack : I think this is a duplicate of what just got covered here more in details. Please review linked issues and ask questions directly in those issues. Don't hesitate to propose PR for the qemu-coreboot-* boards to be bonified with your use cases.

@tlaurion
Copy link
Collaborator

Same applies to qemu-linuxboot

tlaurion added a commit to tlaurion/heads that referenced this issue Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants