Subject: Re: Grub2 with sparc64 patches




> On Jan 24, 2017, at 9:49 AM, louis ayotte <[email protected]> wrote:
>
> On 2017-01-24 10:56 AM, Eric Snowberg wrote:
>
>> “ls" is one area that has not been completed for SPARC and has many problems.
>>
>> Try this instead:
>>
>> grub> ls /
>>
>> If you see your kernel and initrd, then do something like the following:
>>
>> grub> linux /vmlinuz-4.8.0-rc8-ATU_final_upstream_v4+
>> root=/dev/mapper/VolGroup-lv_root ro
>> grub> initrd /initramfs-4.8.0-rc8-ATU_final_upstream_v4+.img
>> grub> boot
>>
>>
> This is what i have done,
>
> GNU GRUB version 2.02~beta3-3+sparc64
>
> Minimal BASH-like line editing is supported. For the first word, TAB
> lists possible command completions. Anywhere else TAB lists possible
> device or file completions.
>
>
> grub> ls /
> lost+found/ silotftp.b isofs.b first.b generic.b fd.b second.b ieee32.b
> vmlinuz
> -4.5.0-2-sparc64-smp System.map-4.5.0-2-sparc64-smp vmlinuz ultra.b
> initrd.img
> silo.conf config-4.5.0-2-sparc64-smp boot etc old.b
> initrd.img-4.5.0-2-sparc64-
> smp config-4.9.0-1-sparc64-smp vmlinuz-4.9.0-1-sparc64-smp
> initrd.img.old vmlin
> uz.old grub/ System.map-4.9.0-1-sparc64-smp initrd.img-4.9.0-1-sparc64-smp
> grub> linux /vmlinuz-4.9.0-1-sparc64-smp
> error: /memory response buffer exceeded.

How big is your kernel? Will silo boot it? Can you sta...

rt over and do the
following:

grub> reboot

You should be back at OBP. Now boot from the disk again and issue:

grub> ls -l /

and send the response? Can you also send a list of all the loaded modules?

grub> lsmod

If you have a rescue iso, it may be easier to boot from it, mount your disk,
chroot to it, and then generate your missing grub.cfg file with grub-mkconfig
and then reboot.

> grub> initrd /in
> Possible files are:
>
> initrd.img initrd.img-4.5.0-2-sparc64-smp initrd.img.old
> initrd.img-4.9.0-1-sparc64-smp
> grub> initrd /initrd.img-4.9.0-1-sparc64-smp
> error: you need to load the kernel first.
> grub> linux /vmlinuz-4.9.0-1-sparc64-smp
> error: couldn't allocate physical memory.
> grub> linux /vmlinuz-4.9.0-1-sparc64-smp root=/dev/sdb
> error: couldn't allocate physical memory.
> grub> linux /vmlinuz-4.9.0-1-sparc64-smp root=/dev/sdb ro
> error: couldn't allocate physical memory.
> grub> linux /vmlinuz-4.9.0-1-sparc64-smp
> root=/dev/mapper/Volgroup_lv_root ro
> error: couldn't allocate physical memory.
> grub> boot
> error: you need to load the kernel first.
>



Programming list archiving by: Enterprise Git Hosting