Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 06/06/2019, à 22:11

xubu1957

Re : [résolu] impossible d'installer GRUB 2.0

Bonjour,

Collage du Boot-Info du message #25 (6 Jun 2019) :

oot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector 
    1059848 of the same hard drive for core.img, but core.img can not be found 
    at this location.
 => 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/bootx64.efi 
                       /EFI/boot/fwupx64.efi /EFI/boot/grubx64.efi 
                       /EFI/boot/mmx64.efi /EFI/boot/shimx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/boot/ubuntu/fwupx64.efi 
                       /EFI/boot/ubuntu/grubx64.efi 
                       /EFI/boot/ubuntu/mmx64.efi /EFI/boot/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.5 LTS
    Boot files:        /etc/fstab

sda3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdb2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb2 starts at sector 9904. According to the info in 
                       the boot sector, sdb2 has 0 sectors.
    Mounting failed:   mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
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

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   248,068,095   247,017,472 Data partition (Linux)
/dev/sda3           248,068,096   250,068,991     2,000,896 Swap partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 14.6 GiB, 15614803968 bytes, 30497664 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: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *              0     2,714,431     2,714,432   0 Empty
/dev/sdb2               9,904        14,639         4,736  ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1   +  R              0     2,714,375     2,714,376 Data partition (Windows/Linux)
/dev/sdb2   +  R          9,904        14,639         4,736 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/sda1        6FA5-0629                              vfat       
/dev/sda2        f7f883b3-e783-40b0-a6ec-1a850dab72ba   ext4       
/dev/sda3        9da22b5e-43dd-4775-9dd8-9b376ff59e74   swap       
/dev/sdb1        2018-07-31-01-05-26-00                 iso9660    Ubuntu-GNOME 16.04.5 LTS amd64
/dev/sdb2        D873-612C                              vfat       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Jun  6 19:56 ata-SanDisk_SD8SN8U-128G-1006_173041804215 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun  6 19:56 ata-SanDisk_SD8SN8U-128G-1006_173041804215-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun  6 19:56 ata-SanDisk_SD8SN8U-128G-1006_173041804215-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun  6 19:56 ata-SanDisk_SD8SN8U-128G-1006_173041804215-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Jun  6 19:56 usb-Kingston_DataTraveler_3.0_0019E06B0842EE8067631C1C-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun  6 19:56 usb-Kingston_DataTraveler_3.0_0019E06B0842EE8067631C1C-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun  6 19:56 usb-Kingston_DataTraveler_3.0_0019E06B0842EE8067631C1C-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Jun  6 19:56 wwn-0x5001b448b4039fd2 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun  6 19:56 wwn-0x5001b448b4039fd2-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun  6 19:56 wwn-0x5001b448b4039fd2-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun  6 19:56 wwn-0x5001b448b4039fd2-part3 -> ../../sda3

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid ce079c15-7e8d-4d5e-b0d4-0a7d95558b29 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=f7f883b3-e783-40b0-a6ec-1a850dab72ba /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=6FA5-0629  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=9da22b5e-43dd-4775-9dd8-9b376ff59e74 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  20.641681671 = 22.163836928   boot/vmlinuz-4.15.0-29-generic                 1
  19.387413025 = 20.817076224   boot/vmlinuz-4.15.0-51-generic                 1
  20.641681671 = 22.163836928   vmlinuz                                        1
  19.703266144 = 21.156220928   boot/initrd.img-4.15.0-29-generic              1
  19.859313965 = 21.323776000   boot/initrd.img-4.15.0-51-generic              3
  19.703266144 = 21.156220928   initrd.img                                     1
  19.703266144 = 21.156220928   initrd.img.old                                 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown MBR on /dev/sdb

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 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  a8 03 00 00 00 00 00 00  16 83 6c 58 00 00 80 00  |..........lX....|
000001c0  01 00 00 52 e0 fd 00 00  00 00 40 6b 29 00 00 fe  |...R......@k)...|
000001d0  ff ff ef fe ff ff b0 26  00 00 80 12 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


/dev/sdb1: unknown GPT attributes
1000000000000001

/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdb1

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  a8 03 00 00 00 00 00 00  16 83 6c 58 00 00 80 00  |..........lX....|
000001c0  01 00 00 52 e0 fd 00 00  00 00 40 6b 29 00 00 fe  |...R......@k)...|
000001d0  ff ff ef fe ff ff b0 26  00 00 80 12 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/5291/mounts) leaked on lvs invocation. Parent PID 12618: bash
File descriptor 63 (pipe:[46964]) leaked on lvs invocation. Parent PID 12618: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190606_1956 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-info is executed in live-session (Ubuntu 16.04.5 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu-gnome.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda2:Ubuntu 16.04.5 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="6FA5-0629" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8683d97b-cfff-4c62-b38e-aecfb98146f0"
/dev/sda2: UUID="f7f883b3-e783-40b0-a6ec-1a850dab72ba" TYPE="ext4" PARTUUID="b4abf91c-d9a3-46e4-a680-9b330b10ae00"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="9da22b5e-43dd-4775-9dd8-9b376ff59e74" TYPE="swap" PARTUUID="35b6a28f-cb2c-4ea1-a646-de5b96188302"
/dev/sdb1: UUID="2018-07-31-01-05-26-00" LABEL="Ubuntu-GNOME 16.04.5 LTS amd64" TYPE="iso9660" PTUUID="586c8316" PTTYPE="dos" PARTUUID="586c8316-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="D873-612C" TYPE="vfat" PARTUUID="586c8316-02"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fwupx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/grubx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/mmx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/shimx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/ubuntu/fwupx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/ubuntu/grubx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/ubuntu/mmx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/ubuntu/shimx64.efi

=================== sda2/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Jul 31  2018 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Mar 21  2018 00_header
-rwxr-xr-x 1 root root  6258 Jan 24  2018 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 21  2018 10_linux
-rwxr-xr-x 1 root root 11082 Mar 21  2018 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Mar 21  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 Mar 21  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Mar 21  2018 40_custom
-rwxr-xr-x 1 root root   216 Mar 21  2018 41_custom
-rw-r--r-- 1 root root   483 Mar 21  2018 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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
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=6FA5-0629   (sda1)

=================== efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0003,0000,0004,2003,2001,2002
Boot0000* Linpus lite	HD(1,GPT,8683d97b-cfff-4c62-b38e-aecfb98146f0,0x800,0x100000)/File(EFIBootgrubx64.efi)RC
Boot0001* EFI Network 0 for IPv4 (48-BA-4E-94-9D-43) 	PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(48ba4e949d43,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot0002* EFI Network 0 for IPv6 (48-BA-4E-94-9D-43) 	PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(48ba4e949d43,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0003* ubuntu	HD(1,GPT,8683d97b-cfff-4c62-b38e-aecfb98146f0,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0004* Linpus lite	HD(1,MBR,0x22,0x26b0,0x1280)/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 live-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,	no-grubenv	grub2,	grub-pc ,	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 SanDisk SD8SN8U-:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:127GB:126GB:ext4::;
3:127GB:128GB:1024MB:linux-swap(v1)::;

BYT;
/dev/sdb:15.6GB:scsi:512:512:unknown:Kingston DataTraveler 3.0:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sdb   disk iso9660   14.6G Ubuntu-GNOME 16.04.5 LTS amd64
sdb2  part vfat       2.3M Ubuntu-GNOME 16.04.5 LTS amd64
sdb1  part iso9660    1.3G Ubuntu-GNOME 16.04.5 LTS amd64
loop0 loop squashfs   1.2G
sda   disk          119.2G
sda2  part ext4     117.8G
sda3  part swap       977M
sda1  part vfat       512M

KNAME ROTA RO RM STATE   MOUNTPOINT
sdb      1  0  1 running /cdrom
sdb2     1  0  1
sdb1     1  0  1
loop0    1  1  0         /rofs
sda      0  0  0 running
sda2     0  0  0         /mnt/boot-sav/sda2
sda3     0  0  0         [SWAP]
sda1     0  0  0         /mnt/boot-sav/sda1


=================== 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=1903580k,nr_inodes=475895,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=384772k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=53f353dd06777694)
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)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,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)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
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=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14320)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=384772k,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/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,data=ordered)


=================== 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 power queue range removable ro sda1 sda2 sda3 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 power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/dev (filtered):  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 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.1.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 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 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 sda3 sdb sdb1 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
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 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 29 06 a5 6f 4e  4f 20 4e 41 4d 45 20 20  |..))..oNO 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.9G     0  1.9G   0% /dev
tmpfs          tmpfs     376M   11M  365M   3% /run
/dev/sdb       iso9660   1.3G  1.3G     0 100% /cdrom
/dev/loop0     squashfs  1.3G  1.3G     0 100% /rofs
aufs           aufs      1.9G  199M  1.7G  11% /
tmpfs          tmpfs     1.9G   35M  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  520K  1.9G   1% /tmp
tmpfs          tmpfs     376M   40K  376M   1% /run/user/999
/dev/sda1      vfat      511M   12M  500M   3% /mnt/boot-sav/sda1
/dev/sda2      ext4      116G  5.3G  105G   5% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/loop0: 1.2 GiB, 1328058368 bytes, 2593864 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.2 GiB, 128035676160 bytes, 250069680 sectors
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: 9EF82534-9382-4565-BEFC-C8915A1B42A3

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1050623   1048576   512M EFI System
/dev/sda2    1050624 248068095 247017472 117.8G Linux filesystem
/dev/sda3  248068096 250068991   2000896   977M Linux swap


Disk /dev/sdb: 14.6 GiB, 15614803968 bytes, 30497664 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: dos
Disk identifier: 0x586c8316

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *        0 2714431 2714432  1.3G  0 Empty
/dev/sdb2        9904   14639    4736  2.3M ef EFI (FAT-12/16/32)




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and 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


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

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#27 Le 07/06/2019, à 14:50

geole

Re : [résolu] impossible d'installer GRUB 2.0

Bonjour

Je crains que cela devienne de plus en plus dur de t'aider à résoudre tes problèmes car tu en dis de moins en moins malgré des demandes d'explication complémentaires

SOUXH a écrit :

J'ai essayé la commande mais elle ne fonctionne pas" .

Une commande fonctionne toujours plus ou moins bien.
   Merci de rappeler la commande faite pour les autres intervenants
  Le retour peut être quelques lignes   ou aucune ligne
  Ou la commande  s'exécute pendant une éternité et tu dois faire une action
       Soit un Ctrl C    soit un power off  soit?
 

SOUXH a écrit :

J'ai donc essayé de suivre la procédure que vous avez trouvé avec weds. L'installation via la commande  ubiquity -b fonctionne parfaitement. Mais par contre la procédure qui suit ne fonctionne pas pour moi (ou peut etre ai je fais une erreur quelque par) .

  Merci de rappeler les commandes exécutées et pour chaque commande les retours obtenus
  Dans cette procédure, il est possible qu'il manque une commande...

SOUXH a écrit :

L'ordinateur s'allume et la grub plante "minimal bash... " .

  Très bien. Mais il y a certainement quelques lignes qu'il aurait fallu prendre en  photo ou recopier manuellement car  la raison est peut-être/probablement signalée sans que tu la comprennes  et que je ne peux deviner.

SOUXH a écrit :

boot-info... " .

Maintenant, comme tu as fais une nouvelle installation  (non demandée) sans probablement éliminer la totalité de ce qu'il y avait avant notament le contenu  de la NVRAM, il va falloir deviner ce qui est  ancien  et donc inutile de ce qui est récent et qui pose problème.      Je risque de dire des âneries en commentant le contenu de ce boot-info....

1)  Boot-info produit  en bootant avec le  support d'installation et bios positionné en mode NON-secure

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)

2) Bios positionné pour booter  sur  Limpus si présent, sinon cela sera sur UBUNTU avec  l'application "securisée" de ubuntu.   Cela me semble être un reste d'une vieille installation et à defaut sur un autre limpus

BootCurrent: 0004
BootOrder: 0003,0000,0004,2003,2001,2002
Boot0000* Linpus lite	HD(1,GPT,8683d97b-cfff-4c62-b38e-aecfb98146f0,0x800,0x100000)/File(EFIBootgrubx64.efi)RC
Boot0003* ubuntu	HD(1,GPT,8683d97b-cfff-4c62-b38e-aecfb98146f0,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0004* Linpus lite	HD(1,MBR,0x22,0x26b0,0x1280)/File(EFIBootgrubx64.efi)RC

3) Je ne sais pas sur quoi boote la dernière ligne car je n'ai pas trouvé de disque ayant une table de partition MBR
4)  Limpus et ubuntu sont prévus pour être dans la partition GPT   appelée 8683d97b-cfff-4c62-b38e-aecfb98146f0
5) Cette partition c'est SDA1

=================== blkid:
/dev/sda1: UUID="6FA5-0629" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8683d97b-cfff-4c62-b38e-aecfb98146f0"

6) Dans cette partition, il y a bien des fichiers de boot

