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

Bug#622704: grub-installer: better yeeloong support



Package: grub-installer
Severity: normal


I recently received a Lemote YeeLoong as a gift at a conference.  I
installed Debian on it and things are mostly working out okay.

Getting the bootloader going was a bit of a challenge.  There was
already one bug with loading initramfs that was fixed upstream.  The
installer doesn't seem to understand that grub is the correct bootloader
to install, and the postinst script for grub doesn't actually configure
anything.  These issues are being addressed.

One outstanding issue that's rather unique to this system is that the
BIOS looks for a file called 'boot.cfg' in either / or /boot of the
first partition on the harddrive (using msdos partitioning).  This file
is expected to be in a particular format understood by the BIOS.  Here's
one that I have that is working for me:

----snip----
timeout 1
default 0
showmenu 0
                 
title Boot with GRUB (grub.elf)
	kernel (wd0,0)/grub.elf
	args nil
----snip----

(those are hard tabs, in case they don't come out).

The BIOS gets angry if the 'args' line is not given, even though grub
ignores it (which is why I put 'nil' here).

Installing that file is enough to get GRUB loaded at bootup by default
and from there the normal Debian grub setup is quite good enough to get
the default kernel booting.

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/4 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash



Reply to: