Re: Grub issue
On Wed, 30 Nov 2022 at 01:36, Andrew Wood <andrewjameswood@ymail.com> wrote:
Disclaimer: I have never done this with RAID, so using a GRUB
device looking like (md/x) is unknown territory for me.
> ls (md/1)/boot shows the kernels and initrd images
Ok, based on that, if you still need help to boot the machine,
then you could try:
set prefix=(md/1)/boot/grub
insmod normal
normal
# now see normal grub> prompt
# maybe tab completion works now
# maybe do 'set root=(md/1)' or some other value revealed by 'ls'
# but I dont think 'set root' is useful at this time, maybe later
boot
If that doesn't get you into normal grub, you could try Tim's
approach:
set root=(md/1)
# use 'ls /boot' to discover ...filenames under /boot (under that root)
linux /boot/vmlinuz-... root=whatever usually is here, not grub's 'root'
initrd /boot/initrd.img-...
boot
If you can get to the normal grub prompt these might be useful commands:
set root=....
boot
set pager=1 (so that help output does not scroll off screen)
help
cat FILE
Also, before you try any of that, it would be interesting if you
would tell us how GRUB responds if you try:
grub rescue> ls (md/0)/boot
Reply to: