Patched GRUB to use a config file named 'grubcfg' rather than 'grub.cfg'. This allows us to have set the RISC OS file type to 'text' so that it can be double-clicked and opened directly from the CD into a text editor. diff -urN grub-1.91.orig/normal/main.c grub-1.91/normal/main.c --- grub-1.91.orig/normal/main.c 2005-08-13 21:26:56.000000000 +0100 +++ grub-1.91/normal/main.c 2007-09-08 14:13:19.000000000 +0100 @@ -504,11 +504,11 @@ prefix = grub_env_get ("prefix"); if (prefix) { - config = grub_malloc (grub_strlen (prefix) + sizeof ("/grub.cfg")); + config = grub_malloc (grub_strlen (prefix) + sizeof ("/grubcfg")); if (! config) return; - grub_sprintf (config, "%s/grub.cfg", prefix); + grub_sprintf (config, "%s/grubcfg", prefix); grub_enter_normal_mode (config); grub_free (config); } diff -urN grub-1.91.orig/util/arm/RISC_OS/grub-mkfs.in grub-1.91/util/arm/RISC_OS/grub-mkfs.in --- grub-1.91.orig/util/arm/RISC_OS/grub-mkfs.in 2007-09-07 17:38:55.000000000 +0100 +++ grub-1.91/util/arm/RISC_OS/grub-mkfs.in 2007-09-08 14:13:40.000000000 +0100 @@ -70,7 +70,7 @@ mformat -i "$image" -s18 -t80 -h2 -S2 -M512 :: mcopy -b -i "$image" -Rfe4 ${pkgdatadir}/*.mod ::/ mcopy -b -i "$image" -Rfff ${pkgdatadir}/*.lst ${pkgdatadir}/grub_RO,ff8 ${pkgdatadir}/\!Run,feb ::/ -mcopy -b -i "$image" -Rfff - ::/grub.cfg << EOF +mcopy -b -i "$image" -Rfff - ::/grubcfg << EOF # Default RISC OS config file. insmod fat