On a related note I am trying to get a custom partition scheme that splits
the disk up 50/50 in a totally unattended way based on mac address - I can
get config.pl to change the fdisk_cmds key in unattend.txt but when I try to
run it with a non std set of fdisk commands install.pl chokes - I am running
the linux boot disk and from my limited understanding of things linux it
seems that install.pl is converting the fdisk commands to parted (the linux
equivalent?) and can not map some of the options correctly.

the commands I have tried substituting are

fdisk_cmds = "fdisk /clear 1;fdisk /pri:2000;fdisk /activate:1"
which works - duplicates the default so that I knew my substitution code was
working

fdisk_cmds = "fdisk /clear 1;fdisk /pri:4000;fdisk /activate:1"
which works but the disk formats fat 32 and so install will not proceed

fdisk /pri:50,100;fdisk /pri:100,100 /spec:7;fdisk /delete /pri:1;fdisk
/prio:2000;fdisk /activate:1;fdisk /mbr
which I hoped would create a place marker partition of 50% make a partition
of the rest, delete the 1st partition & replace it with a 2G fat 16
partition - this chokes because install.pl only allows 100 percent
selections

I tried replacing the percentages with fixed large values, but then
install.pl choked on the /delete bit not being able to convert it to a
parted command.

Any suggestions (polite :-)) would be most welcome

Thanks

Kevin Lawry

----- Original Message ----- 
From: "Moritz Engel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 01, 2004 10:20 AM
Subject: RE: customized partition-schemes for install.pl


> sorry, I have changed one line in conf-csv.pl. Now it works.
>
> -- 
> Moritz
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Moritz Engel
> > Sent: Monday, November 01, 2004 10:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: customized partition-schemes for install.pl
> >
> > Please help! If you use config.pl and my partition.csv you
> > will get also all
> > values from unattended.csv, which are called by config.pl. I
> > Think I know
> > why, but not how I can get around?
> >
> > Would you prefer to store partition-informations also in
> > unattended.csv?
> >
> > Thanks in advance,
> > Moritz
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Moritz Engel
> > > Sent: Monday, November 01, 2004 10:01 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: customized partition-schemes for install.pl
> > >
> > > Hi,
> > >
> > > I wanted to have my own partition-schemes in install.pl, so I
> > > added a sub to
> > > conf-csv.pl and made a small change to install.pl! Sub,
> > > change(no diff) and
> > > a example partition.csv are attached.
> > > The sub looks for the given 'property' in a csv-file and
> > > returns an array of
> > > 'lookup'-'value'-pairs, which you can use for menu_choice.
> > > If you like it, please commit it in next release.
> > >
> > > -- 
> > > Moritz
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > unattended-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/unattended-devel
> >
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to