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

fix: two required fixes to make the alpine example work #7

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

monperrus
Copy link
Contributor

congrats on the great repo

@iximiuz
Copy link
Owner

iximiuz commented Feb 24, 2020

Hi @monperrus, thanks! Could you elaborate on your set of changes? The Alpine example works fine for me even without this PR being merged. Maybe you could provide the description of the error you're facing in your environment?

@monperrus
Copy link
Contributor Author

Here is the explanation, on my machine:

  • loop devices are read-only, which break image creation, unless docker is run with --privileged
  • when you run the alpine.img inside kvm, it does not boot, it is blocked at the initramfs stage, because the root file system is not recognized with mount -t auto. adding rootfstype=ext3 to the kernel command line fixes this.

@iximiuz iximiuz merged commit fe7e67f into iximiuz:master Feb 29, 2020
@monperrus
Copy link
Contributor Author

monperrus commented Mar 2, 2020 via email

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

Successfully merging this pull request may close these issues.

None yet

2 participants