Hi, quite simple:
There is a file which holds the partion settings in z/etc/

http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/z/etc/partitionlayout.txt.example

and let the user chooce from one of these options.


This are only few examples, the fdisk to parted was the first thing I
removed ;)

So the best option for you may be to provide the file with both, fdisk
and parted commands, so there will be no need to translate...

e.g:
[1#>* (100% C:)]
mklabel msdos;mkpart primary ntfs 0 %;set 1 boot on;
fdisk /pri:100,100;


greetings

> 
> How do you solve partition settings?
> I guess the user define them somewhere,
> and linuxboot read them and executes.
> So you must have a way to transfer the from the user into
> the linuxboot.
> 
> Im asking because we still use a fdisk to parted command translation.
> I had to look into that today, .. what a pain in the ass..
> 
> 
> mvh
> Nils Olav


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to