On Sat, Aug 30, 2008 at 08:17:37PM +0930, Arthur Marsh wrote:
> 
> Yes, removing the line
> 
> (fd0) /dev/fd0
> 
> from /boot/grub/device.map silences the error messages
> 
> error: cannot open `(null)' while attempting to get disk size

Great.  I think we nailed the problem down now.

One more check, please;  could you add the floppy line back (exactly in
the same position), and test with this change?

I think this should be the last test;  Thank you very much for your help
so far!

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
--- /tmp/biosdisk.c~	2008-08-29 18:27:21.000000000 +0200
+++ /tmp/biosdisk.c	2008-08-30 16:26:08.000000000 +0200
@@ -549,6 +549,8 @@
 	  char *q = p + sizeof ("/dev/fd") - 1;
 	  if (*q >= '0' && *q <= '9')
 	    {
+	  free (map[drive].drive);
+	  map[drive].drive = NULL;
 	      grub_util_info ("`%s' looks like a floppy drive, skipping", p);
 	      continue;
 	    }

Reply via email to