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

Creating VM image for hours #1

Open
Alaric617R opened this issue Feb 10, 2023 · 2 comments
Open

Creating VM image for hours #1

Alaric617R opened this issue Feb 10, 2023 · 2 comments

Comments

@Alaric617R
Copy link

I run a x86 machine with unbuntu 20.04 installed on windows. When running ./scripts/mkimg.sh, it takes hours and still didn't have a sign finishing. Is it because the mirror site too slow?

I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://deb.debian.org/debian
@superobertking
Copy link
Member

It is likely so. You can try appending a mirror URL to the debootstrap line in the script. Usage example at the end of this link. Please try choosing a mirror near your location from the list of mirrors.

@superobertking
Copy link
Member

superobertking commented Oct 30, 2023

Met the same issue today. Turns out to be a bad ipv6 route. I can successfully finish debootstrap by disabling ipv6 by adding those to sysctl.conf and then sysctl -p:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

There are other methods to disable IPv6 depending on different network manager.
Otherwise, fixing the ipv6 route configuration on the network would also help.

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

2 participants