Bug#423412: grub2: grub-install fails on PPC

Gustavo Franco stratus at debian.org
Tue May 15 16:47:30 UTC 2007


On 5/15/07, Robert Millan <rmh at aybabtu.com> wrote:
> On Tue, May 15, 2007 at 05:01:14AM -0300, Gustavo Franco wrote:
> > dpkg: error processing
> > /var/cache/apt/archives/grub-of_1.95+20070507-1_powerpc.deb
> > (--unpack):
> >  failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during
> > `./boot/grub/unifont.pff': No space left on device
>
> How big is your /boot/grub?

797k only.

> Btw, could you please file a separate bug?

Actually I'm working over the stuff below and when I've something more
I'll open a new bug, probably with a patch to the new grub source
package.

wget http://czyborra.com/unifont/unifont.hex.gz
wget http://cvs.savannah.gnu.org/viewvc/*checkout*/grub/grub2/util/unifont2pff.rb

./unifont2pff.rb 0x0000-0x0241 0x2190-0x21FF 0x2500-0x259f unifont.hex
> unifont.pff

mount /dev/hda2 /boot/grub

grub-install

# nvsetenv
boot-device=/pci at f4000000/ata-6 at d/disk at 0:2,\grub

Edit /boot/grub/grub.cfg and add "(hd0)" to "set root" (that was blank).

References:
http://grub.enbug.org/gfxterm
http://grub.enbug.org/TestingOnPowerPC


Following the steps I've created above grub-install didn't fail. I've
/boot/grub/grub, the *.mod, cfg and even yaboot was kept,
/boot/grub/device.map is blank though. My hand-made unifont.pff is 23k
large, I'm not sure we really need all the glyphs there and
unifont.pff 1.6MB large.

My problem now is that OF (Open Firmware) blink my screen two or three
times during the boot and no sign of grub, yaboot enters the scene
even with the nvsetenv output above. Hints?

regards,
-- stratus
http://stratusandtheswirl.blogspot.com




More information about the Pkg-grub-devel mailing list