Sorry, I think I may have confused things a little: the -D is an option to setup_harddisks (you can see it by looking at the setup_harddisks script) - but how do we get fai to call seup_harddisks with the -D option, which then allows sfdisk to run properly?
Regards, Richard Michael Tautschnig wrote: > Sorry, mysteriously forgot the CC... > > ----- Forwarded message from Michael Tautschnig <[EMAIL PROTECTED]> ----- > > Date: Mon, 10 Mar 2008 13:31:53 +0100 > From: Michael Tautschnig <[EMAIL PROTECTED]> > To: "R. F. Grant" <[EMAIL PROTECTED]> > Subject: Re: FAI partitioning question > User-Agent: Mutt/1.5.17 (2007-11-01) > > [...] > >> I notice that sfdisk, which setup_harddisks actually uses to do the >> partitioning, has a -D option to allow DOS compatability. And, in fact, >> running sfdisk -D on the drive after FAI drops out does actually work. >> >> The question, then: is there some parameter I can get FAI to pass to >> setup_harddisks so that it will format in DOS compatability mode? Or >> some equivalent work around? >> >> > [...] > > You should do as follows: Say, your client has a class MY_HOST, then add a > file > class/MY_HOST.var containing: > > export sfdisk="-D" > > Well, that should be about it. > > Best, > Michael > > > > > ----- End forwarded message ----- >
