OKUJI Yoshinori <[EMAIL PROTECTED]> writes:

> From: Pixel <[EMAIL PROTECTED]>
> Subject: Re: linux-2.4.0 breaks grub install into partition
> Date: 11 Jul 2000 14:21:09 +0200
> 
> > remains the ezdrive pb...
> 
>   Send a patch. I don't investigate that myself, since I have no
> ezdrive.
> 

Here is a patch. It's quite simple: if type==0x55 then use sector 1 instead of
sector 0 as the partition table
I don't know how it goes along with stage1.5 :(


cu Pixel.


--- stage2/disk_io.c~   Wed Jul 12 18:32:18 2000
+++ stage2/disk_io.c    Wed Jul 12 18:31:30 2000
@@ -554,6 +554,7 @@
       /*
        *  Load the current MBR-style PC partition table (4 entries)
        */
+    rescan:
       while (slice_no < 255 && ext >= 0
             && (part_no == 0xFF || slice_no <= part_no)
             && rawread (current_drive, part_offset,
@@ -590,6 +591,12 @@
               */
              if (current_slice)
                {
+                 if (current_slice == 0x55) 
+                   {
+                     ext = 0;
+                     part_offset = 1;
+                     goto rescan;
+                   }
 #ifndef STAGE1_5
                  /*
                   *  Display partition information

Reply via email to