From 862d4fb5712d0a517508199107c2a1af6f13188a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 20 Jun 2012 13:08:37 +0200 Subject: [PATCH] Revoked rev 1013: Partition type of PReP is indeed 0x41. --- doc/boot_sectors.txt | 4 ++-- libisofs/system_area.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/boot_sectors.txt b/doc/boot_sectors.txt index d22f376..8e336c2 100644 --- a/doc/boot_sectors.txt +++ b/doc/boot_sectors.txt @@ -895,7 +895,7 @@ Sources: Mail conversations with Vladimir Serbinenko. -PReP boots via a MBR partition containing only raw ELF and having type 0x42. +PReP boots via a MBR partition containing only raw ELF and having type 0x41. ------------------------------------------------------------------------------ @@ -1376,7 +1376,7 @@ System Area may contain simultaneously: MBR Partitions: 0xee from 0 to PREP-1, protective partition, announcing presence of GPT - 0x42 from PREP to HFAT-1, PreP partition + 0x41 from PREP to HFAT-1, PreP partition 0x0c from HFAT to END-1, FAT partition, bootable bit on 0x00 Empty partition diff --git a/libisofs/system_area.c b/libisofs/system_area.c index 50addc6..c7804e2 100644 --- a/libisofs/system_area.c +++ b/libisofs/system_area.c @@ -2091,7 +2091,7 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer) return ret; } if (t->prep_part_size > 0) { - ret = iso_quick_mbr_entry(t, t->curblock, t->prep_part_size, 0x42, 0); + ret = iso_quick_mbr_entry(t, t->curblock, t->prep_part_size, 0x41, 0); if (ret < 0) return ret; t->curblock += t->prep_part_size;