#51 Le 22/07/2023, à 09:36
- Joh3761
Re : Sony VAIO SVP1321C5E - Impossible de booter sur Ubuntu
Le voici
boot-repair-4ppa203 [20230722_0811]
============================= Boot Repair Summary ==============================
User choice:
Is there RAID on this computer? no
grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-20-generic
ls: cannot access '/sys/firmware/efi/vars': No such file or directory
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
nvme0n1p2/boot/efi not empty
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi
Unhide GRUB boot menu in nvme0n1p2/etc/default/grub
===================== Reinstall the grub-efi of nvme0n1p2 ======================
chroot /mnt/boot-sav/nvme0n1p2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-20-generic
chroot /mnt/boot-sav/nvme0n1p2 modprobe efivars
chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v before grub install
EFI variables are not supported on this system.
chroot /mnt/boot-sav/nvme0n1p2 uname -r
6.2.0-20-generic
chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi
chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v after grub install
EFI variables are not supported on this system.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com
chroot /mnt/boot-sav/nvme0n1p2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-32-generic
Found initrd image: /boot/initrd.img-5.19.0-32-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
An error occurred during the repair.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com
Locked-NVram detected.
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,2)/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
offsetio extcmd macho elf file gettext boot bufio verifiers crypto
terminal normal datetime date mmap drivemap blocklist archelp newc
vga_text relocator video chain ntldr search_label search_fs_file
search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5
hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi reboot
iso9660 gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy
read halt video_fb vbe linux linux16 test true sleep echo bitmap gfxterm
bitmap_scale trig video_colors gfxmenu videotest videoinfo functional_test
videotest_checksum video_cirrus video_bochs vga minicmd help configfile tr
biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 password_pbkdf2
all_video png jpeg part_gpt part_msdos fat ntfs loopback
gfxterm_background procfs gfxterm_menu smbios
---------------------------------------------------------------------------
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/Bootmgrfw.efi
/efi/Microsoft/Boot/bootx64.efi
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda1: __________________________________________________________________________
File system: exfat
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda1: /dev/sda1 already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
sda2: __________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda2 and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 22.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Haswell-ULT Integrated Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 23.04, lunar, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: R1044V7(10.44) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001
Boot0001* UEFI: Generic PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(1,0)/HD(2,MBR,0x614b801a,0x1d0c8000,0x10000)..BO
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee nvme0n1p1/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/ubuntu/shimx64.efi
5ddf997e8b025bfbc2009e85b32f60dc nvme0n1p1/Microsoft/Boot/Bootmgrfw.efi
5ddf997e8b025bfbc2009e85b32f60dc nvme0n1p1/Microsoft/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: D344EC33-83CA-48C0-9587-399893940EF7
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1050624 976771071 975720448 465.3G Linux filesystem
Disk sda: 232.42 GiB, 249561088000 bytes, 487424000 sectors
Disk identifier: 0x614b801a
Boot Start End Sectors Size Id Type
sda1 * 2048 487358463 487356416 232.4G 7 HPFS/NTFS/exFAT
sda2 487358464 487423999 65536 32M ef EFI (FAT-12/16/32)
Disk mapper/ventoy: 4.59 GiB, 4932407296 bytes, 9633608 sectors
Disk identifier: F05C32E4-7288-463C-99EA-DC437A059E92
Start End Sectors Size Type
mapper/ventoy-part1 64 9622875 9622812 4.6G Microsoft basic data
mapper/ventoy-part2 9622876 9632943 10068 4.9M EFI System
mapper/ventoy-part3 9632944 9633543 600 300K Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:250GB:250GB:::boot;
2:250GB:250GB:33.6MB:fat16::esp;
mapper/ventoy:4932MB:dm:512:512:gpt:Linux device-mapper (linear):;
1:32.8kB:4927MB:4927MB::ISO9660:hidden, msftdata;
2:4927MB:4932MB:5155kB::Appended2:boot, esp;
3:4932MB:4932MB:307kB::Gap1:hidden, msftdata;
nvme0n1:500GB:nvme:512:512:gpt:CT500P3PSSD8:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:500GB:500GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 exfat 4E21-0000 614b801a-01 Ventoy
│ └─ventoy
└─sda2
nvme0n1
├─nvme0n1p1 vfat 6C25-0326 bdd53ec6-d96b-4f0e-8456-3ac424962fa8 EFI System Partition
└─nvme0n1p2 ext4 067e6686-295e-4bae-9a3a-549ff1fac98f f2ddd79e-8648-4a85-9a71-d90a9fc9ee40
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/mapper/ventoy 0 100% /cdrom
/dev/nvme0n1p1 499M 2% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 422.6G 2% /mnt/boot-sav/nvme0n1p2
overlay 0 100% /tmp/tmpqnu6m4w5/root.dir
Mount options (filtered): ______________________________________________________
============================== ls -R /dev/mapper/ ==============================
/dev/mapper:
control
ventoy
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 067e6686-295e-4bae-9a3a-549ff1fac98f root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu 067e6686-295e-4bae-9a3a-549ff1fac98f
Ubuntu, with Linux 5.19.0-46-generic 067e6686-295e-4bae-9a3a-549ff1fac98f
Ubuntu, with Linux 5.19.0-32-generic 067e6686-295e-4bae-9a3a-549ff1fac98f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=067e6686-295e-4bae-9a3a-549ff1fac98f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=6C25-0326 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=noncq"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
133.738918304 = 143.601070080 boot/vmlinuz 2
400.543991089 = 430.080835584 boot/vmlinuz-5.19.0-32-generic 1
133.738918304 = 143.601070080 boot/vmlinuz-5.19.0-46-generic 2
400.543991089 = 430.080835584 boot/vmlinuz.old 1
276.239185333 = 296.609566720 boot/initrd.img 1
275.965568542 = 296.315772928 boot/initrd.img-5.19.0-32-generic 1
276.239185333 = 296.609566720 boot/initrd.img-5.19.0-46-generic 1
275.965568542 = 296.315772928 boot/initrd.img.old 1
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18683 Dec 2 2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Sep 20 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 2 2022 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 2022 41_custom
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
Hors ligne
#53 Le 22/07/2023, à 12:04
- geole
Re : Sony VAIO SVP1321C5E - Impossible de booter sur Ubuntu
L'erreur est indiquée.
"EFI variables are not supported on this system."
Tu vas pouvoir supprimer la partition FAT12 de ta clé USB.
Elle devrait alors booter en legacy car il y a bien un MBR.
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,2)/grub. It also embeds following components:
.....
puis tu pourras de nouveau réparer ubuntu.
Il devrait alors faire une réparation legacy....
Dernière modification par geole (Le 22/07/2023, à 12:05)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
En ligne
#54 Le 22/07/2023, à 17:09
- Joh3761
Re : Sony VAIO SVP1321C5E - Impossible de booter sur Ubuntu
Geole,
Mon PC chauffe de plus en plus et s'arrête au bout de qq minutes...
Il faut donc que je résolve ce problème avant de pouvoir continuer
Merci pour ton support.
Je reviendrais vers toi si j'arrive à résoudre cette surchauffe.
Hors ligne