Pages : 1
#1 Le 01/01/2020, à 18:44
- OceanSolution
Problème GRUB installation impossible..
Bonjour, j'essaie depuis 2 jours d'installer Ubuntu sur un ordinateur portable vierge, en vain, j'ai le problème suivant : quand j'installe Ubuntu (J'ai essayer 18.04 et 19.10) en fin de chargement un message "GRUB FATAL ERROR" .
J'ai déjà esayer de faire "Boot Repair (Recommended)" mais cela me marque "Please use this software in a live-session (live-CD or live-USB).." Sauf que je suis dans une session "live-usb".
Voici le apport Boot Repair : http://paste.ubuntu.com/p/B8dpkbnqp9/
Auriez-vous une solution à ce problème ?
Merci d'avance, Solution.
PS : Je tente de faire en sorte que Ubuntu soit le seul OS sur l'ordinateur (c'est un ordinateur vierge).
Dernière modification par OceanSolution (Le 01/01/2020, à 18:46)
Hors ligne
#2 Le 02/01/2020, à 02:02
- GammaDraconis
Re : Problème GRUB installation impossible..
- soit ta clé usb est mal crée
- soit tu as mal réglé ton bios (je rappelle qu'il faut désactiver le "Secure Boot" et si jamais tu es en EFI il faut une partition EFI si tu le fais en partitionnement manuel).
Discussion sur mon script de post-install pour Ubuntu 20.04LTS : https://forum.ubuntu-fr.org/viewtopic.php?id=2026344
Lien direct script : https://github.com/simbd/Ubuntu_20.04LTS_PostInstall
Démo vidéo (peertube) : https://video.ploud.fr/videos/watch/fb7 … 0d252ed2db
Hors ligne
#3 Le 02/01/2020, à 09:02
- Pascaltech
Re : Problème GRUB installation impossible..
Bonjour,
Le boot-info :
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No known boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi
/EFI/BOOT/mmx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /etc/fstab
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/EFI/BOOT/grubx64.efi /EFI/BOOT/mmx64.efi
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SAMSUNG MZNLN128
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 250,069,679 250,069,679 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 250,068,991 249,018,368 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk model: Flash Disk
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/sdb1 1 4,294,967,295 4,294,967,295 ee GPT
/dev/sdb1 ends after the last sector of /dev/sdb
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 31,457,246 31,455,199 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"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/sda1 C4AD-4368 vfat
/dev/sda2 46bbd1e2-4c5a-4d75-85ee-fb203375c9bb ext4
/dev/sdb1 C25B-E5B9 vfat UBUNTU 19_1
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 1 16:30 ata-SAMSUNG_MZNLN128HAHQ-000H1_S3T8NA0M751752 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 1 16:30 ata-SAMSUNG_MZNLN128HAHQ-000H1_S3T8NA0M751752-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 1 16:30 ata-SAMSUNG_MZNLN128HAHQ-000H1_S3T8NA0M751752-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jan 1 16:30 usb-Generic_Flash_Disk_C72A66C6-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 1 16:30 usb-Generic_Flash_Disk_C72A66C6-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 1 16:30 wwn-0x5002538d09713e59 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 1 16:30 wwn-0x5002538d09713e59-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 1 16:30 wwn-0x5002538d09713e59-part2 -> ../../sda2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/fuse /run/user/999/doc fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
========================== sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 46bbd1e2-4c5a-4d75-85ee-fb203375c9bb root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=============================== sda2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=46bbd1e2-4c5a-4d75-85ee-fb203375c9bb / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=C4AD-4368 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
5.019397736 = 5.389537280 boot/vmlinuz 1
5.019397736 = 5.389537280 boot/vmlinuz-5.3.0-18-generic 1
6.011592865 = 6.454898688 boot/vmlinuz-5.3.0-24-generic 1
6.409774780 = 6.882443264 boot/initrd.img 3
6.409774780 = 6.882443264 boot/initrd.img-5.3.0-18-generic 3
6.253536224 = 6.714683392 boot/initrd.img-5.3.0-24-generic 2
6.409774780 = 6.882443264 boot/initrd.img.old 3
=========================== sdb1/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
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdb
00000000 41 4b 45 4f fc 31 c0 8e d8 be 31 7c e8 13 00 be |AKEO.1....1|....|
00000010 5c 7c e8 0d 00 be 31 7c e8 07 00 be 87 7c e8 01 |\|....1|.....|..|
00000020 00 f4 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 |...<.t..........|
00000030 c3 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |.***************|
00000040 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************|
00000050 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 00 2a 2a 2a 20 |*********...*** |
00000060 45 52 52 4f 52 3a 20 4c 45 47 41 43 59 20 42 4f |ERROR: LEGACY BO|
00000070 4f 54 20 4f 46 20 55 45 46 49 20 4d 45 44 49 41 |OT OF UEFI MEDIA|
00000080 20 2a 2a 2a 0d 0a 00 0d 0a 54 68 69 73 20 64 72 | ***.....This dr|
00000090 69 76 65 20 63 61 6e 20 6f 6e 6c 79 20 62 6f 6f |ive can only boo|
000000a0 74 20 69 6e 20 55 45 46 49 20 6d 6f 64 65 2e 0d |t in UEFI mode..|
000000b0 0a 49 74 20 63 61 6e 20 6e 6f 74 20 62 6f 6f 74 |.It can not boot|
000000c0 20 69 6e 20 42 49 4f 53 2f 4c 65 67 61 63 79 20 | in BIOS/Legacy |
000000d0 6d 6f 64 65 2e 0d 0a 0d 0a 49 66 20 79 6f 75 20 |mode.....If you |
000000e0 77 61 6e 74 20 74 6f 20 62 6f 6f 74 20 74 68 69 |want to boot thi|
000000f0 73 20 64 72 69 76 65 20 69 6e 20 42 49 4f 53 2f |s drive in BIOS/|
00000100 4c 65 67 61 63 79 20 6d 6f 64 65 2c 20 79 6f 75 |Legacy mode, you|
00000110 0d 0a 73 68 6f 75 6c 64 20 72 65 63 72 65 61 74 |..should recreat|
00000120 65 20 69 74 20 69 6e 20 52 75 66 75 73 20 75 73 |e it in Rufus us|
00000130 69 6e 67 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e |ing the followin|
00000140 67 20 73 65 74 74 69 6e 67 73 3a 0d 0a 2a 20 50 |g settings:..* P|
00000150 61 72 74 69 74 69 6f 6e 20 73 63 68 65 6d 65 20 |artition scheme |
00000160 2d 3e 20 4d 42 52 0d 0a 2a 20 54 61 72 67 65 74 |-> MBR..* Target|
00000170 20 73 79 73 74 65 6d 20 2d 3e 20 42 49 4f 53 2e | system -> BIOS.|
00000180 2e 2e 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 02 00 ee fe ff a5 01 00 00 00 ff ff ff ff 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 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
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/5945/mountinfo) leaked on lvs invocation. Parent PID 13148: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 20200101_1630 ===================
boot-repair version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-repair 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 ---
=================== os-prober:
/dev/:The OS now in use - Ubuntu 19.10 CurrentSession:linux
/dev/sda2:Ubuntu 19.10 (19.10):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="C4AD-4368" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="ae433495-c263-4d6e-aeb3-18dfe016ffd9"
/dev/sda2: UUID="46bbd1e2-4c5a-4d75-85ee-fb203375c9bb" TYPE="ext4" PARTUUID="629261e9-f57a-4756-9dec-023320f213d0"
/dev/sdb1: LABEL="UBUNTU 19_1" UUID="C25B-E5B9" TYPE="vfat" PARTLABEL="Main Data Partition" PARTUUID="de52a561-02d5-4dd3-a8ad-14a28a0ba295"
/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"
(sda) has unknown type. Please report this message to boot.repair@gmail.com
1 disks with OS, 2 OS : 2 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/mmx64.efi
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jan 1 15:45 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
=================== sda2/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 sda2: UUID=C4AD-4368 (sda1)
/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input
=================== efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0002,2003,2001,2002
Boot0000* EFI Network 0 for IPv4 (F8-B4-6A-EE-AC-95) PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(f8b46aeeac95,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI Network 0 for IPv6 (F8-B4-6A-EE-AC-95) PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(f8b46aeeac95,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* ubuntu HD(1,GPT,ae433495-c263-4d6e-aeb3-18dfe016ffd9,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0003* Linpus lite HD(1,GPT,de52a561-02d5-4dd3-a8ad-14a28a0ba295,0x800,0x1dff7df)/File(EFIBootgrubx64.efi)RC
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 disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, 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/sda1.
sda2 : sda, 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, farbios, notbiosboot, /mnt/boot-sav/sda2.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:128GB:scsi:512:4096:gpt:ATA SAMSUNG MZNLN128:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:128GB:127GB:ext4::;
BYT;
/dev/sdb:16.1GB:scsi:512:512:gpt:Generic Flash Disk:;
1:1049kB:16.1GB:16.1GB:fat32:Main Data Partition:msftdata;
=================== 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 119.2G
sda1 part vfat 512M
sda2 part ext4 118.8G
sdb disk 15G
sdb1 part vfat 15G UBUNTU 19_1
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 0 0 0 running
sda1 0 0 0 /mnt/boot-sav/sda1
sda2 0 0 0 /mnt/boot-sav/sda2
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
=================== 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=1873428k,nr_inodes=468357,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=383820k,mode=755)
/dev/sdb1 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/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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17017)
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)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=383816k,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)
/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/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime)
=================== ls:
/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 sda2 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
/dev (filtered): HID-SENSOR-2000e1.1.auto HID-SENSOR-2000e1.10.auto HID-SENSOR-2000e1.12.auto HID-SENSOR-2000e1.13.auto HID-SENSOR-2000e1.18.auto HID-SENSOR-2000e1.19.auto HID-SENSOR-2000e1.2.auto HID-SENSOR-2000e1.4.auto HID-SENSOR-2000e1.5.auto HID-SENSOR-2000e1.6.auto HID-SENSOR-2000e1.7.auto acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 iio:device0 iio:device1 iio:device2 iio:device3 iio:device4 iio:device5 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 10 00 00 04 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 68 43 ad c4 4e 4f 20 4e 41 4d 45 20 20 |..)hC..NO NAME |
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 375M 1.7M 374M 1% /run
/dev/sdb1 vfat 15G 2.3G 13G 16% /cdrom
/dev/loop0 squashfs 1.9G 1.9G 0 100% /rofs
/cow overlay 1.9G 676M 1.2G 37% /
tmpfs tmpfs 1.9G 34M 1.8G 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 12K 1.9G 1% /tmp
tmpfs tmpfs 375M 56K 375M 1% /run/user/999
/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/sda1 vfat 511M 7.8M 504M 2% /mnt/boot-sav/sda1
/dev/sda2 ext4 117G 8.0G 103G 8% /mnt/boot-sav/sda2
=================== 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/sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SAMSUNG MZNLN128
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: AC373639-DF23-4C26-A79D-C6F4113C4219
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 250068991 249018368 118.8G Linux filesystem
Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk model: Flash Disk
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: 9D653BB0-0E3C-4216-931F-60D50A64D67C
Device Start End Sectors Size Type
/dev/sdb1 2048 31457246 31455199 15G Microsoft basic data
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
=================== Blockers in case of suggested repair
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 sda1/efi/.../grub*.efi file!
=================== User settings
The settings chosen by the user will not act on the boot.
A noter :
Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
Apparemment, le BIOS boot sur sda1 alors que le grub est sur sdb1, le SSD de 15 Gib :
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/EFI/BOOT/grubx64.efi /EFI/BOOT/mmx64.efi
Egalement, tu as un problème de legacy/UEFI ci-dessous :
Unknown MBR on /dev/sdb
00000000 41 4b 45 4f fc 31 c0 8e d8 be 31 7c e8 13 00 be |AKEO.1....1|....|
00000010 5c 7c e8 0d 00 be 31 7c e8 07 00 be 87 7c e8 01 |\|....1|.....|..|
00000020 00 f4 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 |...<.t..........|
00000030 c3 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |.***************|
00000040 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************|
00000050 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 00 2a 2a 2a 20 |*********...*** |
00000060 45 52 52 4f 52 3a 20 4c 45 47 41 43 59 20 42 4f |ERROR: LEGACY BO|
00000070 4f 54 20 4f 46 20 55 45 46 49 20 4d 45 44 49 41 |OT OF UEFI MEDIA|
00000080 20 2a 2a 2a 0d 0a 00 0d 0a 54 68 69 73 20 64 72 | ***.....This dr|
00000090 69 76 65 20 63 61 6e 20 6f 6e 6c 79 20 62 6f 6f |ive can only boo|
000000a0 74 20 69 6e 20 55 45 46 49 20 6d 6f 64 65 2e 0d |t in UEFI mode..|
000000b0 0a 49 74 20 63 61 6e 20 6e 6f 74 20 62 6f 6f 74 |.It can not boot|
000000c0 20 69 6e 20 42 49 4f 53 2f 4c 65 67 61 63 79 20 | in BIOS/Legacy |
000000d0 6d 6f 64 65 2e 0d 0a 0d 0a 49 66 20 79 6f 75 20 |mode.....If you |
000000e0 77 61 6e 74 20 74 6f 20 62 6f 6f 74 20 74 68 69 |want to boot thi|
000000f0 73 20 64 72 69 76 65 20 69 6e 20 42 49 4f 53 2f |s drive in BIOS/|
00000100 4c 65 67 61 63 79 20 6d 6f 64 65 2c 20 79 6f 75 |Legacy mode, you|
00000110 0d 0a 73 68 6f 75 6c 64 20 72 65 63 72 65 61 74 |..should recreat|
00000120 65 20 69 74 20 69 6e 20 52 75 66 75 73 20 75 73 |e it in Rufus us|
00000130 69 6e 67 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e |ing the followin|
00000140 67 20 73 65 74 74 69 6e 67 73 3a 0d 0a 2a 20 50 |g settings:..* P|
00000150 61 72 74 69 74 69 6f 6e 20 73 63 68 65 6d 65 20 |artition scheme |
00000160 2d 3e 20 4d 42 52 0d 0a 2a 20 54 61 72 67 65 74 |-> MBR..* Target|
00000170 20 73 79 73 74 65 6d 20 2d 3e 20 42 49 4f 53 2e | system -> BIOS.|
Je te conseil de regarder le site d'Ikewdu, si tu maîtrise les commandes dans une fenêtre de terminal : grub/UEFI/legacy/BLABLABLA
Dernière modification par Pascaltech (Le 02/01/2020, à 09:15)
Emachine el1200, Xubuntu 20.04 LTS
Traductions guides serveur & grub et liens utiles Classement CG
inxi -F sudo lshw dpkg -l
Hors ligne
#4 Le 02/01/2020, à 11:28
- geole
Re : Problème GRUB installation impossible..
Bonjour.
Ton installation a été commencée en mode EFI
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
Le début de la structure EFI est bien présent
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi
/EFI/BOOT/mmx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
et
========================= sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 46bbd1e2-4c5a-4d75-85ee-fb203375c9bb root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
-------------------------------
mais l'installation de la partie grub a été oubliée!
=> Pas de fichier /boot/grub/grub.cfg
et le boot-repair est inefficace car il dérape
ADDITIONAL INFORMATION :
=================== log of boot-repair 20200101_1630 ===================
boot-repair version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-repair is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
Tu pourrais tenter de réparer en mode manuel
. La partition EFI est SDA1 La partition ubuntu est SDA2
Voir documentation https://doc.ubuntu-fr.org/chroot paragraphe 1.2
ou https://doc.ubuntu-fr.org/boot-repair paragraphe 2.5
La commande à faire est probablement
grub-install -v
Pourras-tu donner la référence commerciale de ton ordinateur
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
Hors ligne