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

Re: Regarding GRUB 2



Hello Michel,

Michel Dänzer <daenzer@debian.org> wrote:
> On Sun, 2009-09-06 at 09:49 +0000, Jörg Sommer wrote: 
>> 
>> Rogério Brito <rbrito@ime.usp.br> wrote:
>> > On Feb 21 2009, Michel Dänzer wrote:
>> >> The HFS filesystem module fails to read some files, in particular files with
>> >> an underscore in the filename. This makes GRUB2 unable to load _linux.mod
>> >> from an HFS filesystem, making it hard for PowerPC Mac users to migrate from
>> >> yaboot to GRUB2.
>> > (...)
>> >
>> > What are your experiences with grub-ieee1275?
>> 
>> Since I've figured out how to get it running [1], it works like a charm. …
>> eemm, not fully, after an kernel update, you have to run update-grub
>> manually, but that's it.
>
> I have
>
> postinst_hook = update-grub2
> postrm_hook   = update-grub2
>
> in /etc/kernel-img.conf for that.

I'm using scripts underneath /etc/kernel/ and I think the grub package
should provide such scripts.

> So the search commands in the generated grub.cfg aren't causing problems
> for you?

No, they cause problems: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533898

But I use this patch:

diff --git a/grub.d/10_linux b/grub.d/10_linux
index c642b77..a4098b0 100755
--- a/grub.d/10_linux
+++ b/grub.d/10_linux
@@ -93,7 +93,7 @@ linux_entry ()
   cat << EOF
 menuentry "$1" {
 EOF
-  prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
+#  prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
   cat << EOF
        linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro $2
 EOF

Bye, Jörg.
-- 
> Definiere ‚Demokratie‘ …
… eine Mehrheit beweist einer Minderheit, dass Widerstand zwecklos ist.


Reply to: