diff options
author | Stew Benedict <stewb@mandriva.org> | 2005-03-10 17:59:25 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2005-03-10 17:59:25 +0000 |
commit | 07176b363fe8b3cb3c885f378c93748ef749dcfb (patch) | |
tree | 43f6030b7fbbff156f6c3c715a7337e172842a5b /perl-install/partition_table/raw.pm | |
parent | 3fb415deb585958c2e8f5cf86cfafc899fd9153a (diff) | |
download | drakx-07176b363fe8b3cb3c885f378c93748ef749dcfb.tar drakx-07176b363fe8b3cb3c885f378c93748ef749dcfb.tar.gz drakx-07176b363fe8b3cb3c885f378c93748ef749dcfb.tar.bz2 drakx-07176b363fe8b3cb3c885f378c93748ef749dcfb.tar.xz drakx-07176b363fe8b3cb3c885f378c93748ef749dcfb.zip |
Diskdrake mods for XBox (thks Pixel)
Diffstat (limited to 'perl-install/partition_table/raw.pm')
-rw-r--r-- | perl-install/partition_table/raw.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm index 28f0fc797..db1d40584 100644 --- a/perl-install/partition_table/raw.pm +++ b/perl-install/partition_table/raw.pm @@ -201,6 +201,11 @@ sub zero_MBR { bless $hd, "partition_table::$type"; $hd->{primary} = $hd->clear_raw; delete $hd->{extended}; + if (is_xbox()) { + my $part = { start => 1, size => 15632048, pt_type => 0x0bf, isFormatted => 1 }; + partition_table::dos::compute_CHS($hd, $part); + $hd->{primary}{raw}[0] = $part; + } } sub zero_MBR_and_dirty { |