Bug#371069: grub2: doesn't work on Debian PowerPC

Sven Herzberg herzi at gnome-de.org
Wed Jun 7 08:50:34 UTC 2006


Subject: grub2: doesn't work on Debian PowerPC
Package: grub2
Severity: normal

I tried installing grub2 the way I'm used to for grub 1:

> sudo grub-install --root-directory=/boot/grub /dev/hda1
/grub-mkimage: Not found.
> 

The I read /usr/share/doc/grub2/README.Debian and tried this:
> grub-mkimage -v -d /usr/share/grub/powerpc-pc/ -o /tmp/core.img _chain ext2 xfs
grub-mkimage: error: cannot open /usr/share/grub/powerpc-pc//kernel.elf
> 

So I checked the path against the installed files (via 'dpkg -L grub2 |
grep kernel') and found that this should work:
> grub-mkimage -v -d /usr/lib/grub/powerpc-ieee1275 -o /tmp/core.img
_chain ext2 xfs
grub-mkimage: info: copying segment 0, type 1
grub-mkimage: info: writing 0xc490 bytes at offset 0xa0
grub-mkimage: info: copying segment 1, type 1685382481
grub-mkimage: info: writing 0x0 bytes at offset 0x0
grub-mkimage: info: getting the size
of /usr/lib/grub/powerpc-ieee1275/_chain.mod
grub-mkimage: error: cannot
stat /usr/lib/grub/powerpc-ieee1275/_chain.mod
>

So please do these 2 things:
1. make sure grub-install works
2. Update the documentation
3. Add documentation about automatically installing new kernels (like grub1 has)

Regards,
  Sven

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-23-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20060607/c263fa75/attachment.pgp


More information about the Pkg-grub-devel mailing list