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

docs: minimum memory requirement for live ISO #388

Closed
ssoor opened this issue Feb 13, 2020 · 8 comments · Fixed by coreos/fedora-coreos-docs#46
Closed

docs: minimum memory requirement for live ISO #388

ssoor opened this issue Feb 13, 2020 · 8 comments · Fixed by coreos/fedora-coreos-docs#46

Comments

@ssoor
Copy link

ssoor commented Feb 13, 2020

Bug

Host Operating System Version

Microsoft Windows [version 10.0.18362.592]

VM: Hyper-V

Target Operating System Version

fedora-coreos-31.20200210.2.0-live.x86_64.iso

coreos-installer Version

unknown

Expected Behavior
boot to shell

Actual Behavior

2048M memory failed to start, 4192M memory started normally.

Failure message:

[!!!] Failed to isolate default target.

Reproduction Steps

# mem ==2048M 
# /dev/sda == os.vhd(1024G)
# bootiso == fedora-coreos-31.20200210.2.0-live.x86_64.iso

image

@lucab
Copy link
Contributor

lucab commented Feb 13, 2020

Thanks for the report. It looks like the issue is that the initial VM did not have enough memory. We should better document that requirement for the live ISO. Can you maybe check if 3 GiB are enough?

@ssoor
Copy link
Author

ssoor commented Feb 13, 2020

Thanks for the report. It looks like the issue is that the initial VM did not have enough memory. We should better document that requirement for the live ISO. Can you maybe check if 3 GiB are enough?

Just tried it and set it to 2200M running normally, 2100M got an error

@lucab lucab changed the title Failed to isolate default target. docs: minimum memory requirement for live ISO Feb 13, 2020
@ssoor
Copy link
Author

ssoor commented Feb 13, 2020

@lucab The documentation explains how much memory is needed, but why does a live cd need so much memory?

@jlebon
Copy link
Member

jlebon commented Feb 13, 2020

@ssoor It's running entirely from RAM. You could e.g. remove the CD after booting. But then you need enough RAM to host both the filesystem and for the OS itself to use. (See somewhat related discussions in #352).

@bgilbert
Copy link
Contributor

2 GB should be enough though. The image is only ~600 MB.

@ssoor
Copy link
Author

ssoor commented Feb 14, 2020

@jlebon Thanks for the answer, but like @bgilbert said, the image is only ~600MB, and the system does not take up so much memory after booting. and i see that the size of the memory disk is relatively large. Is it caused by it? Can it be reduced appropriately?

memory use:
image

disk size:
image

@linquize
Copy link

linquize commented Mar 3, 2020

2GB RAM is not OK.
Can boot with 3GB RAM

@dustymabe
Copy link
Member

It seems like a lot of people are hitting this. I think we need to:

The first two are covered by either a PR or another issue. The last bullet point is something we should consider. Although, if you don't have enough memory, you might not even get to the point where the thing that checks the minimum memory will even run. So it's a tricky problem to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants