I looking at the only one partition problem, and I think Im on the right page:
In install.pl, sub find_free_space : ------- # Read the current partition table. my $cmd = 'parted -s /dev/dsk print'; open PARTED, "$cmd|" or die "Unable to fork: $^E"; while (my $line = <PARTED>) { my ($start, $end, $parttype) = ($line =~ /^\d+\s+(\d+\.\d{3})\s+(\d+\.\d{3})\s+(primary|logical| extended)/); defined $start && defined $end && defined $parttype or next; print "DEBUG: PARTED_VAR START:$start END:$end PARTTYPE:$parttype \n" ; if ($logical && $parttype eq 'extended') { ------- The problem here is that the print statement is never reached, ie: $start, $end, $parttype is not defined. So, is there a kind soul who can wrap the head around this? the input here is something like this (yeah, its from my laptop): ------- parted -s /dev/sda print Disk /dev/sda: 80,0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32,3kB 12,5GB 12,5GB primary ntfs boot 2 12,5GB 77,3GB 64,8GB primary ext3 3 77,3GB 80,0GB 2714MB extended 5 77,3GB 80,0GB 2714MB logical linux-swap ----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel