TurnKey Linux Virtual Appliance Library

custom auto partitioning while installing

whowhywhat's picture

Firstly thanks a lot for turnkey linux appliances. love the light weight appliances.   

i have been tinkering around with customizing a turnkey appliance (remastering the cd). will surely document and share when i get the time. 

my question is - how do i add a custom recipe to the guided partitioning of the installer? (i want to have seperate partitions for /tmp /usr /var .. etc, by default during automatic partitioning)

Alon Swartz's picture

Thanks, and some direction

Thanks for the encouragement, we love getting feedback!

Regarding your question on auto-partitioning, the package in question you are referring to is di-live, but the partitioning is done by the partman-* packages (which were created to work with debian-installer), and included in di-live.

I know the above doesn't pin point exactly what you need to do to achieve your objective, but should point you in the right direction.

Let us know how it goes, good luck!
whowhywhat's picture

thanks for the quick reply

thanks for the quick reply .. i had seen the d-i installer directories earlier.. but didnt figure it out. The recipes files are the ones to be used right? where is the default recipe located? will try and figure it out. thanks again..
Alon Swartz's picture

partman auto recipes

Guest's picture

Any update on how you can do the modifications

Hello,

I know this topic is from some time ago and i'am new to creating a modied turnkey appliance.
I could do evrything I want by reading the dev documentation but I was also wandering how I could do the auot-partioning during installation.

Any things you can share how you did the modifications?

kinds regards

Jeremy Davis's picture

TBH I have no idea...

So I can't directly help with your question. However I may have some relevant info? Depending on what you are planning to install to, perhaps theres another way to skin the cat? If you are hoping to install to bare metal or to an unsupported VM type, then obviously, you'll need to work out the partitioning...

OTOH if you can get away with an OVA or some other type of supported VM build, then you can leverage the work that we've done. E.g. the current default VM build (OVA) is created by buildtasks: bt-vm

Guest's picture

thx for the info. I can use

thx for the info.

I can use a OVA or vm build. I have a look at the buildtasks: bt-vm and see if I can do some small modifications to the buildtask to defina the partions I want.

kind regardsayrji

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)