How to change the default qube storage size

I am trying to install Gentoo as a template. no i do not know entirely what im doing. my understanding is gentoo needs a larger initial storage like 60 gb to get setup initially. the default is 20gb for new qubes. so when i create it and choose the proper iso it freaks out and shuts down. i figure changing that default size to 60 or 70 would help but maybe im still missing quite a bit(very likely)

I know i can resize that way but when creating a qube it starts at the default size of like 20. so when i give it the iso its too late it seems

Are you sure is it about storage?

1 Like

why start the qube before resizing at all?

You can create a qube, resize it’s disk image and then start it for the first time.

Just to rule out it’s the disk space.

1 Like

Did you check this?

If your HVM crashes when trying to boot an ISO, first ensure that qvm-prefs <HVMname> kernel is empty

Please provide more info like how did you “pass over” the ISO to the qube and any error messages while booting from it.

2 Likes

Hi @harr ,
you wrote, you installs gentoo as template. That means, the large disk size is needed in the template.
If you create qubes from that template, only the content of /home/user and some content, that is under /usr/local is needed in that Qube. So that qube must not be large as the template, the initial size of 2 GB is meaningful.
I don’t understand, why you try to exceed the default size.

You havent said what you have done, so I am assuming that you have
used “CreateNewQube->Template->DoNotClone”"
Open the settings for the new template, and adjust the disk size as you
will. Any qubes you create from that template will inherit the
system disk size from the template, but not private storage.
For this reason you will want to install gentoo only in the system
disk in the template, so make sure that you run the install targeting
only the first disk.

You also havent said what you did to change the " default size to 60 or
70" - that would be helpful if following the steps above does not
work for you.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

you are spot on with how i made it. the create new qube >template >do not clone. when i click create qube and window opens for selecting the iso. i give it the gentoo iso and it starts looking promising and wigs out. i understand wigs out is not very descriptive. the gentoo install gui shows. i select an option then tons of lines of code fly by and it crashes. looking into the issue online the advice i was given was to increase the disk size. so when creating the qube i uncheck the box for starting qube after creation. then i go to the qubes settings and change the disk size for it. but then when stareting the qube i am not prompted with the screen to asign the iso for it. im still on the template section of this. i understand qubes created from templates do not need the same disk size but i have not gotten there yet. again i am likely missing something very simple.

OK, this is all good.
In dom0, start the new template like this:
qvm-start NEW_TEMPLATE --cdrom QUBE:PATH_TO_IMAGE
putting in your values.
QUBE = qube where you have the install image.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

the command looked to go through but when i start the qube for gentoo it still just shuts back down without bringing up the install gentoo gui or anything

says file is available. gentoo is starting. gentoo is started. gentoo has shutdown. the same accures when i start the qube myself.

Look at the qube settings.
Settings->Advanced->kernel
make sure that is set to “provided by qube”

You do know there was a gentoo template already? Depending on your
skills you might like to bring that up to date.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

my skills are limited lol. i planned to give it a try but im unsure what needed done to bring it up to date. ill see if i can find that again and see what changes need done