Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 95:21:17 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,417 |
Device hd0: Filesystem type ISO9660 - Label 'Debian 12.7.0 amd64 n'
[...]
So it looks as if hd0 is the installation USB stick.
I don't understand why the USB stick no longer boots, since it did in the past, on this same workstation.
grub> cat (hd0,msdos2)/efi/debian/grub.cfg
search --file --set=root /.disk/id/e8185...
set prefix-($root)/boot/grub
source $prefix/${grub_cpu}-efi/grub.cfg
I have a Dell T5820 workstation. I had already installed Debian 12 in a spare partition on a Transcend SSD dating from 2017 using a USB memory stick. I left in place the existing Windows SSD that came with the workstation. All went well - a very smooth install. A few weeks later
the Transcent SSD failed. Kernel panic. So I bought another SSD, Kingston, and redid the installation from the same USB stick.
I probably made two mistakes. 1) I removed the Windows SSD since I never
use Windows. 2) I specified "Force UEFI = No", the default. But I did create a small FAT32 partition to be mounted on /boot/efi if one day I
needed it.
I went through the installation process, and at the end, removed the USB installation stick and rebooted. The T5820 went into a long BIOS test
and then announced: "BIOS 2.38.0 Build 440.16 UEFI ROM no bootable
partition found."
On 12/16/24 00:45, Roger Price wrote:
I have a Dell T5820 workstation. I had already installed Debian 12
in a spare partition on a Transcend SSD dating from 2017 using a
USB memory stick. I left in place the existing Windows SSD that
came with the workstation. All went well - a very smooth install.
A few weeks later the Transcent SSD failed. Kernel panic. So I
bought another SSD, Kingston, and redid the installation from the
same USB stick.
I probably made two mistakes. 1) I removed the Windows SSD since I
never use Windows. 2) I specified "Force UEFI = No", the default.
But I did create a small FAT32 partition to be mounted on /boot/efi
if one day I needed it.
I went through the installation process, and at the end, removed
the USB installation stick and rebooted. The T5820 went into a
long BIOS test and then announced: "BIOS 2.38.0 Build 440.16 UEFI
ROM no bootable partition found."
Please use Debian Stable or Debian Old Stable ISO.
Disconnect all drives except the drive onto which you want to install Debian. Boot into Setup. Reset settings to factory defaults. Save.
Exit. Power down during POST. Insert d-i USB stick. Boot d-i (hot
keys and/or Setup adjustments may be required). Start rescue shell.
Zero or secure erase the SSD. Power down. Boot d-i. Install
Debian. Keep it KISS and OOTB. If d-i asks to put a bootloader onto
the SSD, then provide the necessary information. After install,
restart and power down during POST. Remove USB stick. Boot into
Setup. Verify and/or create boot entry for Debian. Save. Exit.
System should boot Debian. If not, trouble-shoot Setup boot settings.
Document every message and prompt displayed, and every command,
choice, or setting you enter. Use a camera or phone if you do not
want to type.
If you get stuck, reply with ISO name and relevant details.
I would add that many modern computers are almost hardwired for
Windows. ...
So I gave up, and just installed bookworm clean. No bootable OS found.
I'll cut it short: it wouldn't boot because a /boot/efi/EFI directory
did not contain a Microsoft directory containing bootmgfw.efi.
Previously, it had been happy to boot from the Linux EFI file, but
obviously only because this wretched Windows setup was there. Just to
be on the safe side, I copied shim64.efi and renamed it bootmgfw.efi,
all in a directory named Microsoft. No problem now.
So I gave up, and just installed bookworm clean. No bootable OS found.
I'll cut it short: it wouldn't boot because a /boot/efi/EFI directory
did not contain a Microsoft directory containing bootmgfw.efi.
Previously, it had been happy to boot from the Linux EFI file, but
obviously only because this wretched Windows setup was there. Just to
be on the safe side, I copied shim64.efi and renamed it bootmgfw.efi,
all in a directory named Microsoft. No problem now.
Certainly if the computer firmware is expecting UEFI boot software,
the /boot/efi partition must be occupied i.e. the installer must have recognised its environment and started in UEFI mode (the splash screen
will say so). It may be possible to force the firmware to legacy mode,
but my netbook doesn't have this option.
But I did create a
small FAT32 partition to be mounted on /boot/efi if one day I needed
it.
Does the USB stick yield the proper checksum when inspected on a running GNU/Linux system ?
grub> cat (hd0,msdos2)/efi/debian/grub.cfg
set prefix-($root)/boot/grub
I see "=" instead of "-" in this file when the partition is mounted:
Better check whether you see the same when inspecting the file by GRUB.
YESsource $prefix/${grub_cpu}-efi/grub.cfg
Does GRUB find the files:
(hd0)/boot/grub/x86_64-efi/grub.cfg
(hd0)/boot/grub/grub.cfgYES
I assume /${grub_cpu} is "x86_64". A 32-bit EFI might want the other
file (hd0)/boot/grub/i386-efi/grub.cfg. Both are supposed to just contain
the instruction
source /boot/grub/grub.cfg
The file (hd0)/boot/grub/grub.cfg is supposed to contain a typical GRUB configuration with 162 lines:
if [ x$feature_default_font_path = xy ] ; then
...
menuentry --hotkey=g 'Graphical install' {
set background_color=black
linux /install.amd/vmlinuz vga=788 --- quiet
initrd /install.amd/gtk/initrd.gz
}
GRUB is supposed to show a graphical menu after having read this file.
If it does not find the file, then you might get progress by executing
the commands of your favorite menu item in the shell. E.g with
"Graphical install":
grub> set background_color=black
grub> linux /install.amd/vmlinuz vga=788 --- quiet
But I did create a small FAT32 partition to be mounted on /boot/efi
Which option in the installer's partitioner did you use, one of the FAT options, or the EFI one? The latter will create a partition with the appropriate file system, and install suitable EFI files for you.
grub> linux /install.amd/vmlinuz vga=788 --- quiet
grub> initrd /install.amd/gtk/initrd.gz
grub> boot
I got the message error: file '/install.amd/vmlinux' not found
Roger Price wrote:
I got the message error: file '/install.amd/vmlinux' not foundSo perhaps:
grub> set root=(hd0)
grub> linux /install.amd/vmlinuz vga=788 --- quiet
grub> initrd /install.amd/gtk/initrd.gz
grub> boot
It looks like GRUB is found and started. But then somethig goes wrong.
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
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".
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.
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.