Re: Custom partitioning shell script?
On Tue, May 30, 2006 at 11:23:09PM -0300, Matheus Morais wrote:
> Hello,
>
> On 5/30/06, Matthew Palmer <mpalmer@debian.org> wrote:
> >
> >I have really simple needs here -- I just want to (effectively) replace
> >the
> >entire partitioning phase of installation with a single shell script -- I
> >need to do all sorts of interesting things with partitioning, but I can
> >easily write it out.
>
> Well, I dont understant precisely what you are trying to do but see if this
> helps.
Sorry, I should have been more explicit.
Preseeding, in any form I am currently aware of, will not serve my needs. I
need to be able to interrogate the machine to work out how I need to
partition the machine (one disk => LVM, two disks => MD+LVM, for example).
Perhaps there's an undocumented debconf option which partman uses to work
out "hey, I need to run this script instead", which would be great, but I've
poked and googled and come up dry on that front.
> Are you looking to replace that stage for another or just remove it?
I'm looking to replace partman (since there is none of it that I need) with
a shell script (or equivalent) of my own devising to make partitions and do
whatever else (indicating partition => mountpoint mappings, for instance)
partman does in a normal install.
> Both methods are quite simple. The simplest way is preseeding the entire
> thing but how I dont understand well what are you trying to do, I dont know
> if this will help.
I've preseeded a fair bit in the past, but this requirement goes *way*
beyond what I know can be done with preseeding.
- Matt
Reply to: