diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-10-08 22:00:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-10-08 22:00:52 +0000 |
commit | fc479b2a46849ffe42eb17a3162a38e27900fe93 (patch) | |
tree | 571baaa9ab25ea06b356db9ede64b51a0de5ae87 /perl-install/fsedit.pm | |
parent | ed6bcf695365fcf77850639267fa3c3633429d86 (diff) | |
download | drakx-fc479b2a46849ffe42eb17a3162a38e27900fe93.tar drakx-fc479b2a46849ffe42eb17a3162a38e27900fe93.tar.gz drakx-fc479b2a46849ffe42eb17a3162a38e27900fe93.tar.bz2 drakx-fc479b2a46849ffe42eb17a3162a38e27900fe93.tar.xz drakx-fc479b2a46849ffe42eb17a3162a38e27900fe93.zip |
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 6b7de468f..b0ec2a664 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -33,8 +33,10 @@ my @suggestions_mntpoints = qw(/mnt/dos); my @partitions_signatures = ( - [ 0x83, 0x438, "\xEF\x53" ], + [ 0x83, 0x438, "\x53\xEF" ], [ 0x82, 4086, "SWAP-SPACE" ], + [ 0xc, 0x1FE, "\x55\xAA", 0x52, "FAT32" ], + [ 0x6, 0x1FE, "\x55\xAA", 0, "\xEB\x3C", 0x36, "FAT" ], ); sub typeOfPart($) { typeFromMagic(devices::make($_[0]), @partitions_signatures) } @@ -367,8 +369,8 @@ sub verifyHds { if ($readonly && !$ok) { log::l("using /proc/partitions as diskdrake failed :("); foreach my $hd (@$hds) { + partition_table_raw::zero_MBR($hd); $hd->{primary} = { normal => [ grep { $hd->{device} eq $_->{rootDevice} } @parts ] }; - delete $hd->{extended}; } } my $fstab = [ get_fstab(@$hds) ]; |