Hello, I am trying to install Debian 12.7.0 AMD64 through the live image option on a Lenovo ThinkStation S30, and no matter what I do I cannot get it to boot properly after it is done using the normal installation mode, not the one on the live desktop as that one does not work at all, all the options are greyed out during partitioning. The furthest I get is the text/graphical installer finishing, rebooting, then getting an "Error 1962: No operating system found. Press any key to repeat boot sequence".
I tried boot repair which seemed to be on the right path- but I am unsure of the steps it wishes me to do next (Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Debian GNU/Linux 12 (bookworm) entry (sda1/efi/debian/grubx64.efi file) !) I am very inexperienced in anything Linux past some very very basic commands, so its a bit difficult to figure out.
Heres my boot repair log.
I tried boot repair which seemed to be on the right path- but I am unsure of the steps it wishes me to do next (Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Debian GNU/Linux 12 (bookworm) entry (sda1/efi/debian/grubx64.efi file) !) I am very inexperienced in anything Linux past some very very basic commands, so its a bit difficult to figure out.
Heres my boot repair log.
Code:
boot-repair-4ppa2081 [20240914_2107]============================= Boot Repair Summary ==============================modprobe: FATAL: Module efivars not found in directory /lib/modules/6.1.0-25-amd64Recommended repair: ____________________________________________________________The default repair of the Boot-Repair utility will reinstall the grub-efi ofsda2,using the following options: sda1/boot/efiAdditional repair will be performed: unhide-bootmenu-10s use-standard-efi-fileMount /dev/sda1 on /mnt/boot-sav/sda2/boot/efiNo sda2/boot/efi/efi/ ubuntu/mint folderUnhide GRUB boot menu in sda2/etc/default/grub===================== Reinstall the grub-efi of /dev/sda2 ======================chroot /mnt/boot-sav/sda2 grub-install --versiongrub-install (GRUB) 2.06-13+deb12u1modprobe: FATAL: Module efivars not found in directory /lib/modules/6.1.0-25-amd64chroot /mnt/boot-sav/sda2 modprobe efivarschroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) before grub installEFI variables are not supported on this system.chroot /mnt/boot-sav/sda2 uname -r6.1.0-25-amd64chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efiInstalling for x86_64-efi platform.grub-install: warning: EFI variables are not supported on this system..Installation finished. No error reported.df /dev/sda1touch /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi.grbcp /mnt/boot-sav/sda2/boot/efi/efi/debian/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efichroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) after grub installEFI variables are not supported on this system.Warning: NVram is locked (Debian not found in efibootmgr).chroot /mnt/boot-sav/sda2 update-grubFound background image: /usr/share/images/desktop-base/desktop-grub.pngFound linux image: /boot/vmlinuz-6.1.0-25-amd64Found initrd image: /boot/initrd.img-6.1.0-25-amd64Unhide GRUB boot menu in sda2/boot/grub/grub.cfgBoot successfully repaired.Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Debian GNU/Linux 12 (bookworm) entry (sda1/efi/debian/grubx64.efi file) !============================ Boot Info After Repair ============================ => No boot loader is installed in the MBR of /dev/sda. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb. => No known boot loader is installed in the MBR of /dev/sdc.sda1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /efi/Boot/bootx64.efi /efi/debian/fbx64.efi /efi/debian/grubx64.efi /efi/debian/mmx64.efi /efi/debian/shimx64.efi /efi/debian/grub.cfgsda2: __________________________________________________________________________ File system: xfs Boot sector type: - Boot sector info: Operating System: Debian GNU/Linux 12 (bookworm) Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grubsda3: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sdb1: __________________________________________________________________________ File system: vfat Boot sector type: SYSLINUX 6.04 Boot sector info: Syslinux looks at sector 30848 of /dev/sdb1 for its second stage. The integrity check of Syslinux failed. No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/grub.cfg /syslinux.cfg /efi/boot/bootx64.efi /efi/boot/grubx64.efi /efi/boot/mmx64.efi /ldlinux.syssdc1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/grub.cfg /syslinux.cfg /efi/boot/bootx64.efi /efi/boot/grubx64.efi================================ 1 OS detected =================================OS#1 (linux): Debian GNU/Linux 12 (bookworm) on sda2================================ Host/Hardware =================================CPU architecture: 64-bitVideo: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] from Advanced Micro Devices, Inc. [AMD/ATI]Live-session OS is Debian 64-bit (Debian GNU/Linux 12 (bookworm), bookworm, x86_64)===================================== UEFI =====================================BIOS/UEFI firmware: A0KT61AUS(0.61) from LENOVOThe firmware is EFI-compatible, and is set in EFI-mode for this live-session.SecureBoot disabled - This system doesn't support Secure Boot.BootCurrent: 0000Timeout: 1 secondsBootOrder: 0000,000F,0011,000A,000B,0010,0012Boot0000* debianHD(1,GPT,96c42242-2e8d-454c-b5a0-15a788f70f55,0x800,0x100000)/File(\EFI\debian\shimx64.efi)Boot000A* Optiarc DVD RW AD-7290HBBS(CDROM,,0x0)AMBOBoot000B* SPCC Solid State DiskBBS(HD,,0x0)AMBOBoot000F* UEFI: Lexar USB Flash Drive PMAPPciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x7466f3,0x800,0x736d7c0)AMBOBoot0010* Lexar USB Flash Drive PMAPBBS(HD,,0x0)AMBOBoot0011* UEFI: General UDisk 5.00PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/USB(4,0)/HD(1,GPT,993b40fc-3c67-4472-9dd7-7cb7b39bf956,0x800,0xeff7a0)AMBOBoot0012* General UDisk 5.00BBS(HD,,0x0)AMBO728124f6ec8e22fbdbe7034812c81b95 sdb1/boot/bootx64.efib7115bc326bc051fc90f4d898511685e sdb1/boot/grubx64.efifdafb5eece6caeccb788c946a28e6872 sdb1/boot/mmx64.efi62ff1ee5b75b4565f609043c4b1da759 sda1/Boot/bootx64.efi (is grub)4edf0c69ce1d21d09c30328e06b924cf sda1/debian/fbx64.efi62ff1ee5b75b4565f609043c4b1da759 sda1/debian/grubx64.efiab12dd21d2d39ebf677be2afda1cb1b7 sda1/debian/mmx64.efi0d88ec022e9af4fa8c045420bef56d9b sda1/debian/shimx64.efi============================= Drive/Partition Info =============================Disks info: ____________________________________________________________________sdb: notGPT,no-BIOSboot,has---ESP, liveusb,not-mmc, no-os,no-wind,2048 sectors * 512 bytessda: is-GPT,no-BIOSboot,has---ESP, not-usb,not-mmc, has-os,no-wind,2048 sectors * 512 bytesPartitions info (1/3): _________________________________________________________sdb1: no-os,64, nopakmgr,no-docgrub,nogrub,nogrubinstall,no-grubenv,noupdategrub,not-farsda2: is-os,64, apt-get,signed grub-efi ,grub2,grub-install,grubenv-ok,update-grub,end-after-100GBsda1: no-os,64, nopakmgr,no-docgrub,nogrub,nogrubinstall,no-grubenv,noupdategrub,not-farPartitions info (2/3): _________________________________________________________sdb1: is---ESP,part-has-no-fstab,no-nt,no-winload,no-recov-nor-hid,no-bmgr,notwinboot, vfatsda2: isnotESP,fstab-has-goodEFI,no-nt,no-winload,no-recov-nor-hid,no-bmgr,notwinboot, xfssda1: is---ESP,part-has-no-fstab,no-nt,no-winload,no-recov-nor-hid,no-bmgr,notwinboot, vfatPartitions info (3/3): _________________________________________________________sdb1: not--sepboot,no-kernel,part-has-no-fstab,not-sep-usr,no---usr,part-has-no-fstab,no--grub.d,sdbsda2: not--sepboot,with-boot,fstab-without-boot,not-sep-usr,with--usr,fstab-without-usr,std-grub.d,sdasda1: not--sepboot,no---boot,part-has-no-fstab,not-sep-usr,no---usr,part-has-no-fstab,no--grub.d,sdafdisk -l (filtered): ___________________________________________________________Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectorsDisk identifier: 22692C34-EC45-4D70-ADCB-F9A548E85132 Start End Sectors Size Typesda1 2048 1050623 1048576 512M EFI Systemsda2 1050624 498116607 497065984 237G Linux filesystemsda3 498116608 500117503 2000896 977M Linux swapDisk sdb: 57.71 GiB, 61970841600 bytes, 121036800 sectorsDisk identifier: 0x007466f3 Boot Start End Sectors Size Id Typesdb1 * 2048 121036735 121034688 57.7G c W95 FAT32 (LBA)Disk sdc: 7.5 GiB, 8053063680 bytes, 15728640 sectorsDisk identifier: 6488EC4F-B8EF-401C-ACCB-020F5FC8C5BA Start End Sectors Size Typesdc1 2048 15728543 15726496 7.5G Microsoft basic dataparted -lm (filtered): _________________________________________________________sda:256GB:scsi:512:512:gpt:ATA SPCC Solid State:;1:1049kB:538MB:537MB:fat32::boot, esp;2:538MB:255GB:254GB:xfs::;3:255GB:256GB:1024MB:linux-swap(v1)::swap;sdb:62.0GB:scsi:512:512:msdos:Lexar USB Flash Drive:;1:1049kB:62.0GB:62.0GB:fat32::boot, lba;sdc:8053MB:scsi:512:512:gpt:General UDisk:;1:1049kB:8053MB:8052MB:fat32:Main Data Partition:msftdata;blkid (filtered): ______________________________________________________________NAME FSTYPE UUID PARTUUID LABEL PARTLABELsda ├─sda1 vfat 89BE-9FCC 96c42242-2e8d-454c-b5a0-15a788f70f55 ├─sda2 xfs 58f3e706-450a-41ec-a61e-0772b619b3dc 3f9880aa-f439-4660-b66d-95ae4cfceee0 └─sda3 swap 7b2d90a8-a743-410e-bee5-ab424737ab90 cdc6e0d2-39f7-4c97-a8c3-097427ad09ae sdb └─sdb1 vfat 1514-4222 007466f3-01 BOOT-REPAIR sdc └─sdc1 vfat 86FB-96FC 993b40fc-3c67-4472-9dd7-7cb7b39bf956 D-LIVE 12_7 Main Data PartitionMount points (filtered): _______________________________________________________ Avail Use% Mounted on/dev/sda1 501.1M 2% /mnt/boot-sav/sda1/dev/sda2 225.6G 5% /mnt/boot-sav/sda2/dev/sdb1 55.2G 4% /mnt/boot-sav/sdb1/dev/sdc1 4.1G 45% /run/live/mediumoverlay 7.4G 5% /Mount options (filtered): ______________________________________________________/dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro/dev/sda2 xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota/dev/sdb1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro/dev/sdc1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro/dev/sdc1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro===================== sda1/efi/debian/grub.cfg (filtered) ======================search.fs_uuid 58f3e706-450a-41ec-a61e-0772b619b3dc root hd0,gpt2 set prefix=($root)'/boot/grub'configfile $prefix/grub.cfg====================== sda2/boot/grub/grub.cfg (filtered) ======================Debian GNU/Linux 58f3e706-450a-41ec-a61e-0772b619b3dc### END /etc/grub.d/30_os-prober ###### END /etc/grub.d/30_uefi-firmware ###========================== sda2/etc/fstab (filtered) ===========================# <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda2 during installationUUID=58f3e706-450a-41ec-a61e-0772b619b3dc / xfs defaults 0 0# /boot/efi was on /dev/sda1 during installationUUID=89BE-9FCC /boot/efi vfat umask=0077 0 1# swap was on /dev/sda3 during installationUUID=7b2d90a8-a743-410e-bee5-ab424737ab90 none swap sw 0 0/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0======================= sda2/etc/default/grub (filtered) =======================GRUB_DEFAULT=0GRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet"GRUB_CMDLINE_LINUX=""GRUB_DISABLE_OS_PROBER=false==================== sda2: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1 0.593093872 = 0.636829696 boot/vmlinuz-6.1.0-25-amd64 1 0.593093872 = 0.636829696 vmlinuz 1 179.942893982 = 193.212211200 boot/initrd.img-6.1.0-25-amd64 2 179.942893982 = 193.212211200 initrd.img 2===================== sda2: ls -l /etc/grub.d/ (filtered) ======================-rwxr-xr-x 1 root root 14123 Oct 2 2023 10_linux-rwxr-xr-x 1 root root 14180 Oct 2 2023 20_linux_xen-rwxr-xr-x 1 root root 12923 Oct 2 2023 30_os-prober-rwxr-xr-x 1 root root 1372 Oct 2 2023 30_uefi-firmware-rwxr-xr-x 1 root root 722 Feb 26 2023 35_fwupd-rwxr-xr-x 1 root root 214 Oct 2 2023 40_custom-rwxr-xr-x 1 root root 215 Oct 2 2023 41_custom====================== sdb1/boot/grub/grub.cfg (filtered) ======================Start Boot-Repair-Disk 64-bitStart Boot-Repair-Disk 64-bit (compatibility mode)UEFI Firmware SettingsTest memory========================= sdb1/syslinux.cfg (filtered) =========================DEFAULT loadconfigLABEL loadconfig CONFIG /isolinux/isolinux.cfg APPEND /isolinux/==================== sdb1: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1================== sdb1: Location of files loaded by Syslinux ================== GiB - GB File Fragment(s) ?? = ?? syslinux.cfg 1 ?? = ?? ldlinux.sys 1====================== sdc1/boot/grub/grub.cfg (filtered) ======================Live system (amd64)Live system (amd64 fail-safe mode)UEFI Firmware Settings========================= sdc1/syslinux.cfg (filtered) =========================DEFAULT loadconfigLABEL loadconfig CONFIG /isolinux/isolinux.cfg APPEND /isolinux/==================== sdc1: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1================== sdc1: Location of files loaded by Syslinux ================== GiB - GB File Fragment(s) ?? = ?? syslinux.cfg 1
Statistics: Posted by Tox — 2024-09-14 21:37 — Replies 0 — Views 44