[Risolto] problemi con bootloader e file efi

Informazioni, consigli e novità sulla galassia delle distribuzioni GNU/Linux, *nix, *BSD e su altri sistemi operativi non liberi.
Scrivi risposta
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

[Risolto] problemi con bootloader e file efi

Messaggio da fab-le1 »

ciao a tutti
ho un problema con l'istallazione di ubunt o meglio linux lite.
faccio l'istallazione, va tutto bene fino al riavvio.Una volta ravviato non parte la distro.
Ho provato a installare il bootloader dalla live ma mi da questo errore
"grub install error error failed to get canonical path of /cow".
Dopo vari tentativi di reinstallo della distro ho fatto partire boot-repair. bootloader non è in installato.
Qualcuno puo aiutarmi please?

Codice: Seleziona tutto

boot-repair-4ppa203                                              [20221213_1825]

============================== Boot Info Summary ===============================

 => 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.

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/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Lite 6.2
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32832 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/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys


================================ 1 OS detected =================================

OS#1:   Linux Lite 6.2 (22.04) on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Wrestler [Radeon HD 7310] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: EUKT23AUS(0.23) from LENOVO
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


c152ec201c37b6e97bbc2207e49d1271   sda1/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/BOOT/mmx64.efi
3795ef72a4ed0369ca44e711527904bf   sda1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/BOOT/BOOTX64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: D2CD48E4-7241-4352-B64E-5E88CAD30308
        Start       End   Sectors   Size Type
sda1     2048   1050623   1048576   512M EFI System
sda2  1050624 976771071 975720448 465.3G Linux filesystem
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x0167db1b
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 61439999 61437952 29.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA WDC WD5000AAKX-0:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:500GB:500GB:ext4::;
sdb:31.5GB:scsi:512:512:msdos:PHILIPS :;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     C536-96E4                            22a46fea-07bb-4e8c-a00c-82618eefeda5             EFI System Partition
└─sda2 ext4     5e2e081e-7220-4b33-b6c1-19b8a7bba8a7 973b3918-e0aa-4c27-90db-184c5cbbf697             
sdb                                                                                                   
└─sdb1 vfat     54E5-610A                            0167db1b-01                          UBUNTU 20_0 

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              505.8M   1% /mnt/boot-sav/sda1
/dev/sda2              421.8G   3% /mnt/boot-sav/sda2
/dev/sdb1               26.4G  10% /cdrom

Mount options (filtered): ______________________________________________________


===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 5e2e081e-7220-4b33-b6c1-19b8a7bba8a7 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda2/boot/grub/grub.cfg (filtered) ======================

Ubuntu   5e2e081e-7220-4b33-b6c1-19b8a7bba8a7
Ubuntu, with Linux 5.15.0-52-generic   5e2e081e-7220-4b33-b6c1-19b8a7bba8a7
### 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 installation
UUID=5e2e081e-7220-4b33-b6c1-19b8a7bba8a7 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=C536-96E4  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND="/boot/grub_linux_lite.png"

==================== sda2: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 458.632968903 = 492.453400576  boot/grub/grub.cfg                             1
   7.871101379 = 8.451530752    boot/vmlinuz                                   1
   7.871101379 = 8.451530752    boot/vmlinuz-5.15.0-52-generic                 1
   8.480167389 = 9.105510400    boot/initrd.img                                1
   8.480167389 = 9.105510400    boot/initrd.img-5.15.0-52-generic              1
   8.480167389 = 9.105510400    boot/initrd.img.old                            1

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Jan 10  2022 10_linux
-rwxr-xr-x 1 root root 43031 Jan 10  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Jan 10  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Feb 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Jan 10  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Dec 15  2019 40_custom
-rwxr-xr-x 1 root root   215 Jan 10  2022 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL 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



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda2,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Linux Lite 6.2 (22.04) entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Ultima modifica di fab-le1 il mercoledì 14 dicembre 2022, 23:05, modificato 1 volta in totale.
Avatar utente
woddy68
Rampante Reduce
Rampante Reduce
Messaggi: 8815
Iscrizione: sabato 12 febbraio 2011, 14:23
Desktop: Kde Plasma 6
Distribuzione: openSUSE Tumbleweed - KDE Neon
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da woddy68 »

Innanzitutto, il pc è uefi ? E' settato in modalità uefi ? dal bios dovresti capirlo.
Sembra che non ci siano altri sistemi operativi installati, confermi ?

Verificato che è un sistema uefi, impostato in modalità uefi, dalla live di Ubuntu tramite Gparted rifai la tabella partizioni in GPT ora è in MBR. Poi procedi all'installazione.

Visto che non è Ubuntu, chiedo lo spostamento in Altre distribuzioni e ...
Desktop - DELL Optiplex 7010 - Notebook HP 250
-Ho sempre accettato caramelle dagli sconosciuti-
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da fab-le1 »

ciao woddy68 linux lite gira su ubuntu 20.04.
ho installato ora ubuntu ma il problema rimane tale e quale.

Si ho cancellato win10 per avere un pc che girasse solo con ubuntu.

L'installazione è stata fatta in uefi mode.

