Another quick
question about installing Linux without loosing my D:
partition.
The L-M site says to
use the following patch during installation to avoid problems, but how do I
apply the patch, isn't it a graphical install? [see appendix A at bottom
of message.]
And it says "If the damage has already been done, the other
solution is to use this script which fixes the problem on a live system. To run the
patch, use perl linux_extended_fix.pl
on the command line as root.
"
Does this recover
the files as well?
Appendix
A:
use partition_table;
package partition_table;
log::l("PATCHING");
undef *adjust_main_extended;
*adjust_main_extended = sub($) {
my ($hd) = @_;
log::l("patched adjust_main_extended");
if (!is_empty_array_ref $hd->{extended}) {
my ($l, @l) = @{$hd->{extended}};
# the first is a special case, must recompute its real size
my $start = round_down($l->{normal}{start} - 1, $hd->{geom}{sectors});
my $end = $l->{normal}{start} + $l->{normal}{size};
my $only_linux = 1;
foreach (map $_->{normal}, $l, @l) {
$start = min($start, $_->{start});
$end = max($end, $_->{start} + $_->{size});
$only_linux &&= isTrueFS($_) || isSwap($_);
}
$l->{start} = $hd->{primary}{extended}{start} = $start;
$l->{size} = $hd->{primary}{extended}{size} = $end - $start;
$hd->{primary}{extended}{type} = $only_linux ? 0x85 : 0x5 if !$::expert;
}
unless (@{$hd->{extended} || []} || !$hd->{primary}{extended}) {
%{$hd->{primary}{extended}} = (); #- modify the raw entry
delete $hd->{primary}{extended};
}
verifyParts($hd); #- verify everything is all right
};
Thanks, guys!
I really am a newbie so this doesn't mean very much to
me.