Some partition tables have partitions that are not aligned to a cylinder boundary, which confuses the current geometry guessing logic. Enhance the existing logic to ensure that we never reduce our guesses for the number of heads or sectors per track, and add extra logic to calculate the exact number of sectors per track if we find a partition that starts within cylinder zero. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
219 |
|
219 |
|
220 |
|
220 |
|
221 |
|
221 |
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
222 |
|
225 |
|
223 |
|
226 |
|
224 |
|
227 |
|
225 |
|
228 |
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
229 |
|
231 |
|
230 |
|
232 |
|
231 |
|
|
|
||
244 |
|
243 |
|
245 |
|
244 |
|
246 |
|
245 |
|
|
246 |
|
|
|
247 |
|
|
247 |
|
248 |
|
|
249 |
|
|
|
250 |
|
|
248 |
|
251 |
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
|
|
249 |
|
272 |
|
250 |
|
273 |
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
258 |
|
286 |
|
259 |
|
287 |
|
|
288 |
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
260 |
|
294 |
|
261 |
|
295 |
|
262 |
|
296 |
|