Re: Grub, sparc64, and compressed kernels
On Tue, Jul 03, 2018 at 12:22:34PM -0400, Chris Ross wrote:
> I'll run with this for a bit, and respond back with questions about getting
> it installed onto software-raid partitions later. Thanks again.
Okay. So, in prepping a chroot'd md/zfs environemnt on this machine, while
updating the kernel packages, I see:
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.16.0-2-sparc64-smp
Found initrd image: /boot/initrd.img-4.16.0-2-sparc64-smp
/usr/sbin/grub-probe: error: disk `md0' not found.
/usr/sbin/grub-probe: error: disk `md0' not found.
/usr/sbin/grub-probe: error: disk `md0' not found.
Found linux image: /boot/vmlinuz-4.16.0-1-sparc64-smp
Found initrd image: /boot/initrd.img-4.16.0-1-sparc64-smp
/usr/sbin/grub-probe: error: disk `md0' not found.
/usr/sbin/grub-probe: error: disk `md0' not found.
Found Debian GNU/Linux buster/sid on /dev/sdd2
done
This leads me to the same problem I had earlier, grub (grub-probe or
grub-install) saying "error: disk `md0' not found." I think this is why
I started down a path of looking for an alternative grub2.
Googling for this error leads me to many people that had had this error,
sometimes an old double-free problem that isn't hitting me,
and problems with one-disk md RAID arrays, which isn't my issue. But I
don't see anyone with a solution to my problem without the others. I
fear I just don't know what I'm looking for.
If anyone else is more familiar with using grub, and has any idea
how to work around this current situation, I'd appreciate a pointer.
(chroot) root@t5120# grub-install --force --skip-fs-probe /dev/md0
Installing for sparc64-ieee1275 platform.
grub-install: error: disk `md0' not found.
(chroot) root@t5120# ls -l /dev/md*
brw-rw---- 1 root disk 9, 0 Jul 3 14:26 /dev/md0
crw------- 1 root root 10, 62 Jul 3 12:19 /dev/mdesc
(chroot) root@t5120# df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 458396 63776 366432 15% /boot
(chroot) root@t5120#
Thanks.
- Chris
Reply to: