-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add more free space to rootfs-tools.ext2 #32
Comments
We can add this to the docs:
|
The currently rootfs is so small that you can't even run The idea is the following (for convenience):
Using |
We can close this, right? There is a simple way to increase its size using
|
I don't know. I still stand that we should provide this rootfs in cartesi machine official packages with enough space to play with it. The idea is to allow this once we have Ubuntu packages: Suppose I want to test if the cartesi machine can run my script apt-get install cartesi-machine-sdk
cartesi-machine -v=.:/mnt -u=root -n -it bash
apt-get update -y
apt-get install -y python
python /mnt/myscript.py Not having space will make users' lives less convenient. I use the cartesi machine instead of Docker run to try things out here. Although I have to patch rootfs to increase its size. Not having a larger size every user will also need to do the same. It will be more problematic with packages, because they can't edit things in |
Well maybe we could provide rootfs packages with different flavors, one of them would just have more space so you can play, more things to maintain, but it's another approach. Since we don't distribute Linux packages for the host yet, nor encourage people to play with installing packages outside Docker (with cartesi machine cli), I am closing. |
Context
When trying to do
apt-get update
with VirtIO networking device usingrootfs-tools-v0.14.1.ext2
, it fails because the disk is out of space. We need to provide a rootfs with a bit more space for testing things out.Possible solutions
Right now the rootfs has 4MB of free space, we could provide at least 64MB of free space.
The text was updated successfully, but these errors were encountered: