Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275825

Re: Debian 12 USB install hangs on GRUB command line

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: Debian 12 USB install hangs on GRUB command line
Date 2024-12-17 15:30 +0100
Message-ID <JUGKe-eHG-13@gated-at.bofh.it> (permalink)
References <JUeXE-hv2o-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian 12 USB install hangs on GRUB command line Roger Price <debian@rogerprice.org> - 2024-12-16 09:50 +0100
  Re: Debian 12 USB install hangs on GRUB command line "Thomas Schmitt" <scdbackup@gmx.net> - 2024-12-16 11:50 +0100
    Re: Debian 12 USB install hangs on GRUB command line Roger Price <debian@rogerprice.org> - 2024-12-17 10:50 +0100
      Re: Debian 12 USB install hangs on GRUB command line "Thomas Schmitt" <scdbackup@gmx.net> - 2024-12-17 12:00 +0100
        Re: Debian 12 USB install hangs on GRUB command line Roger Price <debian@rogerprice.org> - 2024-12-17 14:20 +0100
          Re: Debian 12 USB install hangs on GRUB command line "Thomas Schmitt" <scdbackup@gmx.net> - 2024-12-17 15:40 +0100
            Re: Debian 12 USB install hangs on GRUB command line Michael Stone <mstone@debian.org> - 2024-12-17 16:40 +0100
  Re: Debian 12 USB install hangs on GRUB command line David Christensen <dpchrist@holgerdanske.com> - 2024-12-16 18:40 +0100
    Re: Debian 12 USB install hangs on GRUB command line Joe <joe@jretrading.com> - 2024-12-16 20:00 +0100
      Re: Debian 12 USB install hangs on GRUB command line David Christensen <dpchrist@holgerdanske.com> - 2024-12-16 20:40 +0100
      Re: Debian 12 USB install hangs on GRUB command line Charles Curley <charlescurley@charlescurley.com> - 2024-12-17 00:00 +0100
  Re: Debian 12 USB install hangs on GRUB command line Charles Curley <charlescurley@charlescurley.com> - 2024-12-17 00:00 +0100
  Re: Debian 12 USB install hangs on GRUB command line Max Nikulin <manikulin@gmail.com> - 2024-12-17 15:30 +0100
    Re: [SOLVED] Debian 12 USB install hangs on GRUB command line Roger Price <debian@rogerprice.org> - 2024-12-17 23:00 +0100
      Re: [SOLVED] Debian 12 USB install hangs on GRUB command line Max Nikulin <manikulin@gmail.com> - 2024-12-18 14:10 +0100

csiph-web