The mkpart option doesn't work, because it is not writing a filesystem
on the partition. In the man page of parted it should do this, but it
doesn't. F... Parted!!!

So if we need to create logical partitions we have to create the primary
and the logical partitions with the mkpartfs option and the extended one
with mkpart option.

Could someone tell me how to do that in the install.pl or better in the
config.pl

Thanks!
 

------------------------------------------------------------------------
--------------

I think I've fix the problem.

in install.pl I did the following in the parted section:

- my %type_map = (7 => 'ntfs',
+ my %type_map = (7 => 'fat32',

switched ntfs to fat32, first partition (system partition) will be
although ntfs

- $ret = "$parted mkpartfs $parttype $fs $start $end";
+ $ret = "$parted mkpart $parttype $fs $start $end";

mkpartfs switched to mkpart to create extended partitions without a
filesystem.

sample for partition scheme with logical partition:

'20G C:, rest D:' =>
         'fdisk /pri:20288;fdisk /ext:100,100;fdisk /log:100,100
/spec:7',

finaly I use the format.bat to format the d: drive with ntfs

format.bat :
echo j| %windir%\system32\format d: /q /FS:ntfs /V:DATEN

Perhaps someone has a better idea for formating the second partition.

And perhaps someone could aplly this fix in the CVS.

Thanks to all for your help!

Greatings,
Andreas Laub


------------------------------------------------------------------------
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to