On 16/12/2024 15:45, Roger Price wrote:
So I re-inserted the USB installation stick to redo the installation.
This took me to the GRUB command line.
Am I right that you have internal SSD (SATA? NVME?) and a USB stick?
Have you tried to plug the stick into another USB port (e.g. USB2
instead of USB3 or vice versa)? Try full power cycle, not just reboot.
I suggest to download a live image and to inspect the internal drive
using live system instead of installer recovery. You may face the
similar issue though.
I expect that on load grub executes
normal (memdisk)/grub.cfg
(a string found in the .efi file) and that script searches (unless
EFI/debian/grubx64.efi found) for partitions containing /.disk/info or
/.disk/mini-info
(extra backslashes since it is copied from a shell script creating memdisk)
if [ -z "\$prefix" -o ! -e "\$prefix" ]; then
if ! search --file --set=root /.disk/info; then
search --file --set=root /.disk/mini-info
fi
set prefix=(\$root)/boot/grub
fi
if [ -e \$prefix/$platform/grub.cfg ]; then
source \$prefix/$platform/grub.cfg
elif [ -e \$prefix/grub.cfg ]; then
source \$prefix/grub.cfg
else
source \$cmdpath/grub.cfg
fi
To figure out what happens in your case you may try the following commands:
echo $prefix
echo $root
echo $cmdpath
echo $fw_path
fw_path is for patched grub-2.12 (backports), cmdpath is for 2.06.
If grub is installed on SSD then you may load it from there by setting
root and prefix. Try something like
ls (hd1)
Is it formatted as GPT?