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

Re: Grub2 with sparc64 patches



> On Jan 24, 2017, at 2:06 PM, louis ayotte <pocketpc2004@live.ca> wrote:
> 
> On 2017-01-24 01:01 PM, Eric Snowberg wrote:
> 
>> How big is your kernel?  Will silo boot it?  Can you start 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.
>> 
> Before i installed grub it was booting fine with both kernels from SILO
> 
> grub> ls -l /
> DIR          20170116171825 lost+found/
> 51437        20160122105340 silotftp.b
> 6752         20160122105340 isofs.b
> 512          20160122105340 first.b
> 1024         20160122105340 generic.b
> 1024         20160122105340 fd.b
> 53760        20170116173035 second.b
> 800          20160122105340 ieee32.b
> 3715429      20160430170110 vmlinuz-4.5.0-2-sparc64-smp
> 2314500      20160430170315 System.map-4.5.0-2-sparc64-smp
> 3850232      20170116192407 vmlinuz
> 512          20160122105340 ultra.b
> 17281088     20170116192407 initrd.img
> 196          20170116173227 silo.conf
> 127403       20160430170315 config-4.5.0-2-sparc64-smp
> 7680         20170116173035 old.b
> 16280175     20170116191428 initrd.img-4.5.0-2-sparc64-smp
> 132748       20170112155237 config-4.9.0-1-sparc64-smp
> 3850232      20170112155237 vmlinuz-4.9.0-1-sparc64-smp
> 16280175     20170116192407 initrd.img.old
> 3715429      20170116192407 vmlinuz.old
> DIR          20170123170539 grub/
> 2416201      20170112155237 System.map-4.9.0-1-sparc64-smp
> 17281088     20170123004007 initrd.img-4.9.0-1-sparc64-smp
> 
> grub> lsmod
> Name    Ref Count       Dependencies
> minicmd 1              
> ls      1               normal
> normal  3               gettext,boot,bufio,crypto,terminal
> gzio    0              
> gettext 4              
> boot    4              
> bufio   4              
> crypto  4              
> terminal        4              
> search_fs_uuid  1              
> part_sun        1              
> ext2    1               fshelp
> fshelp  2              
> 
> I might look into the rescue iso later on today

That might be best.  Before you do that though, could you turn on the following debug flag and send me the results:

grub> set debug=loader
grub> linux /vmlinuz-4.9.0-1-sparc64-smp

do you get the same error with your smaller kernel?

> 
> Thanks


Reply to: