Re: Bug in installation of Debian 2.1 on Atari
> I was going to rebuild the Amiga and Mac boot floppies anyway so
> adding the Atari to that won't be too much work.
Ah, that's fine!
> So if you have a patch please throw it my way :-)
I've checked it in into the CVS, but I guess that doesn't help you.
Here's a normal patch:
--- boot-floppies/utilities/libfdisk/partbl_atari.c 1998/02/24 10:32:59 1.3
+++ boot-floppies/utilities/libfdisk/partbl_atari.c 1999/05/17 13:16:18 1.4
@@ -68,7 +68,9 @@
rs = (struct rootsector *) data;
if (!(fdisk_device = fdisk_find_disk( device )))
return 0;
- hd_size = fdisk_device->size;
+ /* fdisk_device->size is in kByte, but we need it in sectors for
+ * comparisons. */
+ hd_size = 2*fdisk_device->size;
if (!VALID_PARTITION( &rs->part[0], hd_size ) &&
!VALID_PARTITION( &rs->part[1], hd_size ) &&
Roman
Reply to: