#1 Le 12/03/2020, à 21:22
- fazpedro
[RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Bonjour
Je rencontre un problème lors de l'installation d'Ubuntu à partir d'un LiveUSB sans dualboot
L'installateur me renvoie le message d'erreur suivant lors de l'installation de Grub :
"Echec de l'installation de GRUB
Le paquet grub-efi-amd64-signed n'a pas pu être installé dans /target/. En l'absence du programme de démarrage GRUB, le système installé ne pourra pas démarrer."
Une fois le message validé, l'installation échoue.
mon ordi est un ACER ES13
j'ai généré un rapport de Boot-repair :
Merci
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
Boot sector info: Syslinux looks at sector 13225456 of /dev/sda1 for
its second stage. SYSLINUX is installed in the
directory. No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/EFI/BOOT/grubx64.efi /EFI/BOOT/mmx64.efi /ldlinux.sys
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 14.95 GiB, 16026435072 bytes, 31301631 sectors
Disk model: SanDisk Cruzer
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 31,299,583 31,297,536 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/loop7 squashfs
/dev/mmcblk0p1 EC40-9E26 vfat
/dev/mmcblk0p2 93d8ab5b-e265-4317-b3cf-31a663548a5a ext4
/dev/sda1 289E-60E5 vfat
/dev/sdb1 B2B1-318A vfat new
/dev/sr0 2008-05-06-12-26-42- iso9660 U3 System
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 13 Mar 12 19:44 mmc-BJNB4R_0x3d4f4dd2 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Mar 12 19:44 mmc-BJNB4R_0x3d4f4dd2-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Mar 12 19:44 mmc-BJNB4R_0x3d4f4dd2-part2 -> ../../mmcblk0p2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/fuse /root/.cache/doc fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/fuse /run/user/999/doc fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/mmcblk0p2 /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sr0 /media/ubuntu/U3 System iso9660 (ro,nosuid,nodev,relatime,norock,check=r,map=n,blocksize=2048,uid=999,gid=999,dmode=500,fmode=400,uhelper=udisks2)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=5
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash ---
initrd /casper/initrd
}
menuentry "Try Ubuntu without installing (safe graphics)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash nomodeset ---
initrd /casper/initrd
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity quiet splash ---
initrd /casper/initrd
}
menuentry "Install Ubuntu (safe graphics)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity quiet splash nomodeset ---
initrd /casper/initrd
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity quiet splash oem-config/enable=true ---
initrd /casper/initrd
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz integrity-check quiet splash ---
initrd /casper/initrd
}
--------------------------------------------------------------------------------
========================= sda1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
path
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sda1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux/syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? ldlinux.c32 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/ldlinux.c32 1
?? = ?? syslinux/libcom32.c32 1
?? = ?? syslinux/libutil.c32 1
?? = ?? syslinux/vesamenu.c32 1
============== sda1: Version of COM32(R) files used by Syslinux: ===============
ldlinux.c32 : not a COM32/COM32R module
syslinux/chain.c32 : not a COM32/COM32R module
syslinux/gfxboot.c32 : not a COM32/COM32R module
syslinux/ldlinux.c32 : not a COM32/COM32R module
syslinux/libcom32.c32 : not a COM32/COM32R module
syslinux/libutil.c32 : not a COM32/COM32R module
syslinux/vesamenu.c32 : not a COM32/COM32R module
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/15776/mountinfo) leaked on lvs invocation. Parent PID 24491: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20200312_1944 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
Error: /dev/mmcblk0boot0: unrecognised disk label
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash ---
cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
=================== os-prober:
/dev/:The OS now in use - Ubuntu 19.10 CurrentSession:linux
/dev/mmcblk0p2:Ubuntu 19.10 (19.10):Ubuntu:linux
=================== blkid:
/dev/mmcblk0p1: UUID="EC40-9E26" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="4631dea3-d441-4181-b6b3-65d93ca3da17"
/dev/mmcblk0p2: UUID="93d8ab5b-e265-4317-b3cf-31a663548a5a" TYPE="ext4" PARTUUID="f13ee21a-6f14-4fc4-92fc-1a1d96050a80"
/dev/sda1: UUID="289E-60E5" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sr0: UUID="2008-05-06-12-26-42-" LABEL="U3 System" TYPE="iso9660"
/dev/sdb1: LABEL_FATBOOT="new" LABEL="new" UUID="B2B1-318A" TYPE="vfat" PARTUUID="29118aa6-01"
(sda) has unknown type. Please report this message to boot.repair@gmail.com
2 disks with OS, 2 OS : 2 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== No kernel in /mnt/boot-sav/mmcblk0p1/boot:
grub
=================== /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Mar 12 17:55 grub.d
total 128
-rwxr-xr-x 1 root root 10627 Oct 11 13:57 00_header
-rwxr-xr-x 1 root root 6258 Oct 11 13:57 05_debian_theme
-rwxr-xr-x 1 root root 17123 Oct 11 13:57 10_linux
-rwxr-xr-x 1 root root 37613 Oct 11 13:57 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Oct 11 13:57 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Oct 11 13:57 30_os-prober
-rwxr-xr-x 1 root root 1418 Oct 11 13:57 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 11 13:57 40_custom
-rwxr-xr-x 1 root root 216 Oct 11 13:57 41_custom
-rw-r--r-- 1 root root 483 Oct 11 13:57 README
=================== /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
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=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of mmcblk0p2: UUID=EC40-9E26 (mmcblk0p1)
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 2001,0000,2002,2003
Boot0000* Linux HD(1,GPT,4631dea3-d441-4181-b6b3-65d93ca3da17,0x800,0x100000)/File(EFILinuxBOOTX64.efi)RC
Boot0001* USB HDD: SanDisk SanDisk Cruzer PciRoot(0x0)/Pci(0x15,0x0)/USB(3,0)/Unit(0)/HD(1,MBR,0x0,0x800,0x1dd9000)RC
Boot0002* Unknown Device: HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0003* Unknown Device: HD(1,GPT,0b7126bc-92cd-4f82-be9c-fb46a684a748,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0004* Unknown Device: HD(1,GPT,c1265fe0-dab0-42c7-9839-3fbda307c446,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0005* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0006* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0007* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0008* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0009* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000A* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000B* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000C* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000D* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000E* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000F* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0010* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0011* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0012* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0013* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0014* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0015* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0016* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0017* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0018* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0019* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001A* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001B* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001C* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001D* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001E* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001F* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0020* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0021* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0022* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0023* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0024* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0025* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0026* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0027* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0028* ubuntu HD(1,GPT,4631dea3-d441-4181-b6b3-65d93ca3da17,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
=================== PARTITIONS & DISKS:
mmcblk0p1 : mmcblk0, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/mmcblk0p1.
mmcblk0p2 : mmcblk0, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, notbiosboot, /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a.
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /media/ubuntu/new.
mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, liveusb, livemmc, has-os, 1 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, not-mmc, no-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:16.0GB:scsi:512:512:msdos:SanDisk SanDisk Cruzer:;
1:1049kB:16.0GB:16.0GB:fat32::boot, lba;
BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC BJNB4R:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:31.3GB:30.7GB:ext4::;
BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/sr0:101MB:scsi:2048:2048:unknown:SanDisk SanDisk Cruzer:;
BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 1.9G
loop1 loop squashfs 89.1M
loop2 loop squashfs 54.5M
loop3 loop squashfs 149.9M
loop4 loop squashfs 4.2M
loop5 loop squashfs 14.8M
loop6 loop squashfs 956K
loop7 loop squashfs 44.2M
sda disk 14.9G
sda1 part vfat 14.9G
sdb disk 58.4G
sdb1 part vfat 58.4G new
sr0 rom iso9660 96M U3 System
mmcblk0 disk 29.1G
mmcblk0p1 part vfat 512M
mmcblk0p2 part ext4 28.6G
mmcblk0boot0 disk 4M
mmcblk0boot1 disk 4M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /rofs
loop1 0 1 0 /snap/core/7917
loop2 0 1 0 /snap/core18/1223
loop3 0 1 0 /snap/gnome-3-28-1804/71
loop4 0 1 0 /snap/gnome-calculator/501
loop5 0 1 0 /snap/gnome-characters/317
loop6 0 1 0 /snap/gnome-logs/81
loop7 0 1 0 /snap/gtk-common-themes/1353
sda 1 0 1 running
sda1 1 0 1 /cdrom
sdb 1 0 1 running
sdb1 1 0 1 /media/ubuntu/new
sr0 1 0 1 running /media/ubuntu/U3 System
mmcblk0 0 0 0
mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
mmcblk0p2 0 0 0 /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a
mmcblk0boot0 0 1 0
mmcblk0boot1 0 1 0
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1881456k,nr_inodes=470364,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=385424k,mode=755)
/dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16807)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=385420k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/fuse on /run/user/999/doc type fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sr0 on /media/ubuntu/U3 System type iso9660 (ro,nosuid,nodev,relatime,norock,check=r,map=n,blocksize=2048,uid=999,gid=999,dmode=500,fmode=400,uhelper=udisks2)
/dev/mmcblk0p2 on /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/var/lib/snapd/snaps/core_7917.snap on /snap/core/7917 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1223.snap on /snap/core18/1223 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_71.snap on /snap/gnome-3-28-1804/71 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_501.snap on /snap/gnome-calculator/501 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_317.snap on /snap/gnome-characters/317 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_81.snap on /snap/gnome-logs/81 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1353.snap on /snap/gtk-common-themes/1353 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sdb1 on /media/ubuntu/new type vfat (rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/fuse on /root/.cache/doc type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
gvfsd-fuse on /root/.cache/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== ls:
/sys/block/mmcblk0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range force_ro hidden holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mq power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range force_ro hidden holders inflight integrity mq power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot1 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range force_ro hidden holders inflight integrity mq power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0rpmb mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper: control
efi files in mmcblk0p1/efi: /refind/drivers_x64/ext4_x64.efi /linux/drivers_x64/ext4_x64.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /refind/refind_x64.efi /linux/BOOTX64.efi /Boot/mmx64.efi /Boot/grubx64.efi /Boot/fbx64.efi
=================== hexdump -n512 -C /dev/mmcblk0p1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 20 00 |.X.SYSLINUX... .|
00000010 02 00 00 00 00 f8 00 00 10 00 04 00 00 08 00 00 |................|
00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 26 9e 40 ec 4e 4f 20 4e 41 4d 45 20 20 |..)&.@.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 | FAT32 ..1...|
00000060 bc 76 7b 52 06 57 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.|
00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.|
00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....||
00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u|
000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s|
000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G|
000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.|
000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.|
000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...|
000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...|
00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...|
00000110 01 74 05 c6 06 46 7d 00 66 b8 ef be ad de 66 ba |.t...F}.f.....f.|
00000120 ce fa ed fe bb 00 80 e8 0e 00 66 81 3e 1c 80 f8 |..........f.>...|
00000130 a6 b7 62 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |..but...f..`{f..|
00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j|
00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r|
00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F|
00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.||
00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....|
00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........|
000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{|
000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..|
000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......|
000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e|
000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............|
000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.|
00000200
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 40 40 00 |.X.mkfs.fat..@@.|
00000010 02 00 00 00 00 f8 00 00 20 00 40 00 00 08 00 00 |........ .@.....|
00000020 00 b8 4d 07 80 3a 00 00 00 00 00 00 02 00 00 00 |..M..:..........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 8a 31 b1 b2 6e 65 77 20 20 20 20 20 20 |..).1..new |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs tmpfs 377M 1.6M 375M 1% /run
/dev/sda1 vfat 15G 6.3G 8.7G 43% /cdrom
/dev/loop0 squashfs 1.9G 1.9G 0 100% /rofs
/cow overlay 1.9G 681M 1.2G 37% /
tmpfs tmpfs 1.9G 34M 1.9G 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs tmpfs 1.9G 680K 1.9G 1% /tmp
tmpfs tmpfs 377M 60K 377M 1% /run/user/999
/dev/sr0 iso9660 6.7M 6.7M 0 100% /media/ubuntu/U3 System
/dev/mmcblk0p2 ext4 29G 7.3G 20G 28% /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a
/dev/loop1 squashfs 90M 90M 0 100% /snap/core/7917
/dev/loop2 squashfs 55M 55M 0 100% /snap/core18/1223
/dev/loop3 squashfs 150M 150M 0 100% /snap/gnome-3-28-1804/71
/dev/loop4 squashfs 4.3M 4.3M 0 100% /snap/gnome-calculator/501
/dev/loop5 squashfs 15M 15M 0 100% /snap/gnome-characters/317
/dev/loop6 squashfs 1.0M 1.0M 0 100% /snap/gnome-logs/81
/dev/loop7 squashfs 45M 45M 0 100% /snap/gtk-common-themes/1353
/dev/sdb1 vfat 59G 22G 38G 37% /media/ubuntu/new
/dev/mmcblk0p1 vfat 511M 511M 0 100% /mnt/boot-sav/mmcblk0p1
=================== fdisk -l:
Disk /dev/loop0: 1.87 GiB, 1982222336 bytes, 3871528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 89.13 MiB, 93454336 bytes, 182528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.52 MiB, 57151488 bytes, 111624 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 149.93 MiB, 157192192 bytes, 307016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 4.2 MiB, 4403200 bytes, 8600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 14.76 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 956 KiB, 978944 bytes, 1912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 44.18 MiB, 46325760 bytes, 90480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 29.12 GiB, 31268536320 bytes, 61071360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 662A4869-C0B4-4EB0-8E92-57BE3604F775
Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
/dev/mmcblk0p2 1050624 61069311 60018688 28.6G Linux filesystem
Disk /dev/sda: 14.95 GiB, 16026435072 bytes, 31301631 sectors
Disk model: SanDisk Cruzer
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 31299583 31297536 14.9G c W95 FAT32 (LBA)
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
=================== Blockers in case of suggested repair
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on mmcblk0p1/efi/.../grub*.efi file!
=================== User settings
The settings chosen by the user will not act on the boot.
Dernière modification par fazpedro (Le 15/03/2020, à 11:09)
Hors ligne
#2 Le 12/03/2020, à 21:29
- xubu1957
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Bonjour,
C'est pour cet Ordi ? > [Résolu] Pas de boot ASPIRE ES1 331
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 12/03/2020, à 21:56
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Oui c'est bien celui-là mais comme j'ai supprimé un fichier par erreur et j'ai voulu réparer mais je n'y suis pas arrivé du coup j'ai tenté une réinstallation et voilà
je n'ai plus du tout Windows dessus mais l'installation plante à la fin... je ne sais plus quoi faire
Merci
Hors ligne
#4 Le 13/03/2020, à 15:48
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Bonjour
On va essayer essayer de faire un état des lieux tout cela avec ton support d'installation
1) Choisir essayer avant d'installer, Ouvrir un terminal en appuyant sur les touches CTRL ALT t Mettre le clavier en français en frappant setxkb,qp fr qui devrait s'afficher setxkbmap fr
2) S'occuper de ce problème avant que cela ne déborde
Boot0002* Unknown Device: HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0003* Unknown Device: HD(1,GPT,0b7126bc-92cd-4f82-be9c-fb46a684a748,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0004* Unknown Device: HD(1,GPT,c1265fe0-dab0-42c7-9839-3fbda307c446,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0005* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0006* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0007* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0008* ubuntu HD(1,GPT,5d929dbe-e54b-423b-9f3d-fd9d5275b2ab,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0009* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000A* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000B* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000C* ubuntu HD(1,GPT,e6233e53-32d1-449c-a804-86be924f30f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000D* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000E* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot000F* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0010* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0011* ubuntu HD(1,GPT,9c814823-0203-413d-ae55-e3d5e3294dfe,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0012* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0013* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0014* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0015* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0016* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0017* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0018* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0019* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001A* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001B* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001C* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001D* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001E* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot001F* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0020* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0021* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0022* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0023* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0024* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0025* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0026* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0027* ubuntu HD(1,GPT,b0062a2e-3c1c-4fd2-8590-8897b8284661,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0028* ubuntu HD(1,GPT,4631dea3-d441-4181-b6b3-65d93ca3da17,0x800,0x100000)/File(EFIubuntushimx64.efi)
On va supprimer toutes les lignes. On fera une par une, je te donne la codification pour quelques unes, tu généraliseras
sudo efibootmgr -B -b 2
sudo efibootmgr -B -b a
sudo efibootmgr -B -b 10
sudo efibootmgr -B -b 1a
sudo efibootmgr -B -b 28
Peut-être devras-tu installer le logiciel s'il n 'est pas présent (La commande exacte te sera fournie au retour de la frappe de la première commande)
3) Etude du contenu de la structure de boot.
Comme boot-info n'est pas tellement au point pour ce type de disque, on va essayer d'en savoir un peu plus.
Ce qui est connu
=================== os-prober:
/dev/:The OS now in use - Ubuntu 19.10 CurrentSession:linux
/dev/mmcblk0p2:Ubuntu 19.10 (19.10):Ubuntu:linux
mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
mmcblk0p2 0 0 0 /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/mmcblk0p2 ext4 29G 7.3G 20G 28% /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a
/dev/mmcblk0p1 vfat 511M 511M 0 100% /mnt/boot-sav/mmcblk0p1
On sait donc que la partition de boot EFI est totalement vide.
=>Très mauvais diagnostic. Elle était pleine à 100% (Ou avais-je la tête?) Cela a fait perdre pas mal de temps.
On va regarder ce que contient la structure de boot de la partition UBUNTU.
Il faudrait que tu donnes le retour des commandes suivantes
ls -ls /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/boot
ls -ls /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/boot/grub
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
Cela devrait confirmer qu'une nouvelle fois la structure EFI signée s'installe maintenant avant la structure non signée et est devenue totalement incontournable.
Mais qu'elle est totalement incompatible avec cet ordinateur.
4) Procédons à la réparation
a) Nécessité absolue de modifier le bios pour ne pas être en mode sécure. Je pense que tu sais faire cela.
b) Boot en technique CHROOT ou avec l'utilitaire SGB2D.
L'utilitaire est plus automatique mais il faut le fabriquer sur un autre support . C'est intéressant si on fait plusieurs fois.
La technique CHROOT est plus compliquée, mais immédiatement disponible. Voici un peu de lecture. https://doc.ubuntu-fr.org/chroot
c) Voici les commandes pour booter dans ton contexte:
setxkbmap fr
sudo -i
umount -v /dev/mmcblk0p2
mount -v /dev/mmcblk0p2 /mnt
Le montage des répertoires se fera avec ces commandes (copier/coller).
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /run /mnt/run
mount --bind /sys /mnt/sys
mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
modprobe efivars
Le changement d'environnement se fera avec cette commande
chroot /mnt
Quelques contrôles seront à faire. Par exemple:
mount -t devpts devpts /dev/pts
df -h && df -i
ping -c4 8.8.8.8 && ping -c4 google.fr
ls -ls /home
Cette dernière commande a pour but de vérifier que c'est le nom d'utilisateur que tu as choisi qui s'affiche et pas le mot ubuntu qui signifie que l'opération est ratée.
5) Procédure d'installation de la structure EFI (Ce sont des trucs que je récupère. On verra ce que cela va donner)
a) Montage de la partition EFI
mkdir -v /media/efi
umount -v /dev/mmcblk0p1
mount -v /dev/mmcblk0p1 /media/efi
mkdir -v /media/efi/EFI
b) Installation de la partie du grub efi non présent.
apt install grub-efi-amd64
c) Installation directe du grub en évitant la partie sécure
grub-install -v --no-nvram --no-uefi-secure-boot --efi-directory=/media/efi --target=x86_64-efi
J'ai donc ajouté l'option -v pour avoir une trace... Seule la fin est intéressante. Cela serait sympathique de la fournir
d) Mise à jour
update-grub
6) Procédure pour refabriquer le fichier de boot. La suite a montré qu'il est nécessaire d'utiliser shimx64.efi et pas grubx64.efi même si le secure boot est déactivé et que le bios sait le détecter et l'installer dans la NVRAM!
cp -Rv /media/efi/EFI/ubuntu/* /media/efi/EFI/linux
cp -v /media/efi/EFI/linux/shimx64.efi /media/efi/EFI/linux/bootx64.efi
7) Reboote et vérification du fonctionnement.
exit
shutdown
8) Il restera certainement des choses à faire pour invalider les mises à jour du shim pour éviter le blocage. Mais ces mises à jour sont rares.
VOILA, C'est tout. A toi de jouer
Dernière modification par geole (Le 15/03/2020, à 12:23)
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
#5 Le 13/03/2020, à 16:48
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
J'ai mis les commande dans le terminal :
ubuntu@ubuntu:~$ setxkbmap fr
ubuntu@ubuntu:~$ sudo efibootmgr -B -b 2
sudo: efibootmgr: command not found
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo efibootmgr -B -b 2
sudo: efibootmgr: command not found
ubuntu@ubuntu:~$ sudo apt install efibootmgr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
efibootmgr
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.2 kB of archives.
After this operation, 84.0 kB of additional disk space will be used.
Get:1 cdrom://Ubuntu 19.10 _Eoan Ermine_ - Release amd64 (20191017) eoan/main amd64 efibootmgr amd64 15-1 [28.2 kB]
Selecting previously unselected package efibootmgr.
(Reading database ... 188618 files and directories currently installed.)
Preparing to unpack .../efibootmgr_15-1_amd64.deb ...
Unpacking efibootmgr (15-1) ...
Setting up efibootmgr (15-1) ...
Processing triggers for man-db (2.8.7-3) ...
ubuntu@ubuntu:~$ sudo efibootmgr -B -b 2
ubuntu@ubuntu:~$ ls -ls /media/ubuntu/b1533c85-a055-433d-a407-ca8772d1c866/
total 1392356
0 lrwxrwxrwx 1 root root 7 Mar 13 14:38 bin -> usr/bin
4 drwxr-xr-x 4 root root 4096 Mar 13 14:43 boot
4 drwxrwxr-x 2 root root 4096 Mar 13 14:41 cdrom
4 drwxr-xr-x 5 root root 4096 Oct 17 12:30 dev
12 drwxr-xr-x 133 root root 12288 Mar 13 14:42 etc
4 drwxr-xr-x 3 root root 4096 Mar 13 14:42 home
0 lrwxrwxrwx 1 root root 7 Mar 13 14:38 lib -> usr/lib
0 lrwxrwxrwx 1 root root 9 Mar 13 14:38 lib32 -> usr/lib32
0 lrwxrwxrwx 1 root root 9 Mar 13 14:38 lib64 -> usr/lib64
0 lrwxrwxrwx 1 root root 10 Mar 13 14:38 libx32 -> usr/libx32
16 drwx------ 2 root root 16384 Mar 13 14:37 lost+found
4 drwxr-xr-x 2 root root 4096 Oct 17 12:24 media
4 drwxr-xr-x 2 root root 4096 Oct 17 12:24 mnt
4 drwxr-xr-x 2 root root 4096 Oct 17 12:24 opt
4 drwxr-xr-x 2 root root 4096 Oct 14 14:35 proc
4 drwx------ 3 root root 4096 Oct 17 12:33 root
4 drwxr-xr-x 12 root root 4096 Mar 13 14:42 run
0 lrwxrwxrwx 1 root root 8 Mar 13 14:38 sbin -> usr/sbin
4 drwxr-xr-x 2 root root 4096 Aug 30 2019 snap
4 drwxr-xr-x 2 root root 4096 Oct 17 12:24 srv
1392264 -rw------- 1 root root 1425674240 Mar 13 14:37 swapfile
4 drwxr-xr-x 2 root root 4096 Oct 14 14:35 sys
4 drwxrwxrwt 2 root root 4096 Mar 13 14:43 tmp
4 drwxr-xr-x 14 root root 4096 Oct 17 12:26 usr
4 drwxr-xr-x 14 root root 4096 Oct 17 12:34 var
ubuntu@ubuntu:~$ ls -ls /media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/boot/grub
ls: cannot access '/media/ubuntu/93d8ab5b-e265-4317-b3cf-31a663548a5a/boot/grub': No such file or directory
ubuntu@ubuntu:~$ ls -ls /media/ubuntu/b1533c85-a055-433d-a407-ca8772d1c866/boot/grub/
total 2364
4 drwxr-xr-x 2 root root 4096 Mar 13 14:43 fonts
4 -rw-r--r-- 1 root root 712 Oct 17 12:30 gfxblacklist.txt
4 -rw-rw-r-- 1 root root 1024 Mar 13 14:43 grubenv
2340 -rw-r--r-- 1 root root 2395475 Oct 17 12:30 unicode.pf2
12 drwxr-xr-x 2 root root 12288 Mar 13 14:43 x86_64-efi
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# umount -v /dev/mmcblk0p2
umount: /media/ubuntu/b1533c85-a055-433d-a407-ca8772d1c866 (/dev/mmcblk0p2) unmounted
root@ubuntu:~# mount -v /dev/mmcblk0p2 /mnt
mount: /dev/mmcblk0p2 mounted on /mnt.
root@ubuntu:~# mount -t proc /proc /mnt/proc
root@ubuntu:~# mount -t sysfs /sys /mnt/sys
root@ubuntu:~# mount --bind /dev /mnt/dev
root@ubuntu:~# mount --bind /run /mnt/run
root@ubuntu:~# mount --bind /sys /mnt/sys
root@ubuntu:~# mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
root@ubuntu:~# modprobe efivars
root@ubuntu:~# chroot /mnt
root@ubuntu:/# mount -t devpts devpts /dev/pts
root@ubuntu:/# df -h && df -i
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 29G 6.0G 21G 23% /
udev 1.8G 0 1.8G 0% /dev
tmpfs 377M 11M 366M 3% /run
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mmcblk0p2 1875968 165903 1710065 9% /
udev 470364 574 469790 1% /dev
tmpfs 481779 924 480855 1% /run
root@ubuntu:/# ping -c4 8.8.8.8 && ping -c4 google.fr
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=4.78 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=5.51 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=5.34 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=5.01 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 4.776/5.157/5.507/0.283 ms
PING google.fr(par21s11-in-x03.1e100.net (2a00:1450:4007:80c::2003)) 56 data bytes
64 bytes from par21s11-in-x03.1e100.net (2a00:1450:4007:80c::2003): icmp_seq=1 ttl=55 time=5.47 ms
64 bytes from par21s11-in-x03.1e100.net (2a00:1450:4007:80c::2003): icmp_seq=2 ttl=55 time=5.28 ms
64 bytes from par21s11-in-x03.1e100.net (2a00:1450:4007:80c::2003): icmp_seq=3 ttl=55 time=4.73 ms
64 bytes from par21s11-in-x03.1e100.net (2a00:1450:4007:80c::2003): icmp_seq=4 ttl=55 time=5.30 ms
--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 4.733/5.196/5.473/0.277 ms
root@ubuntu:/# ls -ls /home
total 4
4 drwxr-xr-x 2 nat nat 4096 Mar 13 15:42 nat
root@ubuntu:/#
Dernière modification par fazpedro (Le 13/03/2020, à 17:10)
Hors ligne
#6 Le 13/03/2020, à 16:55
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
J'ai un message d'erreur :
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 470364 574 469790 1% /dev
tmpfs 481779 926 480853 1% /run
/dev/sda1 0 0 0 - /cdrom
/dev/loop0 201235 201235 0 100% /rofs
/cow 481779 2011 479768 1% /
/dev/disk/by-label/casper-rw 829056 46 829010 1% /var/log
tmpfs 481779 64 481715 1% /dev/shm
tmpfs 481779 6 481773 1% /run/lock
tmpfs 481779 18 481761 1% /sys/fs/cgroup
tmpfs 481779 28 481751 1% /tmp
tmpfs 481779 42 481737 1% /run/user/999
/dev/sr0 0 0 0 - /media/ubuntu/U3 System
/dev/loop1 12829 12829 0 100% /snap/core/7917
/dev/loop2 10060 10060 0 100% /snap/core18/1223
/dev/loop3 27707 27707 0 100% /snap/gnome-3-28-1804/71
/dev/loop4 1574 1574 0 100% /snap/gnome-calculator/501
/dev/loop5 271 271 0 100% /snap/gnome-characters/317
/dev/loop6 354 354 0 100% /snap/gnome-logs/81
/dev/loop7 41746 41746 0 100% /snap/gtk-common-themes/1353
/dev/mmcblk0p2 1875968 165905 1710063 9% /mnt
/dev/mmcblk0p1 0 0 0 - /mnt/efi
grub-install: error: failed to get canonical path of `/cow'.
root@ubuntu:~# update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
root@ubuntu:~# sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
root@ubuntu:~# sudo apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-efi-amd64 is already the newest version (2.04-1ubuntu12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:~# mkdir -v /mnt/efi
mkdir: cannot create directory ‘/mnt/efi’: File exists
root@ubuntu:~# mkdir -v /mnt/efi
mkdir: cannot create directory ‘/mnt/efi’: File exists
root@ubuntu:~# mount -v /dev/mmcblk0p1 /mnt/efi
mount: /mnt/efi: /dev/mmcblk0p1 already mounted on /mnt/efi.
root@ubuntu:~# mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
root@ubuntu:~# sudo mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
root@ubuntu:~#
Dernière modification par fazpedro (Le 13/03/2020, à 16:59)
Hors ligne
#7 Le 13/03/2020, à 17:12
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
J'ai toujours le message d'erreur :
grub-install: error: failed to get canonical path of `/cow'.
Hors ligne
#8 Le 13/03/2020, à 17:21
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Peux-tu reprendre au point 5-a)
Je viens d'ajouter une commande umount
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
#9 Le 13/03/2020, à 17:33
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Voici ce que je j'ai récupéré :
ubuntu@ubuntu:~$ mkdir -v /mnt/efi
mkdir: cannot create directory ‘/mnt/efi’: Permission denied
ubuntu@ubuntu:~$ sudo -s
root@ubuntu:/home/ubuntu# mkdir -v /mnt/efi
mkdir: created directory '/mnt/efi'
root@ubuntu:/home/ubuntu# mount -v /dev/mmcblk0p1 /mnt/efi
mount: /dev/mmcblk0p1 mounted on /mnt/efi.
root@ubuntu:/home/ubuntu# mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
root@ubuntu:/home/ubuntu# apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/1227 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 cdrom://Ubuntu 19.10 _Eoan Ermine_ - Release amd64 (20191017) eoan/main amd64 efibootmgr amd64 15-1 [28.2 kB]
Processing triggers for man-db (2.8.7-3) ...
root@ubuntu:/home/ubuntu# grub-install -v --no-nvram --efi-directory=/mnt/efi --no-uefi-secure-boot --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: /dev/mmcblk0p1 is not present.
grub-install: info: Looking for /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0 is a parent of /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0p1 starts from 2048.
grub-install: info: opening the device hostdisk//dev/mmcblk0.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/mmcblk0 is 61071360.
grub-install: info: drive = 0.
grub-install: info: copying `/usr/share/grub/unicode.pf2' -> `/boot/grub/fonts/unicode.pf2'.
grub-install: error: failed to get canonical path of `/cow'.
root@ubuntu:/home/ubuntu# ^C
root@ubuntu:/home/ubuntu# ls -ls /media/
total 0
0 drwxr-x--- 2 root root 40 Mar 13 16:11 apt
0 lrwxrwxrwx 1 root root 6 Mar 13 16:06 cdrom -> /cdrom
0 drwxr-x---+ 4 root root 80 Mar 13 16:06 ubuntu
root@ubuntu:/home/ubuntu# cd /media/
root@ubuntu:/media# ls
apt cdrom ubuntu
root@ubuntu:/media# setxkbmap fr
root@ubuntu:/media# sudo -i
root@ubuntu:~# umount -v /dev/mmcblk0p2
umount: /media/ubuntu/b1533c85-a055-433d-a407-ca8772d1c866 (/dev/mmcblk0p2) unmounted
root@ubuntu:~# mount -v /dev/mmcblk0p2 /mnt
mount: /dev/mmcblk0p2 mounted on /mnt.
root@ubuntu:~# ls -ls /media/ubuntu/
total 2
2 dr-x------ 1 ubuntu ubuntu 2048 Oct 28 2007 'U3 System'
root@ubuntu:~# cd media
-bash: cd: media: No such file or directory
root@ubuntu:~# ls
root@ubuntu:~# cd media
-bash: cd: media: No such file or directory
root@ubuntu:~# cd /media
root@ubuntu:/media# ls
apt cdrom ubuntu
root@ubuntu:/media# cd /ub
-bash: cd: /ub: No such file or directory
root@ubuntu:/media# ls
apt cdrom ubuntu
root@ubuntu:/media# cd ubuntu/
root@ubuntu:/media/ubuntu# ls
'U3 System'
root@ubuntu:/media/ubuntu# mount -t proc /proc /mnt/proc
root@ubuntu:/media/ubuntu# mount -t sysfs /sys /mnt/sys
root@ubuntu:/media/ubuntu# mount --bind /dev /mnt/dev
root@ubuntu:/media/ubuntu# mount --bind /run /mnt/run
root@ubuntu:/media/ubuntu# mount --bind /sys /mnt/sys
root@ubuntu:/media/ubuntu# mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
root@ubuntu:/media/ubuntu# modprobe efivars
root@ubuntu:/media/ubuntu#
root@ubuntu:/media/ubuntu#
root@ubuntu:/media/ubuntu# chroot /mnt
root@ubuntu:/# mount -t devpts devpts /dev/pts
root@ubuntu:/# df -h && df -i
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 29G 6.0G 21G 23% /
udev 1.8G 0 1.8G 0% /dev
tmpfs 377M 11M 366M 3% /run
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mmcblk0p2 1875968 165905 1710063 9% /
udev 470361 574 469787 1% /dev
tmpfs 481776 926 480850 1% /run
root@ubuntu:/# ping -c4 8.8.8.8 && ping -c4 google.fr
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=4.79 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=5.44 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=5.45 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=4.79 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 4.793/5.118/5.447/0.325 ms
PING google.fr(par10s38-in-x03.1e100.net (2a00:1450:4007:805::2003)) 56 data bytes
64 bytes from par10s38-in-x03.1e100.net (2a00:1450:4007:805::2003): icmp_seq=1 ttl=55 time=5.24 ms
64 bytes from par10s38-in-x03.1e100.net (2a00:1450:4007:805::2003): icmp_seq=2 ttl=55 time=4.77 ms
64 bytes from par10s38-in-x03.1e100.net (2a00:1450:4007:805::2003): icmp_seq=3 ttl=55 time=4.88 ms
64 bytes from par10s38-in-x03.1e100.net (2a00:1450:4007:805::2003): icmp_seq=4 ttl=55 time=5.03 ms
--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 4.765/4.978/5.243/0.178 ms
root@ubuntu:/# ls -ls /home
total 4
4 drwxr-xr-x 2 nat nat 4096 Mar 13 15:42 nat
root@ubuntu:/# mkdir -v /mnt/efi
mkdir: created directory '/mnt/efi'
root@ubuntu:/# umount -v /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
root@ubuntu:/# mount -v /dev/mmcblk0p1 /mnt/efi
mount: /dev/mmcblk0p1 mounted on /mnt/efi.
root@ubuntu:/# mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
root@ubuntu:/# apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub-efi-amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub2-common grub-efi-amd64-bin grub-pc grub-common
E: Package 'grub-efi-amd64' has no installation candidate
root@ubuntu:/# grub-install -v --no-nvram --efi-directory=/mnt/efi --no-uefi-secure-boot --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: /dev/mmcblk0p1 is not present.
grub-install: info: Looking for /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0 is a parent of /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0p1 starts from 2048.
grub-install: info: writing 1488 bytes of a fixup block starting at 0xe000.
grub-install: info: reading /usr/lib/grub/x86_64-efi/fshelp.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/ext2.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/part_gpt.mod.
grub-install: info: kernel_img=0x55a02b5919f0, kernel_size=0x1a000.
grub-install: info: the core size is 0x1e280.
grub-install: info: writing 0x21000 bytes.
grub-install: info: grub-mkimage --directory '/usr/lib/grub/x86_64-efi' --prefix '' --output '/boot/grub/x86_64-efi/grub.efi' --dtb '' --format 'x86_64-efi' --compression 'auto' 'ext2' 'part_gpt'
.
grub-install: info: the total module size is 0x4270.
grub-install: info: reading /usr/lib/grub/x86_64-efi/kernel.img.
grub-install: info: locating the section .text at 0x0.
grub-install: info: writing 0x21000 bytes.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/mnt/efi/EFI/ubuntu/grubx64.efi'.
grub-install: error: cannot open `/mnt/efi/EFI/ubuntu/grubx64.efi': No such file or directory.
root@ubuntu:/# 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.3.0-18-generic
Found initrd image: /boot/initrd.img-5.3.0-18-generic
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
root@ubuntu:/#
Hors ligne
#10 Le 13/03/2020, à 17:41
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
le souci vient de la ligne ci-dessous ?
Merci
root@ubuntu:/# mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
root@ubuntu:/#
Hors ligne
#11 Le 13/03/2020, à 17:42
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
root@ubuntu:/# umount -v /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
root@ubuntu:/# mount -v /dev/mmcblk0p1 /mnt/efi
mount: /dev/mmcblk0p1 mounted on /mnt/efi.
root@ubuntu:/# mkdir -v /mnt/efi/EFI
mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device
Je ne vois pas trop où j'ai commis l'erreur. J'ai l'impression qu'il se sert du CDROM. Un peu d'aide de ta part
df -h
ls /mnt/efi/
Dans le doute, je viens de mettre un autre point de montage /media .
Dernière modification par geole (Le 13/03/2020, à 17:45)
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
#12 Le 13/03/2020, à 17:47
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
il y a bien le efi mais pas le EFI ?
root@ubuntu:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 29G 6.3G 21G 24% /
udev 1.8G 0 1.8G 0% /dev
tmpfs 377M 11M 366M 3% /run
/dev/mmcblk0p1 511M 511M 0 100% /mnt/efi
root@ubuntu:/# ls /mnt/efi/
README.diskdefines casper dists isolinux ldlinux.sys libutil.c32 menu.c32 pool syslinux.cfg ubninit ubnpathl.txt
boot casper-rw install ldlinux.c32 libcom32.c32 md5sum.txt pics preseed ubnfilel.txt ubnkern
root@ubuntu:/#
Hors ligne
#13 Le 13/03/2020, à 17:48
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
le souci vient de la ligne ci-dessous ?
Merciroot@ubuntu:/# mkdir -v /mnt/efi/EFI mkdir: cannot create directory ‘/mnt/efi/EFI’: No space left on device root@ubuntu:/#
Le boot-info dit bien
mmcblk0p1 part vfat 512M
mmcblk0p2 part ext4 28.6G
Je ne l'avais pas bien contrôlé!!!
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/mmcblk0p1 vfat 511M 511M 0 100% /mnt/boot-sav/mmcblk0p1
J'attends de connaître son contenu
Dernière modification par geole (Le 13/03/2020, à 17:52)
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
#14 Le 13/03/2020, à 17:52
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
il reste rien dans le disque !
pourtant il y a de la place plus loin dans ce disque ? comment faire ?
/dev/mmcblk0p1 511M 511M 0 100% /mnt/mnt/efi
/dev/mmcblk0p1
EFI System
FAT (32-bit version) — Mounted at /mnt/mnt/efi
/dev/mmcblk0p2
Linux Filesystem
Ext4 (version 1.0) — Mounted at /mnt
df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.8G 0 1.8G 0% /dev
tmpfs 377M 11M 366M 3% /run
/dev/sda1 2.3G 2.3G 0 100% /cdrom
/dev/loop0 1.9G 1.9G 0 100% /rofs
/cow 1.9G 441M 1.5G 24% /
/dev/disk/by-label/casper-rw 13G 54M 12G 1% /var/log
tmpfs 1.9G 43M 1.8G 3% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 1.9G 500K 1.9G 1% /tmp
tmpfs 377M 60K 377M 1% /run/user/999
/dev/sr0 6.7M 6.7M 0 100% /media/ubuntu/U3 System
/dev/loop1 90M 90M 0 100% /snap/core/7917
/dev/loop2 55M 55M 0 100% /snap/core18/1223
/dev/loop3 150M 150M 0 100% /snap/gnome-3-28-1804/71
/dev/loop4 4.3M 4.3M 0 100% /snap/gnome-calculator/501
/dev/loop5 15M 15M 0 100% /snap/gnome-characters/317
/dev/loop6 1.0M 1.0M 0 100% /snap/gnome-logs/81
/dev/loop7 45M 45M 0 100% /snap/gtk-common-themes/1353
/dev/mmcblk0p2 29G 6.3G 21G 24% /mnt
/dev/mmcblk0p1 511M 511M 0 100% /mnt/mnt/efi
Dernière modification par fazpedro (Le 13/03/2020, à 17:59)
Hors ligne
#15 Le 13/03/2020, à 17:57
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
il y a bien le efi mais pas le EFI ?
root@ubuntu:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 29G 6.3G 21G 24% / udev 1.8G 0 1.8G 0% /dev tmpfs 377M 11M 366M 3% /run /dev/mmcblk0p1 511M 511M 0 100% /mnt/efi root@ubuntu:/# ls /mnt/efi/ README.diskdefines casper dists isolinux ldlinux.sys libutil.c32 menu.c32 pool syslinux.cfg ubninit ubnpathl.txt boot casper-rw install ldlinux.c32 libcom32.c32 md5sum.txt pics preseed ubnfilel.txt ubnkern root@ubuntu:/#
C'est trop bizarre. C'est le début d'un support d'installation !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Pour que tu en connaisses un peu plus
ls -Rals /mnt/efi/
Puis, le plus simple est de détruire (Ajout d'un * )
rm -Rav /mnt/efi/*
mkdir -v /mnt/efi/EFI
Dernière modification par geole (Le 13/03/2020, à 18:12)
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
#16 Le 13/03/2020, à 18:04
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
ca veut pas...
ubuntu@ubuntu:~$ sudo rmdir /mnt/efi
ubuntu@ubuntu:~$ sudo mkdir -v /mnt/efi/
mkdir: created directory '/mnt/efi/'
ubuntu@ubuntu:~$ sudo mkdir -v /mnt/efi/EFI
mkdir: created directory '/mnt/efi/EFI'
ubuntu@ubuntu:~$ sudo -s
root@ubuntu:/home/ubuntu# mkdir -v /media/efi
mkdir: created directory '/media/efi'
root@ubuntu:/home/ubuntu# umount -v /dev/mmcblk0p1
umount: /mnt/mnt/efi (/dev/mmcblk0p1) unmounted
root@ubuntu:/home/ubuntu# mount -v /dev/mmcblk0p1 /media/efi
mount: /dev/mmcblk0p1 mounted on /media/efi.
root@ubuntu:/home/ubuntu# mkdir -v /media/efi/EFI
mkdir: cannot create directory ‘/media/efi/EFI’: No space left on device
root@ubuntu:/home/ubuntu#
Hors ligne
#17 Le 13/03/2020, à 18:17
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
root@ubuntu:/home/ubuntu# mkdir -v /media/efi
mkdir: created directory '/media/efi'
root@ubuntu:/home/ubuntu# umount -v /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
root@ubuntu:/home/ubuntu# mount -v /dev/mmcblk0p1 /media/efi
mount: /dev/mmcblk0p1 mounted on /media/efi.
root@ubuntu:/home/ubuntu# mkdir -v /media/efi/EFI
mkdir: cannot create directory ‘/media/efi/EFI’: No space left on device
root@ubuntu:/home/ubuntu# rm -Rv /media/efi/*
removed '/media/efi/README.diskdefines'
root@ubuntu:/home/ubuntu# df -h | grep media
/dev/sr0 6.7M 6.7M 0 100% /media/ubuntu/U3 System
/dev/mmcblk0p2 29G 6.3G 21G 24% /media/ubuntu/b1533c85-a055-433d-a407-ca8772d1c866
/dev/mmcblk0p1 511M 536K 511M 1% /media/efi
root@ubuntu:/home/ubuntu# mkdir /media/efi/EFI
root@ubuntu:/home/ubuntu# apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/1227 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 cdrom://Ubuntu 19.10 _Eoan Ermine_ - Release amd64 (20191017) eoan/main amd64 efibootmgr amd64 15-1 [28.2 kB]
Processing triggers for man-db (2.8.7-3) ...
root@ubuntu:/home/ubuntu# grub-install -v --no-nvram --efi-directory=/media/efi/EFI --no-uefi-secure-boot --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: /dev/mmcblk0p1 is not present.
grub-install: info: Looking for /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0 is a parent of /dev/mmcblk0p1.
grub-install: info: /dev/mmcblk0p1 starts from 2048.
grub-install: info: opening the device hostdisk//dev/mmcblk0.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/mmcblk0 is 61071360.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/terminal.lst' -> `/boot/grub/x86_64-efi/terminal.lst'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/modinfo.sh' -> `/boot/grub/x86_64-efi/modinfo.sh'.
grub-install: info: copying `/usr/share/grub/unicode.pf2' -> `/boot/grub/fonts/unicode.pf2'.
grub-install: error: failed to get canonical path of `/cow'.
root@ubuntu:/home/ubuntu# update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
root@ubuntu:/home/ubuntu#
erreur à la fin ? > failed to get canonical path of `/cow'.
Dernière modification par fazpedro (Le 13/03/2020, à 18:18)
Hors ligne
#18 Le 13/03/2020, à 18:33
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Je pense qu'avec toutes ces manipulations, la fonction CHROOT a été perdue (il suffit d'un exit de trop quelque part)
J'en vois une trace ici
root@ubuntu:/home/ubuntu#
on ne devrait pas être avec l'utilisateur ubuntu mais ton nom. Le plus simple serait de rebooter pour tout réinitialiser et refaire la procédure depuis le point 4.
Dernière modification par geole (Le 13/03/2020, à 18:44)
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
#19 Le 13/03/2020, à 20:35
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
j'ai rebooté , refait la procédure depuis le point 4 et rebooté
et toujours le message "No bootable device" au démarrage ... mince
grub-install: info: the core size is 0x1e270.
grub-install: info: writing 0x21000 bytes.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/EFI/ubuntu/grubx64.efi'.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/EFI/BOOT/BOOTX64.EFI'.
grub-install: info: copying `/usr/lib/shim/fbx64.efi' -> `/media/efi/EFI/EFI/BOOT/fbx64.efi'.
grub-install: info: copying `/usr/lib/shim/mmx64.efi' -> `/media/efi/EFI/EFI/BOOT/mmx64.efi'.
Installation finished. No error reported.
root@ubuntu:/# 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.3.0-18-generic
Found initrd image: /boot/initrd.img-5.3.0-18-generic
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
root@ubuntu:/# mkdir -v -p /media/efi/EFI/Microsoft/Boot
mkdir: created directory '/media/efi/EFI/Microsoft'
mkdir: created directory '/media/efi/EFI/Microsoft/Boot'
root@ubuntu:/# cp -Rv /medit/efi/EFI/ubuntu/* /media/efi/EFI/Microsof/Boot
cp: cannot stat '/medit/efi/EFI/ubuntu/*': No such file or directory
root@ubuntu:/# cp -v /media/efi/EFI/Microsof/Boot/grubx64.efi /media/efi/EFI/Microsoft/boot/bootmgfw.efi
cp: cannot stat '/media/efi/EFI/Microsof/Boot/grubx64.efi': No such file or directory
root@ubuntu:/# exit
exit
root@ubuntu:~# shutdown
Shutdown scheduled for Fri 2020-03-13 19:35:55 UTC, use 'shutdown -c' to cancel.
root@ubuntu:~#
Dernière modification par fazpedro (Le 13/03/2020, à 20:40)
Hors ligne
#20 Le 13/03/2020, à 21:29
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
j'ai essayé à nouveau en enlevant un EFI que je pense en trop :
grub-install -v --no-nvram --efi-directory=/media/[b]efi/ [/b] --no-uefi-secure-boot --target=x86_64-efi
..
rub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/ubuntu/grubx64.efi'.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/BOOT/BOOTX64.EFI'.
grub-install: info: copying `/usr/lib/shim/fbx64.efi' -> `/media/efi/EFI/BOOT/fbx64.efi'.
grub-install: info: copying `/usr/lib/shim/mmx64.efi' -> `/media/efi/EFI/BOOT/mmx64.efi'.
Installation finished. No error reported.
root@ubuntu:/# 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.3.0-40-generic
Found initrd image: /boot/initrd.img-5.3.0-40-generic
Found linux image: /boot/vmlinuz-5.3.0-18-generic
Found initrd image: /boot/initrd.img-5.3.0-18-generic
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
l'erreur est "cannot find a GRUB drive for /dev/sda1...
que faire ?
Merci
Dernière modification par fazpedro (Le 13/03/2020, à 21:29)
Hors ligne
#21 Le 13/03/2020, à 22:08
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Tu as raison avec les EFI en trop a un endroit ou manquant à un autre
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/EFI/ubuntu/grubx64.efi'
cp -Rv /medit/efi/EFI/ubuntu/* /media/efi/EFI/Microsoft/Boot
Le truc est bon
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/ubuntu/grubx64.efi'.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/media/efi/EFI/BOOT/BOOTX64.EFI'.
Mais ta correction finale me semble bonne
Sauf qu'il faut continuer en recopiant la structure de boot enfin correcte, quelque part.
Cela peut se faire maintenant directement en live-USB sans passer par la procédure chroot
sudo -i
umount -v /dev/mmcblk0p1
mount -v /dev/mmcblk0p1 /media/efi
cp -Rv /media/efi/EFI/ubuntu/* /media/efi/EFI/Microsoft/Boot
cp -v /media/efi/EFI/Microsoft/Boot/grubx64.efi /media/efi/EFI/Microsoft/boot/bootmgfw.efi
Si cela foire, je reviendrais à ta première installation où c'était ailleurs.
Nota. Peux-tu confirmer que cette erreur "l'erreur est "cannot find a GRUB drive for /dev/sda1..." est issue du redémarrage sans la clé USB
Dernière modification par geole (Le 13/03/2020, à 22:27)
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
#22 Le 14/03/2020, à 10:32
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# umount -v /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
root@ubuntu:~# mount -v /dev/mmcblk0p1 /media/efi
mount: /media/efi: mount point does not exist.
root@ubuntu:~# cp -Rv /media/efi/EFI/ubuntu/* /media/efi/EFI/Microsoft/Boot
cp: cannot stat '/media/efi/EFI/ubuntu/*': No such file or directory
root@ubuntu:~# cp -v /media/efi/EFI/Microsoft/Boot/grubx64.efi /media/efi/EFI/Microsoft/boot/bootmgfw.efi
cp: cannot stat '/media/efi/EFI/Microsoft/Boot/grubx64.efi': No such file or directory
root@ubuntu:~#
Je n'arrive pas à démarrer l'ordinateur sans la clé, sans clé j'ai le message "No bootable device"
Hors ligne
#23 Le 14/03/2020, à 10:51
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Bonjour
On va réussir.
La copie s'est mal passée a cause d'une erreur de ma part
sudo -i
umount -v /dev/mmcblk0p1
mkdir -v /media/efi
mount -v /dev/mmcblk0p1 /media/efi
cp -Rv /media/efi/EFI/ubuntu/* /media/efi/EFI/Microsoft/Boot
cp -v /media/efi/EFI/Microsoft/Boot/grubx64.efi /media/efi/EFI/Microsoft/boot/bootmgfw.efi
Je vais regarder plus en détail l'autre discussion pour vérifier a quel endroit refind avait été installé
Dernière modification par geole (Le 14/03/2020, à 10:58)
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
#24 Le 14/03/2020, à 10:56
- geole
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
Dans l'autre discussion, tu avais écrit
après reboot :
plus de menu Refind,
il reste bloqué sur le logo ACER...
donc redémarrage et toujours la touche F12 pour accéder au menu UBUNTU...
mince alors
Que peux-tu faire avec cette touche?
Il semblerait n'y avoir qu'un seul fichier de copié. (peut-être est-ce normal en version 19.10)
Peux-tu aussi donner le retour de cette commande.
ls -als /media/efi/EFI/ubuntu
Dernière modification par geole (Le 14/03/2020, à 11:02)
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
#25 Le 14/03/2020, à 11:02
- fazpedro
Re : [RESOLU] grub-efi-amd64-signed dans /target/ avec pc ACER
root@ubuntu:~# umount -v /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
root@ubuntu:~# mkdir -v /media/efi
mkdir: created directory '/media/efi'
root@ubuntu:~# mount -v /dev/mmcblk0p1 /media/efi
mount: /dev/mmcblk0p1 mounted on /media/efi.
root@ubuntu:~# cp -Rv /media/efi/EFI/ubuntu/* /media/efi/EFI/Microsoft/Boot
'/media/efi/EFI/ubuntu/grubx64.efi' -> '/media/efi/EFI/Microsoft/Boot/grubx64.efi'
root@ubuntu:~# cp -v /media/efi/EFI/Microsoft/Boot/grubx64.efi /media/efi/EFI/Microsoft/boot/bootmgfw.efi
'/media/efi/EFI/Microsoft/Boot/grubx64.efi' -> '/media/efi/EFI/Microsoft/boot/bootmgfw.efi'
[code]root@ubuntu:~# ls -als /media/efi/EFI/ubuntu
total 140
4 drwxr-xr-x 2 root root 4096 Mar 13 20:20 .
4 drwxr-xr-x 6 root root 4096 Mar 13 20:20 ..
132 -rwxr-xr-x 1 root root 135168 Mar 14 09:50 grubx64.efi
root@ubuntu:~#
[/code]
J'ai redémarré et j'avais un autre message "security failed"
pourtant mon Secure boot est désactivé...
Dernière modification par fazpedro (Le 14/03/2020, à 11:03)
Hors ligne