Su altri forum ho letto che basta disabilitare dal bios il csm e la distro parte a me invece il pc si impalla con la schermata lenovo.

Proverò il tuo consiglio.

grazie
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: problemi con bootloader e file efi

Messaggio da caturen »

è scritto chiaramente qual è il problema
Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da fab-le1 »

fatta la partizione in GPT in live, installo ubuntu ma al riavvio mi riappare come sempre
error 1962: No operating system found. Press any key to repeat boot sequence.

dal bios disabilito il CSM ma il pc rimane bloccato dopo il salvataggio con la schermata lenovo.
Avatar utente
woddy68
Rampante Reduce
Rampante Reduce
Messaggi: 8815
Iscrizione: sabato 12 febbraio 2011, 14:23
Desktop: Kde Plasma 6
Distribuzione: openSUSE Tumbleweed - KDE Neon
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da woddy68 »

Puoi fare una foto o screenshot ? altrimenti non capiamo a cosa si riferisce.
Inoltre cosa ahai usato pe creare la live di Ubuntu ?
Desktop - DELL Optiplex 7010 - Notebook HP 250
-Ho sempre accettato caramelle dagli sconosciuti-
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da fab-le1 »

il live lo creo dal portatile con creatore dischi di avvio da linux.

allora da quello che sto riscontrando molto probabilmente è un problema del bios
come ho già detto, una volta disabilitato il CSM il pc non parte più.
quindi ho provato ad fare update del firmware con i comandi:

sudo service fwupd start
sudo fwupdmgr refresh

con quest' ultimo comando mi ha dato

<WARNING: UEFI capsule updates not available or enabled in firmware setup
see https://https://github.com/fwupd/fwupd/ ... nsupported for more info
Firmware metadata last refresh: 18 minutes ago. Use --force to refresh again.>

una volta forzata la procedura mi ha ridato

<WARNING: UEFI capsule updates not available or enabled in firmware setup
see https://https://github.com/fwupd/fwupd/ ... nsupported for more information.
Updating lvfs
Downloading... [****************************************]
Successfully downloaded new metadata: 0 local devices supported>


forse sono andato un po offtopic dal titolo ma è quello che sto provando a fare per cercare di far partire la distro

Spero che arriviamo a trovare una soluzione
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25438
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: problemi con bootloader e file efi

Messaggio da giulux »

Sposto in altre distribuzioni e sistemi operativi.
Leggere per favore la descrizione delle varie sezioni prima di postare, grazie.
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da fab-le1 »

scusami ma ho ubuntu installato
Avatar utente
woddy68
Rampante Reduce
Rampante Reduce
Messaggi: 8815
Iscrizione: sabato 12 febbraio 2011, 14:23
Desktop: Kde Plasma 6
Distribuzione: openSUSE Tumbleweed - KDE Neon
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da woddy68 »

Prova con un partizionamento manuale, mettendo il flag (pre-impostato) efi-boot alla partizione che stando al primo post dovrebbe essere sda1, mentre su sda 2 (presumo) metti il sistema / .
Posta un'immagine del disco con Gparted, tanto per avere un'idea di come ora è partizionato.

Perché allora hai scritto Linux Lite, tra l'altro anche la chiavetta è di Linux Lite.
Desktop - DELL Optiplex 7010 - Notebook HP 250
-Ho sempre accettato caramelle dagli sconosciuti-
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: problemi con bootloader e file efi

Messaggio da caturen »

dal bios disabilito il CSM ma il pc rimane bloccato dopo il salvataggio con la schermata lenovo.
col tuo sistema attuale , cioè uefi , devi per forza disabilitare csm altrimenti uefi non funziona ed il sistema non parte. Se non vuoi uefi devi formattare il disco ed eliminare la partizione dove sta uefi e fare una installazione legacy di ubuntu o qualsiasi altra distro. Non c'è verso: o disabiliti il csm o fai una installazione legacy
https://wiki.ubuntu-it.org/AmministrazioneSistema/Uefi
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: problemi con bootloader e file efi

Messaggio da caturen »

fab-le1 ha scritto:
mercoledì 14 dicembre 2022, 16:14
scusami ma ho ubuntu installato
:nono:
sda2: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Lite 6.2
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
ps
linux lite gira su ubuntu 20.04.
non ci hai preso
OS#1: Linux Lite 6.2 (22.04) on sda2
di ubuntu 20.04 stai usando la live
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)
fab-le1
Prode Principiante
Messaggi: 40
Iscrizione: lunedì 13 marzo 2017, 18:27
Sesso: Maschile

Re: problemi con bootloader e file efi

Messaggio da fab-le1 »

grazie caturen per le info.

allora ho risolto il problema visto che ho la uefi che fa i capricci e non avendo la possibilità di disabilitare il CSM seguendo i consigli di Caturen.

ho lanciato la live => gparted => formattato tutto il disco in GPT => creata partizione 2 mb,file system=non formattato, flag=bios_grub.
e poi avviata l istallazione.

grazie mille a tutti
Scrivi risposta

Ritorna a “Altre distribuzioni e sistemi operativi”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite