Subject: Re: Grub2 with sparc64 patches




> On Jan 24, 2017, at 1:44 PM, Frans van Berckel <[email protected]> wrote:
>
> Hi Eric,
>
> On Tue, 2017-01-24 at 09:29 -0700, Eric Snowberg wrote:
>
>> With a sun/vtoc partition table like you have on a Sun Blade
>> 1000. You will need to give it the boot partition (/dev/sda1 in your
>> case) along with the —force option. For your system I’d recommend
>> doing:
>>
>> # grub-install --force --skip-fs-probe /dev/sda1
>
> Year that does the job. If the workstation starts it takes some extra
> time to load Grub. First i see two error's, but they are quick away.
> Next the menu is loaded. I can't use the arrow keys for selecting a I
> want kernel. But just pressing enter does work. And being able edit a
> kernel line does it as well. But again no arrow keys to walk through
> the text. Exit with F10 also not functioned but ctrl+x does it well.
>
> Next the kernel boots well. What's would be the best way to debug and
> save the error messages?

I think the Sun Blade has a frame buffer. Could you see what is in
/etc/default/grub.

If it doesn’t contain the following lines, then I would recommend adding them:

GRUB_TERMINAL_OUTPUT="console"
GRUB_DISABLE_RECOVERY="true"
GRUB_PRELOAD_MODULES="iso9660"

This will prevent the frame buffer from being used and forces it to use the
console. It will also preload the iso9660 module, which helps cover up some
known bugs that need to be fixed.

Afterwards you will need to regenerate your grub.cfg, with the grub-mkconfig
command. See if this helps with the arrow keys.

I’m not used to being on this older hardware.<...

br>
>
> Thanks,
>
> Frans van Berckel



Programming list archiving by: Enterprise Git Hosting