[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #10433] Grub 0.95 - Grub Bootable CD-ROM, no device (cd). Related

From: Brendan Sleight
Subject: [bugs #10433] Grub 0.95 - Grub Bootable CD-ROM, no device (cd). Related to Error 21 at stage 1.5
Date: Wed, 2 Mar 2005 22:55:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041207 Firefox/1.0 (Debian package 1.0-5)

Follow-up Comment #5, bugs #10433 (project grub):

We have an ugly hack, initial testing is promising, we are undertaking
further testing - as part of the new Kanotix, Clusterix and Morphix releases.

We are not satisfied with the ugly approach and are looking at other ways
around. In fact we have had quite alot of discussion about grub_printf
statement running three times, error reporting and other nicer solutions such
cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
if (cdrp.drive_no == drive)

This for now is a nice safe patch which will also work for 0.96

I am _not_ taking the credit for this hard work. This patch was generated by
Kanotix, Morphix and Clusterix developers. slh, kano, locsmif, g1powermac to
name just a few.

--- grub-0.95.orig/stage2/bios.c        2004-03-27 17:34:04.000000000 +0100
+++ grub-0.95/stage2/bios.c     2005-03-02 01:02:29.192582200 +0100
@@ -147,6 +147,7 @@
   grub_memset (&cdrp, 0, sizeof (cdrp));
   cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
   err = biosdisk_int13_extensions (0x4B01, drive, &cdrp);
+  err = 0; /* really ugly hack to circumvent faulty BIOS versions like Acer
292LMi */
   if (! err && cdrp.drive_no == drive)
       if ((cdrp.media_type & 0x0F) == 0)


This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]