sda1: __________________________________________________________________________
    File system:       vfat
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/boot/bootx64.efi 
                       /EFI/boot/fwupx64.efi /EFI/boot/grubx64.efi 
                       /EFI/boot/mmx64.efi /EFI/boot/shimx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/boot/ubuntu/fwupx64.efi 
                       /EFI/boot/ubuntu/grubx64.efi 
                       /EFI/boot/ubuntu/mmx64.efi /EFI/boot/ubuntu/shimx64.efi

7) Le fichier de boot de ubuntu (EFIubuntushimx64.efi) est bien présent)  ainsi que le fichier de boot de limpus (EFIBootgrubx64.efi)
8) Si on franchit cette étape, le shimx64 doit  lancer le programme grubx64.efi (sauf changement de comportement topuhours possibe et déja rencontré)
9) Le programme grubx64 est bien présent (/EFI/boot/grubx64.efi ) ainbsi que son fichier de paramètrage (/EFI/boot/grubx64.efi)
10) Le contenu du fichier de paramètrage est le suivant:

========================== sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid ce079c15-7e8d-4d5e-b0d4-0a7d95558b29 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

12) Il cherche la partition ce079c15-7e8d-4d5e-b0d4-0a7d95558b29 sur le disque 0 en position 2. Ce n'est pas  SDA2 car il y a une autre valeur

=================== blkid:
/dev/sda2: UUID="f7f883b3-e783-40b0-a6ec-1a850dab72ba" TYPE="ext4" PARTUUID="b4abf91c-d9a3-46e4-a680-9b330b10ae00"

J'en conclu que cela est la  cause de ton plantage.

13) Si on avance plus loin et qu'on corrige manuellement  pour mettre le bon UUID du SDA2 on va devoir alors afficher le fichier de boot /boot/grub/grub.cfg

14) Ce fichier de boot n'existe  pas.

Conclusion. Je te prie de recommencer la procédure CHROOT  en étant très précis sur la totalité des commandes que tu fais.
N'hésite pas à  poster chaque étape  car cette procédure a pour but de fabriquer la structure /boot pour le 64 bits

Je n'ose pas te proposer boot repair qui fait exactement la même chose que l'installateur bien qu'il indiquera certainement l'erreur d'une façon plus claire
(Cela serait la procédure "réinstaller le dernier noyau" et pas la réparation standard).
Bon courage.

Remarque particulière.   Dans l'exemple que tu sites, il est impossible de modifier la NVRAM pour faire connaitre le progamme SHIMX64.efi car cela ne répond pas à la commande qu'il faut interrompre. Dans ton contexte, on trouve la présence de cettte ligne

Boot0003* ubuntu	HD(1,GPT,8683d97b-cfff-4c62-b38e-aecfb98146f0,0x800,0x100000)/File(EFIubuntushimx64.efi)RC

dans la NVRAM Donc ce n'est pas exactement le même problème.
.

Dernière modification par geole (Le 07/06/2019, à 15:10)


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

#28 Le 13/06/2019, à 18:44

SOUXH

Re : [résolu] impossible d'installer GRUB 2.0

Désolé geôle je n'avais pas vu ton message. Je me suis finalement résolu a rester sur la version que tu m'avais permis d'installer au départ. Désolé de ne pas être clair javou que c'est un peu complexe pour moi . L'ordi marche parfaitement, je ne pourrais simplement pas faire de mise a jour Ubuntu mais ce n'est pas vraiment grave dans ma situation. Merci pour ton aide.

Hors ligne

#29 Le 14/06/2019, à 09:44

geole

Re : [résolu] impossible d'installer GRUB 2.0

Bonjour.
L'important pour toi est que l'ordinateur fonctionne.
Cependant, il n'y a aucune raison que tu ne puisses pas faire les mises à jour. Tu devrais tenter de faire ces commandes qui empêcheront la partie secure de s'activer.

apt-mark hold fwupdate
apt-mark hold  fwupdate-signed
apt-mark hold secureboot-db
apt-mark hold grub-efi-amd64-signed

Il y en a peut-être d'autres pas nécessaires mais sans danger.

sudo dpkg --configure -a
sudo apt -f install
sudo apt autoremove --purge

Puis tu pourras tenter la mise à jour avec ces deux commandes.

sudo apt update
sudo apt upgrade

NOTA. S'il y a des erreurs dans une commande, tu postes en copier/coller, la commande et les réponses obtenues et tu ne fais pas les commandes qui suivent.


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