You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
1.0 KiB
Diff
19 lines
1.0 KiB
Diff
9 years ago
|
Qemu does not support disk images with more than 16 heads, but the lenovo
|
||
|
disk image is created with 64 heads. Since the MBR they used does not use
|
||
|
LBA to access the disk, this confuses it and causes it to fail.
|
||
|
|
||
|
This patch changes the partition end head/cylinder, which is all that is
|
||
|
needed to make the MBR happy
|
||
|
|
||
8 years ago
|
This patch is for disk images with 75776 sectors (38797312 bytes)
|
||
|
|
||
9 years ago
|
@@ fix partition table @@
|
||
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||
|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 |................|
|
||
8 years ago
|
-000001c0 01 00 04 3f 20 24 20 00 00 00 e0 27 01 00 00 00 |...? . .........|
|
||
|
+000001c0 01 00 04 0f 20 90 20 00 00 00 e0 27 01 00 00 00 |.... . .........|
|
||
9 years ago
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||
|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
|