1. On installing a PC with Windows XP and using the
ie6.bat (q330994.EXE) I get the message :
This update requires Outlook 6.0 Service Pack 1 to be
installed.
And I have to click to continue the installation.
What did I do wrong ?
2. I added the script( see below - which I found here)
to site\config.pl.
After booting I can select what I want to do. It worked
for my with 4.4b but now with 4.5 after selecting 4
(Whole disk c:)
I get the error: No extended partition found for logical
partition at /z/dosbin/install.pl line 531.
3. There is surely somewhere on this site update about the script which came
with the unattend install, like patch updates, new script and so on. But I didn’t
find it.
Thanks in advance for any help
I'm a real dummy with script like this.
Ralf
-----------------
CONFIG.PL
----------------
# File to hold site-specific customizations.
# Enable maximum warnings and disallow sloppy
constructs.
use warnings;
use strict;
#
# PUT YOUR CHANGES HERE
#
# Make this file evaluate to "true".
$u->{"_meta"}->{"fdisk_cmds"} =
sub {
# Reserve 50% of the drive for windows,
# the rest will be used for Linux
#
# Find the half-way point of the drive
my $fh;
open ($fh, "parted /dev/dsk -s print | grep 'Disk
geom' | sed s/.*-//|");
my $line=<$fh>;
close ($fh);
$line =~ /([\d]*)/;
my $max=$1;
print "Disk Size is $max MB\n";
my $half=$max/2;
my $halfplus=$half+1;
# Blatently cribbed from ask_fdisk_cmds in
unattended 4.4
# Commands to erase partition table
my $pre_cmds = "fdisk /clear 1";
# Commands to replace the first partition with a
4G FAT32
# partition and activate it
my $post_cmds
= "fdisk /delete /pri:1;fdisk /pri:4000;fdisk /activate:1";
# Command to run fdisk interactively
my $interactive_cmd = "fdisk /xo";
my $ret = menu_choice(
"50% C:, 50% Linux" => "parted -s /dev/dsk
mkpart primary ext2 0 $half;parted -s /dev/dsk mkpart
primary ext2 $half $halfplus",
"Do nothing (continue)" => undef,
"Run partitioning tool manually (experts only)" =>
$interactive_cmd,
"Whole disk C:", => "fdisk /pri:100,100",
"4G C:, rest D:"
=> "fdisk /pri:4096;fdisk /pri:100,100 /spec:7",
"12G C:, 5G D:, rest E:"
=> "fdisk /pri:12288;fdisk /pri:5120 /spec:7;fdisk /pri:100
,100 /spec:7"
);
defined $ret
or return undef;
$ret eq $interactive_cmd
or $ret = "$pre_cmds;$ret;$post_cmds";
return $ret;
};
sub main::convert_fdisk_parted($) {
my ($fdisk_cmd) = @_;
my $ret;
# "--" is required, lest "-0" on the command line look
like an
# option.
my $parted = "parted -s /dev/dsk --";
if ($fdisk_cmd =~ /^\s*parted\s+/) {
$ret=$fdisk_cmd;
} else {
my ($cmd) = ($fdisk_cmd =~ /^\s*fdisk\s+(.*?)
\s*\z/i);
defined $cmd
or croak "internal error";
if ($cmd =~ /^\/clear\s+1\z/i) {
$ret = "$parted mklabel msdos";
}
elsif ($cmd =~ /^\/delete\s+\/pri:(\d+)\z/i) {
$ret = "$parted rm $1";
}
elsif ($cmd =~ /^\/activate:(\d+)\z/i) {
$ret = "$parted set $1 boot on";
}
elsif ($cmd =~ /^\/xo/i) {
$ret = "parted /dev/dsk";
}
elsif ($cmd =~ /\/pri(o)?:(\d+)(,100)?
(?:\s+\/spec:(\d+))?/i) {
my ($fat16, $size, $is_percent, $type) = ($1,
$2, $3, $4);
# We really want "infinity" here. But I suppose
a
# petabyte will do.
my $infinity = 1000000000;
if (defined $is_percent) {
$size eq "100"
or croak "We only support 100,100 for
size spec ($fdisk_cmd)" ;
$size = $infinity;
}
my ($start, $end) = find_free_space ($size);
# Sanity-check size of FAT16 partitions.
defined $fat16 && $end - $start > 2047
and die "Unable to execute fdisk $cmd\n"
. "because it would create a FAT16 partition
> 2047M\n"
. "I suggest using /pri:XXX instead
of /prio:XXX\n"
. "Bailing out";
$end >= $infinity
and $end = "-0";
my $fs = (defined $fat16 ? "fat16" : "fat32");
if (defined $type) {
$type == 7
or croak "Sorry, only type 7 (NTFS) is
allowed ($fdisk_cmd)";
$fs = "ntfs";
}
$ret = "$parted mkpart primary $fs $start
$end";
}
else {
die "Unable to convert '$fdisk_cmd' to Parted
commands; bailing";
}
} # End check for parted command
return $ret;
};