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


Groups > linux.debian.user > #275827

Re: Debian 12 USB install hangs on GRUB command line

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Debian 12 USB install hangs on GRUB command line
Date 2024-12-17 15:40 +0100
Message-ID <JUGTT-eL4-1@gated-at.bofh.it> (permalink)
References <JUFEt-e5d-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Roger Price wrote:
> To check for bad USB stick, I downloaded debian-12.8.0-amd64-DVD-1.iso and
> built a new 12.8 USB installation stick using command
>  dd if=debian-12.8.0-and64-DVD-1.iso of=/dev/sdj1 bs=4M && sync

The "1" in "/dev/sdj1" is surplus. Normally, the ISO image has to be
copied to the base device "/dev/sdj", so that its MBR and partition table
get into effect.
The only exception from this rule would be if partition 1 starts at
block 0. This is the case with Debian installation ISOs. But partition 1
of a netinst ISO is too small to take a DVD ISO.

Is this the same USB stick as the one with Debian 12.7.0 netinst ?
If so, did you run a partition editor to create a new partition 1 ?


> I tried booting this and got to a GRUB command line.  This time ls -l
> reports that (hd0) has "no known filesystem detected", although (hd0,msdos1)
> reports "File system type ISO9660. Label Debian 12.8.0 amd64 1".

This is probably a consequence of dd output file /dev/sdj1. Other than
with the properly copied netinst ISO, this partition 1 is recognizable
to GRUB.
Probably because its not an MBR partition of type 0x00 or because its
start block is not 0.

Since you don't mention (hd0,msdos2), i guess that the EFI partition
inside the DVD ISO image does not become visible to GRUB. Probably it is
not visible to the BIOS either.


> It seems to me that the GRUB command line comes from the T5820 BIOS and not
> from the USB stick. To test this I restarted and hit F2 to get to the BIOS
> Setup. This reports Boot sequence: 1) debian, 2) UEFI SMI USB DISK 110
> (Windows Boot manager is excluded).  The boot option is UEFI. It's the
> mention of "debian" by the BIOS itself which says to me that the T5820
> contains a GRUB.

Obviously the BIOS found an installation of GRUB. But this GRUB found no
grub.cfg which would lead to more than a GRUB shell prompt.
It is not so obvious whether the BIOS talks of present devices or of
bootable devices which it has seen recently.

But as there is some GRUB running, it might well stem from the disk to
which you have installed Debian. The question remains why this GRUB does
not find its own initial grub.cfg. Do you see an EFI partition on the
disk to which you installed Debian ?


If you want to test the USB stick, then copy the ISO to its base device
file. Further make sure in the BIOS that this USB stick gets booted and
not one of the other boot entries.


Have a nice day :)

Thomas

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