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 14/08/2019, à 08:41

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonjour à tous,

J'espérai une autre solution, je n'ai pas réussi à faire l'installation de Linux en mode Legacy malgré les nombreuses tentatives et modifications de paramètres, donc à moins d'avoir un spécialiste à domicile, je ne pense pas y parvenir. Au pire, je peux choisir le disque de démarrage à partir du BIOS lorsqu'ils sont reconnus (aléatoire). A moins que vous aillez une autre solution, même un bricolage pour que les disques soient reconnus.

Dernière modification par Labuche (Le 14/08/2019, à 08:42)

Hors ligne

#27 Le 14/08/2019, à 09:30

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Le firmware pose donc problème, donne le retour de :

sudo dmidecode -t bios -t system -t baseboard

Cela nous permettra de connaître les caratéristiques du firmware et de la carte mère.

Dernière modification par maxire (Le 14/08/2019, à 09:30)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#28 Le 14/08/2019, à 10:20

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Ca donne :

guilhem@guilhem-System-Product-Name:~$ sudo dmidecode -t bios -t system -t baseboard
[sudo] Mot de passe de guilhem : 
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: American Megatrends Inc.
	Version: 1803
	Release Date: 05/06/2016
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 16 MB
	Characteristics:
		PCI is supported
		APM is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 5.11

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: System manufacturer
	Product Name: System Product Name
	Version: System Version
	Serial Number: System Serial Number
	UUID: AC9B3200-72BA-11E3-829E-3497F695ECE7
	Wake-up Type: Power Switch
	SKU Number: SKU
	Family: To be filled by O.E.M.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: Z170-P
	Version: Rev X.0x
	Serial Number: 160674235107424
	Asset Tag: Default string
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Default string
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0022, DMI type 10, 8 bytes
On Board Device 1 Information
	Type: Video
	Status: Enabled
	Description:    To Be Filled By O.E.M.
On Board Device 2 Information
	Type: Ethernet
	Status: Enabled
	Description: To Be Filled By O.E.M.

Handle 0x0024, DMI type 12, 5 bytes
System Configuration Options
	Option 1: SMI:00B29C05
	Option 2: DSN:                               .
	Option 3: DSN:                               .
	Option 4: DSN:                               .

Handle 0x0025, DMI type 32, 20 bytes
System Boot Information
	Status: No errors detected

Handle 0x003C, DMI type 41, 11 bytes
Onboard Device
	Reference Designation:  Onboard IGD
	Type: Video
	Status: Enabled
	Type Instance: 1
	Bus Address: 0000:00:02.0

Handle 0x003D, DMI type 41, 11 bytes
Onboard Device
	Reference Designation:  Onboard LAN
	Type: Ethernet
	Status: Enabled
	Type Instance: 1
	Bus Address: 0000:00:19.0

Handle 0x003E, DMI type 41, 11 bytes
Onboard Device
	Reference Designation:  Onboard 1394
	Type: Other
	Status: Enabled
	Type Instance: 1
	Bus Address: 0000:03:1c.2

Handle 0x0057, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Long
	Installable Languages: 8
		en|US|iso8859-1
		fr|FR|iso8859-1
		zh|CN|unicode
		<BAD INDEX>
		<BAD INDEX>
		<BAD INDEX>
		<BAD INDEX>
		<BAD INDEX>
	Currently Installed Language: fr|FR|iso8859-1

guilhem@guilhem-System-Product-Name:~$

Hors ligne

#29 Le 14/08/2019, à 13:08

geole

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

ikewdu a écrit :

Le plus simple est donc de réinstaller ton Linux lui aussi en mode Legacy pour que les deux soient compatibles.

Bonjour

Le retour de la commande  dit  ""USB legacy is supported"

Pour booter en LEGACY,   il faut que tu appuies sur une touche   au démarrage du boot . Le menu de boot s'affiche alors,
Tu y verras la liste des fichiers de boot du support USB.    Tu ne choisis pas celui qui se termine par .EFI mais l'autre


    Pour la touche, c'est souvent F12 ,F11, F9 ,  F2    et rarement ECHAP
     Il faut aussi que tu regardes dans le bios si tu n'as pas déactivé la possibilité de booter en LEGACY (CSM)   pour n'avoir que UEFI

Lorsque tu as booté, tu vérifies que c'est bien en LEGACY  https://doc.ubuntu-fr.org/uefi#verifier … pport_live

Dernière modification par geole (Le 14/08/2019, à 13:17)


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

#30 Le 14/08/2019, à 17:46

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

j'ai tenté plusieurs installations mais j'ai pas le GRUB et je ne peux plus booter 18.04 depuis le bios.


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


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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
 => libparted MBR boot code is installed in the MBR of /dev/sdc.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda1: unknown filesystem type ''.

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 has 
                       1565300735 sectors, but according to the info from 
                       fdisk, it has 5860268031 sectors.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sdb3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdc2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdc5: __________________________________________________________________________

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

sdd1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 30158 of /dev/sdd1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 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 4,294,967,295 4,294,967,295  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                    34       262,177       262,144 Microsoft Reserved Partition (Windows)
/dev/sda2               264,192 5,860,532,223 5,860,268,032 Data partition (Windows/Linux)

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

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     1,026,047     1,024,000   7 NTFS / exFAT / HPFS
/dev/sdb2           1,026,048   467,766,120   466,740,073   7 NTFS / exFAT / HPFS
/dev/sdb3         467,767,296   468,856,831     1,089,536  27 Hidden NTFS (Recovery Environment)


Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 223.6 GiB, 240057409536 bytes, 468862128 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/sdc1               2,048   240,159,257   240,157,210  83 Linux
/dev/sdc2         240,160,766   468,860,927   228,700,162   5 Extended
/dev/sdc5         240,160,768   468,860,927   228,700,160  83 Linux


Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 58.6 GiB, 62924193792 bytes, 122898816 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/sdd1    *          2,048   122,898,815   122,896,768   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/sda1                                                          
/dev/sda2        5E32433532431187                       ntfs       Nouveau nom
/dev/sdb1        AC9628FA9628C6A4                       ntfs       Réservé au système
/dev/sdb2        3AA82E48A82E034D                       ntfs       
/dev/sdb3        9A56171F5616FC27                       ntfs       
/dev/sdc1        b8b43c48-a831-4d2d-8c68-a10978b9e955   ext4       
/dev/sdc5        a50cb5ef-9c8d-4673-821f-4d1b710a97b5   ext4       
/dev/sdd1        0F15-2E57                              vfat       UBUNTU 18_0

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

total 0
lrwxrwxrwx 1 root root  9 Aug 14 16:35 ata-KINGSTON_SUV400S37240G_50026B726A01B399 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Aug 14 16:35 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9 -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part5 -> ../../sdc5
lrwxrwxrwx 1 root root  9 Aug 14 16:35 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 14 16:35 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Aug 14 16:35 usb-Kingston_DataTraveler_2.0_50E5495131F7BE4119443D08-0:0 -> ../../sdd
lrwxrwxrwx 1 root root 10 Aug 14 16:35 usb-Kingston_DataTraveler_2.0_50E5495131F7BE4119443D08-0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Aug 14 16:35 wwn-0x50014ee262eee420 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 14 16:35 wwn-0x50014ee262eee420-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 14 16:35 wwn-0x50014ee262eee420-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Aug 14 16:35 wwn-0x5f8db4c4818039d9 -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 14 16:35 wwn-0x5f8db4c4818039d9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 14 16:35 wwn-0x5f8db4c4818039d9-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 14 16:35 wwn-0x5f8db4c4818039d9-part5 -> ../../sdc5

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdd1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=============================== sdc5/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/sdc5 during installation
UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 118.283199310 = 127.005618176  boot/vmlinuz-4.18.0-15-generic                 2
 118.283199310 = 127.005618176  vmlinuz                                        2
 119.321685791 = 128.120684544  boot/initrd.img-4.18.0-15-generic              2
 119.321685791 = 128.120684544  initrd.img                                     2
 119.321685791 = 128.120684544  initrd.img.old                                 2

=========================== sdd1/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 boot=casper quiet splash ---
	initrd	/casper/initrd
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd
}
--------------------------------------------------------------------------------

============================== sdd1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdd1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

=============================== StdErr Messages: ===============================

File descriptor 10 (/proc/8507/mountinfo) leaked on lvs invocation. Parent PID 21549: bash
File descriptor 63 (pipe:[158426]) leaked on lvs invocation. Parent PID 21549: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190814_1635 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Partition 1 does not start on physical sector boundary.
boot-info is executed in live-session (Ubuntu 18.04.2 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type

=================== os-prober:
/dev/sdb1:Windows 10:Windows:chain
/dev/sdc5:Ubuntu 18.04.2 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda2: LABEL="Nouveau nom" UUID="5E32433532431187" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="19889547-2614-4eff-947b-90624d03f5ae"
/dev/sdb1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="AC9628FA9628C6A4" TYPE="ntfs" PARTUUID="42cf4884-01"
/dev/sdb2: UUID="3AA82E48A82E034D" TYPE="ntfs" PARTUUID="42cf4884-02"
/dev/sdb3: UUID="9A56171F5616FC27" TYPE="ntfs" PARTUUID="42cf4884-03"
/dev/sdc1: UUID="b8b43c48-a831-4d2d-8c68-a10978b9e955" TYPE="ext4" PARTUUID="33dd2745-01"
/dev/sdc5: UUID="a50cb5ef-9c8d-4673-821f-4d1b710a97b5" TYPE="ext4" PARTUUID="33dd2745-05"
/dev/sdd1: LABEL="UBUNTU 18_0" UUID="0F15-2E57" TYPE="vfat" PARTUUID="009ef089-01"
/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/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="361c539a-6b46-4f88-9417-2079f6ae751f"


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

Windows not detected by os-prober on sdb2.
Partition 1 does not start on physical sector boundary.

=================== sdc5/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 févr. 10  2019 grub.d
total 80
-rwxr-xr-x 1 root root 10046 févr.  7  2019 00_header
-rwxr-xr-x 1 root root  6258 févr.  4  2019 05_debian_theme
-rwxr-xr-x 1 root root 12693 févr.  7  2019 10_linux
-rwxr-xr-x 1 root root 11298 févr.  7  2019 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 févr.  7  2019 30_os-prober
-rwxr-xr-x 1 root root  1418 févr.  7  2019 30_uefi-firmware
-rwxr-xr-x 1 root root   214 févr.  7  2019 40_custom
-rwxr-xr-x 1 root root   216 févr.  7  2019 41_custom
-rw-r--r-- 1 root root   483 févr.  7  2019 README




=================== sdc5/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"




=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x00000000BDBE4990 000042 (v01                 00000000      00000000)
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda2	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sdb1	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdb1.
sdb2	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb2.
sdb3	: 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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb3.
sdc1	: sdc,	maybesepboot,	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,	farbios,	notbiosboot, /mnt/boot-sav/sdc1.
sdc5	: sdc,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	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/sdc5.

sda	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, no-os,	34 sectors * 512 bytes
sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdc	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68E:;
1:17.4kB:134MB:134MB::Microsoft reserved partition:msftres;
2:135MB:3001GB:3000GB:ntfs:Basic data partition:msftdata;

BYT;
/dev/sdb:240GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:239GB:239GB:ntfs::;
3:239GB:240GB:558MB:ntfs::diag;

BYT;
/dev/sdc:240GB:scsi:512:512:msdos:ATA PNY CS900 240GB:;
1:1049kB:123GB:123GB:ext4::;
2:123GB:240GB:117GB:::;
5:123GB:240GB:117GB:ext4::;

BYT;
/dev/sdd:62.9GB:scsi:512:512:msdos:Kingston DataTraveler 2.0:;
1:1049kB:62.9GB:62.9GB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1,8G
loop1 loop squashfs    91M
loop2 loop squashfs  34,6M
loop3 loop squashfs 140,7M
loop4 loop squashfs   2,3M
loop5 loop squashfs    13M
loop6 loop squashfs  14,5M
loop7 loop squashfs   3,7M
sda   disk            2,7T
sda1  part            128M
sda2  part ntfs       2,7T Nouveau nom
sdb   disk          223,6G
sdb1  part ntfs       500M Réservé au système
sdb2  part ntfs     222,6G
sdb3  part ntfs       532M
sdc   disk          223,6G
sdc1  part ext4     114,5G
sdc2  part              1K
sdc5  part ext4     109,1G
sdd   disk           58,6G
sdd1  part vfat      58,6G UBUNTU 18_0

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/6350
loop2    1  1  0         /snap/gtk-common-themes/818
loop3    1  1  0         /snap/gnome-3-26-1604/74
loop4    1  1  0         /snap/gnome-calculator/260
loop5    1  1  0         /snap/gnome-characters/139
loop6    1  1  0         /snap/gnome-logs/45
loop7    1  1  0         /snap/gnome-system-monitor/57
sda      1  0  0 running
sda1     1  0  0
sda2     1  0  0         /mnt/boot-sav/sda2
sdb      0  0  0 running
sdb1     0  0  0         /mnt/boot-sav/sdb1
sdb2     0  0  0         /mnt/boot-sav/sdb2
sdb3     0  0  0         /mnt/boot-sav/sdb3
sdc      0  0  0 running
sdc1     0  0  0         /mnt/boot-sav/sdc1
sdc2     0  0  0
sdc5     0  0  0         /mnt/boot-sav/sdc5
sdd      1  0  1 running
sdd1     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=8158212k,nr_inodes=2039553,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=1636136k,mode=755)
/dev/sdd1 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)
cgroup 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)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15458)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1636132k,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)
/var/lib/snapd/snaps/core_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb3 on /mnt/boot-sav/sdb3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdc1 on /mnt/boot-sav/sdc1 type ext4 (rw,relatime)
/dev/sdc5 on /mnt/boot-sav/sdc5 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 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 power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/sys/block/sdc (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 sdc1 sdc2 sdc5 size slaves stat subsystem trace uevent
/sys/block/sdd (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 sdd1 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hidraw5 hidraw6 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log mapper mcelog 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 sdb2 sdb3 sdc sdc1 sdc2 sdc5 sdd sdd1 sg0 sg1 sg2 sg3 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 04 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 97 4c 5d 01 00 00 00  |..........L]....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  87 11 43 32 35 43 32 5e  |..........C25C2^|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 9f 0f 00 00 00 00 00  |................|
00000030  aa a6 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  a4 c6 28 96 fa 28 96 ac  |..........(..(..|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 0f 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  68 e3 d1 1b 00 00 00 00  |........h.......|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  4d 03 2e a8 48 2e a8 3a  |........M...H..:|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 90 e1 1b  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 9f 10 00 00 00 00 00  |................|
00000030  55 b1 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U...............|
00000040  f6 00 00 00 01 00 00 00  27 fc 16 56 1f 17 56 9a  |........'..V..V.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200
Partition 1 does not start on physical sector boundary.

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  1.9M  1.6G   1% /run
/dev/sdd1      vfat       59G  1.9G   57G   4% /cdrom
/dev/loop0     squashfs  1.8G  1.8G     0 100% /rofs
/cow           overlay   7.9G  474M  7.4G   6% /
tmpfs          tmpfs     7.9G   79M  7.8G   1% /dev/shm
tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.9G     0  7.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     7.9G  600K  7.9G   1% /tmp
tmpfs          tmpfs     1.6G   52K  1.6G   1% /run/user/999
/dev/loop1     squashfs   91M   91M     0 100% /snap/core/6350
/dev/loop2     squashfs   35M   35M     0 100% /snap/gtk-common-themes/818
/dev/loop3     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop4     squashfs  2.3M  2.3M     0 100% /snap/gnome-calculator/260
/dev/loop5     squashfs   13M   13M     0 100% /snap/gnome-characters/139
/dev/loop6     squashfs   15M   15M     0 100% /snap/gnome-logs/45
/dev/loop7     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/57
/dev/sda2      fuseblk   2.8T  454G  2.3T  17% /mnt/boot-sav/sda2
/dev/sdb1      fuseblk   500M   30M  471M   6% /mnt/boot-sav/sdb1
/dev/sdb2      fuseblk   223G  153G   70G  69% /mnt/boot-sav/sdb2
/dev/sdb3      fuseblk   532M  444M   89M  84% /mnt/boot-sav/sdb3
/dev/sdc1      ext4      112G   60M  106G   1% /mnt/boot-sav/sdc1
/dev/sdc5      ext4      107G  6.4G   96G   7% /mnt/boot-sav/sdc5

=================== fdisk -l:
Disk /dev/loop0: 1.8 GiB, 1905045504 bytes, 3720792 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: 91 MiB, 95408128 bytes, 186344 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: 34.6 MiB, 36216832 bytes, 70736 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: 140.7 MiB, 147496960 bytes, 288080 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: 2.3 MiB, 2355200 bytes, 4600 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: 13 MiB, 13619200 bytes, 26600 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: 14.5 MiB, 15208448 bytes, 29704 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: 3.7 MiB, 3878912 bytes, 7576 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: 2.7 TiB, 3000592982016 bytes, 5860533168 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: F4C85455-B793-4BB1-A73F-9E934130A7B1

Device      Start        End    Sectors  Size Type
/dev/sda1      34     262177     262144  128M Microsoft reserved
/dev/sda2  264192 5860532223 5860268032  2.7T Microsoft basic data



Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos
Disk identifier: 0x42cf4884

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
/dev/sdb2         1026048 467766120 466740073 222.6G  7 HPFS/NTFS/exFAT
/dev/sdb3       467767296 468856831   1089536   532M 27 Hidden NTFS WinRE


Disk /dev/sdc: 223.6 GiB, 240057409536 bytes, 468862128 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: 0x33dd2745

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdc1            2048 240159257 240157210 114.5G 83 Linux
/dev/sdc2       240160766 468860927 228700162 109.1G  5 Extended
/dev/sdc5       240160768 468860927 228700160 109.1G 83 Linux


Disk /dev/sdd: 58.6 GiB, 62924193792 bytes, 122898816 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: 0x009ef089

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdd1  *     2048 122898815 122896768 58.6G  c W95 FAT32 (LBA)


Gtk-Message: 16:35:27.240: GtkDialog mapped without a transient parent. This is discouraged.
User choice: Est-ce que sdc (ATA PNY CS900 240GB) est un disque amovible ? no




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdc5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdc (ATA PNY CS900 240GB) !

Les fichiers de démarrage de [Ubuntu 18.04.2 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


=================== User settings
The settings chosen by the user will not act on the boot.

Hors ligne

#31 Le 14/08/2019, à 18:03

geole

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Tu as bien booté en LEGACY.

=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.

Ubuntu est bien installé  dans la partition SDC5 et les deux O.S. sont bien détectés.

=================== os-prober:
/dev/sdb1:Windows 10:Windows:chain
/dev/sdc5:Ubuntu 18.04.2 LTS (18.04):Ubuntu:linux

Je ne sais pas à quoi sert la partition SDC1 qui est vide.

Je ne comprends pas pourquoi les MBR n'ont pas été mis à jour.

Pour réparer, utilise la réparation automatique de boot-repair. https://doc.ubuntu-fr.org/boot-repair

=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdc5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot

Dernière modification par geole (Le 14/08/2019, à 18: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

#32 Le 14/08/2019, à 18:23

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

SDC1 est proposé automatiquement, il contient un dossier de 3.7Go il me semble, je l'ai donc laissé sans savoir à quoi il sert.

Je n'arrive pas à installer Boot-repair, vois-tu un problème ?

ubuntu@ubuntu:~$ sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-repair boot-info
Ign:1 cdrom://Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210) bionic InRelease
Atteint:2 cdrom://Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210) bionic Release
Réception de:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Atteint:5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic InRelease
Réception de:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [477 kB]
Atteint:7 http://archive.ubuntu.com/ubuntu bionic InRelease                    
Atteint:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease            
Err:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - Filesize:476688 [weak]
   - SHA256:281e3c6a929654fa4f4d64c638e6534e2c37f0bd80fea50b742c307a01374c2a
   - SHA1:91368891e1f12bbc897cf88f8bac48e057a3547b [weak]
   - MD5Sum:4114baafb7c5aa883a719504f57a867c [weak]
  Hashes of received file:
   - SHA256:75a44ebb983260956f9ae8f463ac020ebc241930687f896861f90988716a3a5e
   - SHA1:d9191d56029da0eb1b37248863eafbc46d2aab63 [weak]
   - MD5Sum:577d26a9250fcee9009338ae208baacf [weak]
   - Filesize:476688 [weak]
  Last modification reported: Wed, 14 Aug 2019 12:55:31 +0000
  Release file created at: Wed, 14 Aug 2019 15:44:12 +0000
Réception de:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [162 kB]
Réception de:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [22,7 kB]
Réception de:11 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Réception de:12 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [31,7 kB]
Réception de:13 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [4976 B]
Réception de:14 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2476 B]
565 ko réceptionnés en 1s (404 ko/s)
Lecture des listes de paquets... Fait
E: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-amd64/by-hash/SHA256/281e3c6a929654fa4f4d64c638e6534e2c37f0bd80fea50b742c307a01374c2a  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - Filesize:476688 [weak]
    - SHA256:281e3c6a929654fa4f4d64c638e6534e2c37f0bd80fea50b742c307a01374c2a
    - SHA1:91368891e1f12bbc897cf88f8bac48e057a3547b [weak]
    - MD5Sum:4114baafb7c5aa883a719504f57a867c [weak]
   Hashes of received file:
    - SHA256:75a44ebb983260956f9ae8f463ac020ebc241930687f896861f90988716a3a5e
    - SHA1:d9191d56029da0eb1b37248863eafbc46d2aab63 [weak]
    - MD5Sum:577d26a9250fcee9009338ae208baacf [weak]
    - Filesize:476688 [weak]
   Last modification reported: Wed, 14 Aug 2019 12:55:31 +0000
   Release file created at: Wed, 14 Aug 2019 15:44:12 +0000
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
ubuntu@ubuntu:~$ sudo boot-repair
sudo: boot-repair : commande introuvable

Hors ligne

#33 Le 14/08/2019, à 18:31

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Effectivement l'installation en mode legacy de Ubuntu rate dans ce cas, grub n'est pas installé.
Pourquoi ?
Mystère.

=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdc5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot

Je ne suis pas vraiment d'accord avec cette proposition de réparation car si l'installation de Grub rate je ne vois pas de raison qu'elle réussisse avec boot-repair et dans ce nouveau cas d'échec il existe de fortes chances pour que Windows soit également indémarrable.

Je pense qu'il serait préférable de laisser l'installation de Ubuntu en mode UEFI et de jongler avec le menu de démarrage du firmware.
Je possède également un ASUS avec firmware American Megatrends et je peux démarrer facilement les différents OS aussi bien en mode UEFI que Legacy.
Touche Echappement dans le cas de ma machine pour accéder au  menu de démarrage, f2 pour le paramétrage du firmware et f9 pour démarrer un shell UEFI (à condition qu'il soit installé).


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#34 Le 14/08/2019, à 18:44

geole

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonjour
Dans ce cas, il est plus simple de  booter  avec le support d'installation, de faire la procédure CHROOT et de demander d'installer  la structure de boot uniquement dans le MBR du SDC et de modifier le bios pour booter sur le SDC
Qu'en pensez-vous?

Ou alors de demander de réinstaller windows en mode EFI ce qui va obliger à fabriquer une table de partition GPT sur le disque en question

Pour boot-repair, c'est  probablement un problème de réseau qui perd des bits, refais comme cela

sudo apt install --reinstall   boot-repair 
sudo apt install --reinstall   boot-info

Dernière modification par geole (Le 14/08/2019, à 18:54)


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

#35 Le 14/08/2019, à 18:45

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Je pense à une chose, lors de l'installation de Grub il est demandé sur quel disque installer Grub, ne serait-ce pas /dev/sda qui est choisi par défaut ou bien le sélectionnes-tu ?
Dans ce cas comme ce disque possède une table de partitions GPT il est normal que l'installation de Grub rate faute de pouvoir créer une partiton bios_grub.
Lors de l'installation en mode Legacy il faut sélectionner le disque /dev/sdc pour y installer Grub.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#36 Le 14/08/2019, à 18:47

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Oui, passer en chroot est une excellente idée, cela permettrait en plus de réaliser un diagnostic.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#37 Le 14/08/2019, à 19:00

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Plusieurs questions:
Avant l'instal, je préfère formater le disque, quelle est la bonne méthode ou les bonnes options ?
L'installateur propose deux partitions, l'une avec Ubuntu sdc5, l'autre avec un dossier dont j'ignore l'utilité, à quoi sert-il ?
Concernant Grub, c'est bien sur sdc, sdc1 ou sdc5 que j'essaye de l'installer.
Réinstaller W10 me parait difficile.
Comment passer en chroot ?

Hors ligne

#38 Le 14/08/2019, à 19:01

geole

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Proposition chroot   voir document   https://doc.ubuntu-fr.org/chroot  Ce qui devrait donner dans ce contexte

setxkbmap fr      
sudo -i    

       

mount   /dev/sdc5 /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
    

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
grub-install    /dev/sdc

Merci de rectifier si je me suis trompé pour la commande d'installation légacy que je connais peu.


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

#39 Le 14/08/2019, à 19:20

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Voici ce que j'obtiens :

Y-a-t-il autre chose avant le reboot ?

ubuntu@ubuntu:~$ setxkbmap fr  
ubuntu@ubuntu:~$ sudo -i  
root@ubuntu:~# mount   /dev/sdc5 /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:~#   chroot /mnt
root@ubuntu:/# mount -t devpts devpts /dev/pts 
root@ubuntu:/# df -h && df -i
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sdc5          107G    6,4G   96G   7% /
udev               7,8G       0  7,8G   0% /dev
tmpfs              1,6G    1,9M  1,6G   1% /run
Sys. de fichiers  Inœuds IUtil.  ILibre IUti% Monté sur
/dev/sdc5        7151616 146259 7005357    3% /
udev             2039553    655 2038898    1% /dev
tmpfs            2045166   1115 2044051    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=55 time=31.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=34.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=29.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=33.6 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 29.645/32.522/34.956/2.011 ms
PING google.fr (172.217.25.131) 56(84) bytes of data.
64 bytes from google.fr (172.217.25.131): icmp_seq=1 ttl=55 time=36.8 ms
64 bytes from google.fr (172.217.25.131): icmp_seq=2 ttl=55 time=34.9 ms
64 bytes from google.fr (172.217.25.131): icmp_seq=3 ttl=55 time=37.6 ms
64 bytes from google.fr (172.217.25.131): icmp_seq=4 ttl=55 time=30.2 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 7043ms
rtt min/avg/max/mdev = 30.283/34.941/37.691/2.875 ms
root@ubuntu:/# ls   -ls /home
total 4
4 drwxr-xr-x 2 guilhem guilhem 4096 août  15 03:03 guilhem
root@ubuntu:/# grub-install    /dev/sdc
Installation pour la plate-forme i386-pc.
Installation terminée, sans erreur.
root@ubuntu:/# 

Hors ligne

#40 Le 14/08/2019, à 19:34

geole

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

il reste à quiter     

exit
shutdown

Puis à modifier le bios pour dire que les disques de boot  sont  dans l'ordre suivant SDC SDB  SDA
et booter pour voir ce que cela va donner

Dernière modification par geole (Le 14/08/2019, à 19:35)


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

#41 Le 14/08/2019, à 19:42

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Je te croyais en week-end,
J ai un minimal  bash like avec une invite  de commande.
grub^_
Quelle commande faut il lancer ?

Dernière modification par Labuche (Le 14/08/2019, à 19:50)

Hors ligne

#42 Le 14/08/2019, à 21:25

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

root@ubuntu:/# grub-install    /dev/sdc
Installation pour la plate-forme i386-pc.
Installation terminée, sans erreur.
root@ubuntu:/# 

C'était bien une installation en mode  Bios, sans menu cela ne risque pas de marcher, il aurait fallu le générer via update-grub.
Il suffira de repasser en chroot et cette fois-ci de passer la commande :

sudo update-grub

puis reboot.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#43 Le 14/08/2019, à 23:23

Babdu89

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonsoir.

J'interviens dans ce fil uniquement au sujet de Boot-Repair utiliser en mode Bios_Legacy. Pas en UEFI.
J'ai testé à l'époque pour YannUbuntu, les scripts de Boot-Repair au fur et à mesure de sa conception, jusqu’à l’apparition des machines en mode UEFI. N'ayant pas de machine UEFI, j'ai donc du lâcher prise...

Pour réinstaller Grub-pc Boot-Repair propose deux modes de réparation. La "Réparation recommandée", ou les "Options avancées".

Boot-Repair est utilisable en session installée. En cas de multi boot Linux, il ne va réinstaller Grub que dans l'Os Linux qui permet de le lancer, celui où on l'a installé.

Boot-Repair utilisé en session live, permet de réinstaller Grub dans tous les Os Linux de la config.

Rappel au sujet de Grub-pc; L'installation se fait en deux parties indissociables.
La première partie, en général, dans le secteur de boot du disque d'installation, ou dans le secteur de boot de la partition système, dans le cas où l'utilisateur désire chaîner d'un Grub à l'autre.
La deuxième partie dans la partition système dans /boot/grub.

Particularité des config multi boot multi disques (internes ou internes/externes).
Après lancement de Boot-Repair, en présence de plusieurs disques avec des systèmes Linux installés, la question suivante est posée;

Exemple dans le sujet qui nous occupe;

Est-ce que sdc (ATA PNY CS900 240GB) est un disque amovible ? no

Est-ce que le disque ...... est un disque amovible.
Si on répond;  Non ce qui est logique en présence de disques internes.
Boot-Repair propose de réinstaller la première partie de Grub dans les secteur de boot de tous les disques de la config, à l’exception des disques externes sans Os installés.

Si on répond; Oui , bien que ce soit faux, Boot-Repair va réinstaller la première partie de grub dans le secteur de boot du disque qui a reçu l'installation.

Pour les contributeurs curieux, possédant une config multi boot multi disques, lancez Boot-Repair en session live Bios_Legacy, répondez oui et non à la question, et regardez ce que propose la réparation recommandée. Vous constaterez les réponses ci-dessus.
Remarque; On retrouve dans les "Options avancées" les propositions par défaut identique à ce que propose la "Réparation recommandée" .

Pourquoi çà a marché comme çà?.
YannUbuntu estimait qu'en cas de multi disques, si l'utilisateur ne savait par faire le changement de périphérique au démarrage, pour démarrer sur le bon, la machine démarrerait quel-que soit le disque utiliser au démarrage, après réparation.

J'avais bien à l'époque soulevé le cas de config multi disque, multi boot, avec un disque où seul un Windows serait installé, et dont on voulait préservé le mbr compatible Windows.
Yann à pensé que l'on pourrait dépanné personnellement les utilisateurs dans ce cas. Utilisation des CD  d'install Windows ou console de récupération...

Puis avec l'insistance de pas mal d'utilisateurs de Boot-Repair, Yann à trouvé comment faire un script pour restaurer un "mbr generic" compatible Windows, çà semblait régler le souci, puisque l'on pouvait réécrire un mbr compatible Windows, écrasé par grub première partie.  Boot-Repair est donc resté en l'état.

@+.   Babdu89  .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#44 Le 15/08/2019, à 03:00

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonjour,

Après

sudo update-grub

, je ne peu plus booter depuis le bios mais j'ai l'interface graphique du Grub.

Le boot-info:

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


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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda1: unknown filesystem type ''.

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 has 
                       1565300735 sectors, but according to the info from 
                       fdisk, it has 5860268031 sectors.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sdb3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdc2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdc5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sdd1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 30158 of /dev/sdd1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 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 4,294,967,295 4,294,967,295  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                    34       262,177       262,144 Microsoft Reserved Partition (Windows)
/dev/sda2               264,192 5,860,532,223 5,860,268,032 Data partition (Windows/Linux)

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

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     1,026,047     1,024,000   7 NTFS / exFAT / HPFS
/dev/sdb2           1,026,048   467,766,120   466,740,073   7 NTFS / exFAT / HPFS
/dev/sdb3         467,767,296   468,856,831     1,089,536  27 Hidden NTFS (Recovery Environment)


Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 223.6 GiB, 240057409536 bytes, 468862128 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/sdc1               2,048   240,159,257   240,157,210  83 Linux
/dev/sdc2         240,160,766   468,860,927   228,700,162   5 Extended
/dev/sdc5         240,160,768   468,860,927   228,700,160  83 Linux


Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 58.6 GiB, 62924193792 bytes, 122898816 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/sdd1    *          2,048   122,898,815   122,896,768   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/sda1                                                          
/dev/sda2        5E32433532431187                       ntfs       Nouveau nom
/dev/sdb1        AC9628FA9628C6A4                       ntfs       Réservé au système
/dev/sdb2        3AA82E48A82E034D                       ntfs       
/dev/sdb3        9A56171F5616FC27                       ntfs       
/dev/sdc1        b8b43c48-a831-4d2d-8c68-a10978b9e955   ext4       
/dev/sdc5        a50cb5ef-9c8d-4673-821f-4d1b710a97b5   ext4       
/dev/sdd1        0F15-2E57                              vfat       UBUNTU 18_0

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

total 0
lrwxrwxrwx 1 root root  9 Aug 15 12:55 ata-KINGSTON_SUV400S37240G_50026B726A01B399 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-KINGSTON_SUV400S37240G_50026B726A01B399-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Aug 15 12:55 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9 -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-PNY_CS900_240GB_SSD_PNY481800360701039D9-part5 -> ../../sdc5
lrwxrwxrwx 1 root root  9 Aug 15 12:55 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 15 12:55 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N0DL3FDS-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Aug 15 12:55 usb-Kingston_DataTraveler_2.0_50E5495131F7BE4119443D08-0:0 -> ../../sdd
lrwxrwxrwx 1 root root 10 Aug 15 12:55 usb-Kingston_DataTraveler_2.0_50E5495131F7BE4119443D08-0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Aug 15 12:55 wwn-0x50014ee262eee420 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 15 12:55 wwn-0x50014ee262eee420-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 15 12:55 wwn-0x50014ee262eee420-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Aug 15 12:55 wwn-0x5f8db4c4818039d9 -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 15 12:55 wwn-0x5f8db4c4818039d9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 15 12:55 wwn-0x5f8db4c4818039d9-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 15 12:55 wwn-0x5f8db4c4818039d9-part5 -> ../../sdc5

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

Device           Mount_Point              Type       Options

/dev/sdc5        /                        ext4       (rw,relatime,errors=remount-ro)


=========================== sdc5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
else
  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd2,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	else
	  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	fi
        linux	/boot/vmlinuz-5.0.0-25-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.0.0-25-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
	menuentry 'Ubuntu, avec Linux 5.0.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-25-generic-advanced-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		else
		  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		fi
		echo	'Chargement de Linux 5.0.0-25-generic…'
	        linux	/boot/vmlinuz-5.0.0-25-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.0.0-25-generic
	}
	menuentry 'Ubuntu, with Linux 5.0.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-25-generic-recovery-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		else
		  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		fi
		echo	'Chargement de Linux 5.0.0-25-generic…'
	        linux	/boot/vmlinuz-5.0.0-25-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.0.0-25-generic
	}
	menuentry 'Ubuntu, avec Linux 4.18.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-15-generic-advanced-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		else
		  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		fi
		echo	'Chargement de Linux 4.18.0-15-generic…'
	        linux	/boot/vmlinuz-4.18.0-15-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.18.0-15-generic
	}
	menuentry 'Ubuntu, with Linux 4.18.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-15-generic-recovery-a50cb5ef-9c8d-4673-821f-4d1b710a97b5' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		else
		  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
		fi
		echo	'Chargement de Linux 4.18.0-15-generic…'
	        linux	/boot/vmlinuz-4.18.0-15-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.18.0-15-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd2,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	else
	  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd2,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5  a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	else
	  search --no-floppy --fs-uuid --set=root a50cb5ef-9c8d-4673-821f-4d1b710a97b5
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (sur /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-AC9628FA9628C6A4' {
	insmod part_msdos
	insmod ntfs
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  AC9628FA9628C6A4
	else
	  search --no-floppy --fs-uuid --set=root AC9628FA9628C6A4
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdc5/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/sdc5 during installation
UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 192.873744965 = 207.096606720  boot/grub/grub.cfg                             2
 208.811222076 = 224.209342464  boot/grub/i386-pc/core.img                     1
 118.283199310 = 127.005618176  boot/vmlinuz-4.18.0-15-generic                 2
 122.025688171 = 131.024084992  boot/vmlinuz-5.0.0-25-generic                  1
 122.025688171 = 131.024084992  vmlinuz                                        1
 118.283199310 = 127.005618176  vmlinuz.old                                    2
 122.302047729 = 131.320823808  boot/initrd.img-4.18.0-15-generic              2
 117.259761810 = 125.906710528  boot/initrd.img-5.0.0-25-generic               4
 117.259761810 = 125.906710528  initrd.img                                     4
 122.302047729 = 131.320823808  initrd.img.old                                 2

=========================== sdd1/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 boot=casper quiet splash ---
	initrd	/casper/initrd
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd
}
--------------------------------------------------------------------------------

============================== sdd1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdd1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/5206/mountinfo) leaked on lvs invocation. Parent PID 19239: bash
File descriptor 63 (pipe:[95089]) leaked on lvs invocation. Parent PID 19239: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190815_1255 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Partition 1 does not start on physical sector boundary.
boot-info is executed in installed-session (Ubuntu 18.04.3 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-5.0.0-25-generic root=UUID=a50cb5ef-9c8d-4673-821f-4d1b710a97b5 ro quiet splash vt.handoff=1
Unmount sdd1 from /media/guilhem/UBUNTU 18_0/ to avoid space incompatibilities

=================== os-prober:
/dev/sdc5:L'OS actuellement utilisé - Ubuntu 18.04.3 LTS CurrentSession:linux
/dev/sdb1:Windows 10:Windows:chain

=================== blkid:
/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/sda2: LABEL="Nouveau nom" UUID="5E32433532431187" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="19889547-2614-4eff-947b-90624d03f5ae"
/dev/sdb1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="AC9628FA9628C6A4" TYPE="ntfs" PARTUUID="42cf4884-01"
/dev/sdb2: UUID="3AA82E48A82E034D" TYPE="ntfs" PARTUUID="42cf4884-02"
/dev/sdb3: UUID="9A56171F5616FC27" TYPE="ntfs" PARTUUID="42cf4884-03"
/dev/sdc1: UUID="b8b43c48-a831-4d2d-8c68-a10978b9e955" TYPE="ext4" PARTUUID="33dd2745-01"
/dev/sdc5: UUID="a50cb5ef-9c8d-4673-821f-4d1b710a97b5" TYPE="ext4" PARTUUID="33dd2745-05"
/dev/sdd1: LABEL="UBUNTU 18_0" UUID="0F15-2E57" TYPE="vfat" PARTUUID="009ef089-01"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="361c539a-6b46-4f88-9417-2079f6ae751f"


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

Windows not detected by os-prober on sdb2.
Partition 1 does not start on physical sector boundary.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 août  15 12:31 grub.d
total 80
-rwxr-xr-x 1 root root 10046 févr.  8  2019 00_header
-rwxr-xr-x 1 root root  6258 févr.  5  2019 05_debian_theme
-rwxr-xr-x 1 root root 12693 févr.  8  2019 10_linux
-rwxr-xr-x 1 root root 11298 févr.  8  2019 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 févr.  8  2019 30_os-prober
-rwxr-xr-x 1 root root  1418 févr.  8  2019 30_uefi-firmware
-rwxr-xr-x 1 root root   214 févr.  8  2019 40_custom
-rwxr-xr-x 1 root root   216 févr.  8  2019 41_custom
-rw-r--r-- 1 root root   483 févr.  8  2019 README




=================== /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"



=================== No kernel in /mnt/boot-sav/sdd1/boot:
grub



=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
EFI in dmesg.
[    0.010803] ACPI: UEFI 0x00000000BDBE4990 000042 (v01                 00000000      00000000)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdc5	: sdc,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	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, .
sda2	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sdb1	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdb1.
sdb2	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb2.
sdb3	: 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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb3.
sdc1	: sdc,	maybesepboot,	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,	farbios,	notbiosboot, /mnt/boot-sav/sdc1.
sdd1	: sdd,	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/sdd1.

sdc	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, no-os,	34 sectors * 512 bytes
sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdd	: not-GPT,	BIOSboot-not-needed,	has-correctEFI, 	liveusb,	livemmc, no-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68E:;
1:17.4kB:134MB:134MB::Microsoft reserved partition:msftres;
2:135MB:3001GB:3000GB:ntfs:Basic data partition:msftdata;

BYT;
/dev/sdb:240GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:239GB:239GB:ntfs::;
3:239GB:240GB:558MB:ntfs::diag;

BYT;
/dev/sdc:240GB:scsi:512:512:msdos:ATA PNY CS900 240GB:;
1:1049kB:123GB:123GB:ext4::;
2:123GB:240GB:117GB:::;
5:123GB:240GB:117GB:ext4::;

BYT;
/dev/sdd:62.9GB:scsi:512:512:msdos:Kingston DataTraveler 2.0:;
1:1049kB:62.9GB:62.9GB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs 140,7M
loop1 loop squashfs  14,5M
loop2 loop squashfs   2,3M
loop3 loop squashfs    91M
loop4 loop squashfs   3,7M
loop5 loop squashfs    13M
loop6 loop squashfs  34,6M
sda   disk            2,7T
sda1  part            128M
sda2  part ntfs       2,7T Nouveau nom
sdb   disk          223,6G
sdb1  part ntfs       500M Réservé au système
sdb2  part ntfs     222,6G
sdb3  part ntfs       532M
sdc   disk          223,6G
sdc1  part ext4     114,5G
sdc2  part              1K
sdc5  part ext4     109,1G
sdd   disk           58,6G
sdd1  part vfat      58,6G UBUNTU 18_0

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /snap/gnome-3-26-1604/74
loop1    1  1  0         /snap/gnome-logs/45
loop2    1  1  0         /snap/gnome-calculator/260
loop3    1  1  0         /snap/core/6350
loop4    1  1  0         /snap/gnome-system-monitor/57
loop5    1  1  0         /snap/gnome-characters/139
loop6    1  1  0         /snap/gtk-common-themes/818
sda      1  0  0 running
sda1     1  0  0
sda2     1  0  0         /mnt/boot-sav/sda2
sdb      0  0  0 running
sdb1     0  0  0         /mnt/boot-sav/sdb1
sdb2     0  0  0         /mnt/boot-sav/sdb2
sdb3     0  0  0         /mnt/boot-sav/sdb3
sdc      0  0  0 running
sdc1     0  0  0         /mnt/boot-sav/sdc1
sdc2     0  0  0
sdc5     0  0  0         /
sdd      1  0  1 running
sdd1     1  0  1         /mnt/boot-sav/sdd1


=================== 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=8143664k,nr_inodes=2035916,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=1635868k,mode=755)
/dev/sdc5 on / type ext4 (rw,relatime,errors=remount-ro)
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/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)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=39,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14845)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1635864k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb3 on /mnt/boot-sav/sdb3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdc1 on /mnt/boot-sav/sdc1 type ext4 (rw,relatime)
/dev/sdd1 on /mnt/boot-sav/sdd1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== 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 sdb2 sdb3 size slaves stat subsystem trace uevent
/sys/block/sdc (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 sdc1 sdc2 sdc5 size slaves stat subsystem trace uevent
/sys/block/sdd (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 sdd1 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hidraw5 hidraw6 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log mapper mcelog 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 sdb2 sdb3 sdc sdc1 sdc2 sdc5 sdd sdd1 sg0 sg1 sg2 sg3 shm snapshot snd stderr stdin stdout udmabuf uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 04 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 97 4c 5d 01 00 00 00  |..........L]....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  87 11 43 32 35 43 32 5e  |..........C25C2^|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 9f 0f 00 00 00 00 00  |................|
00000030  aa a6 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  a4 c6 28 96 fa 28 96 ac  |..........(..(..|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 0f 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  68 e3 d1 1b 00 00 00 00  |........h.......|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  4d 03 2e a8 48 2e a8 3a  |........M...H..:|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 90 e1 1b  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 9f 10 00 00 00 00 00  |................|
00000030  55 b1 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U...............|
00000040  f6 00 00 00 01 00 00 00  27 fc 16 56 1f 17 56 9a  |........'..V..V.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200
efi files in sdd1/efi: /BOOT/grubx64.efi

=================== hexdump -n512 -C /dev/sdd1
00000000  eb 58 90 53 59 53 4c 49  4e 55 58 00 02 40 20 00  |.X.SYSLINUX..@ .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  80 41 53 07 97 3a 00 00  00 00 00 00 02 00 00 00  |.AS..:..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 57 2e 15 0f 4e  4f 20 4e 41 4d 45 20 20  |..)W...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 ce 75 00 00 66 ba  |.t...F}.f..u..f.|
00000120  00 00 00 00 bb 00 80 e8  0e 00 66 81 3e 1c 80 8e  |..........f.>...|
00000130  c1 80 6a 75 74 e9 f8 02  66 03 06 60 7b 66 13 16  |..jut...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
Partition 1 does not start on physical sector boundary.

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  1.9M  1.6G   1% /run
/dev/sdc5      ext4      107G  8.0G   94G   8% /
tmpfs          tmpfs     7.9G  144M  7.7G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/loop0     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop1     squashfs   15M   15M     0 100% /snap/gnome-logs/45
/dev/loop3     squashfs   91M   91M     0 100% /snap/core/6350
/dev/loop2     squashfs  2.3M  2.3M     0 100% /snap/gnome-calculator/260
/dev/loop4     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/57
/dev/loop5     squashfs   13M   13M     0 100% /snap/gnome-characters/139
/dev/loop6     squashfs   35M   35M     0 100% /snap/gtk-common-themes/818
tmpfs          tmpfs     1.6G   36K  1.6G   1% /run/user/1000
/dev/sda2      fuseblk   2.8T  454G  2.3T  17% /mnt/boot-sav/sda2
/dev/sdb1      fuseblk   500M   30M  471M   6% /mnt/boot-sav/sdb1
/dev/sdb2      fuseblk   223G  153G   70G  69% /mnt/boot-sav/sdb2
/dev/sdb3      fuseblk   532M  444M   89M  84% /mnt/boot-sav/sdb3
/dev/sdc1      ext4      112G   60M  106G   1% /mnt/boot-sav/sdc1
/dev/sdd1      vfat       59G  1.9G   57G   4% /mnt/boot-sav/sdd1

=================== fdisk -l:
Disk /dev/loop0: 140.7 MiB, 147496960 bytes, 288080 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: 14.5 MiB, 15208448 bytes, 29704 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: 2.3 MiB, 2355200 bytes, 4600 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: 91 MiB, 95408128 bytes, 186344 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: 3.7 MiB, 3878912 bytes, 7576 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: 13 MiB, 13619200 bytes, 26600 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: 34.6 MiB, 36216832 bytes, 70736 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: 2.7 TiB, 3000592982016 bytes, 5860533168 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: F4C85455-B793-4BB1-A73F-9E934130A7B1

Device      Start        End    Sectors  Size Type
/dev/sda1      34     262177     262144  128M Microsoft reserved
/dev/sda2  264192 5860532223 5860268032  2.7T Microsoft basic data



Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos
Disk identifier: 0x42cf4884

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
/dev/sdb2         1026048 467766120 466740073 222.6G  7 HPFS/NTFS/exFAT
/dev/sdb3       467767296 468856831   1089536   532M 27 Hidden NTFS WinRE


Disk /dev/sdc: 223.6 GiB, 240057409536 bytes, 468862128 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: 0x33dd2745

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdc1            2048 240159257 240157210 114.5G 83 Linux
/dev/sdc2       240160766 468860927 228700162 109.1G  5 Extended
/dev/sdc5       240160768 468860927 228700160 109.1G 83 Linux


Disk /dev/sdd: 58.6 GiB, 62924193792 bytes, 122898816 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: 0x009ef089

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdd1  *     2048 122898815 122896768 58.6G  c W95 FAT32 (LBA)


Gtk-Message: 12:55:37.767: GtkDialog mapped without a transient parent. This is discouraged.
User choice: Est-ce que sdc (ATA PNY CS900 240GB) est un disque amovible ? no




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdc5 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdc (ATA PNY CS900 240GB) !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 18.04.3 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


=================== User settings
The settings chosen by the user will not act on the boot.

Hors ligne

#45 Le 15/08/2019, à 06:55

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Et que se passe-t-il maintenant ?
D'après ce que je lis dans le boot-info tu devrais pouvoir démarrer Ubuntu autant que Windows via le menu de Grub.

Labuche a écrit :

je ne peu plus booter depuis le bios

C'était l'objectif de la manipulation, maintenant tu n'as plus que le choix des disques de démarrage puisque plus aucun OS ne démarre en mode UEFI.
Toutes tes installations sont dans le même mode donc sont visibles par Grub, ici en mode Bios/Legacy.

@Babdu89, merci pour les informations, je n'utilise jamais boot-repair, il faut dire que je n'utilise plus Grub mais Syslinux en mode Bios et Refind en mode UEFI.
Grub est devenu trop sohistiqué donc fragile et je trouve même que ses dernières versions régressent.
Il est maintenant quasi impossible de pointer vers un  autre OS à partir d'un minimal grub shell en cas de déficience de l'OS maître, je pouvais le faire facilement voici quelques versions de Grub.
Comme toutes mes machines comportent un OS principal et un OS de réparation j'ai fait sauter Grub son mode commandes minimales étant devenu inopérant.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#46 Le 15/08/2019, à 07:03

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonjour à tous,

Oui, ça fonctionne, merci à tous !
Le temps de tester et je passe en résolu, mais avant je veux dooormir !

Hors ligne

#47 Le 15/08/2019, à 07:12

maxire

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Il reste tout de même un problème :
/dev/sdc1, partition en ext4 prenant plus de la moitié de la taille de /dev/sdc si je lis bien et qui n'est pas utilisée.

Je ne comprends pas.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#48 Le 15/08/2019, à 09:49

Labuche

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

L'installateur propose deux partitions, l'une avec Ubuntu sdc5, l'autre avec un dossier dont j'ignore l'utilité, à quoi sert-il ?

Oui, je ne sais pas pourquoi.

Hors ligne

#49 Le 15/08/2019, à 12:07

Babdu89

Re : Installer le Grub en dualboot avec Asus UEFI et 18.04

Bonjour.

l'autre avec un dossier dont j'ignore l'utilité, à quoi sert-il ?

Le nom du dossier; lost+found ?.

C'est un dossier qui est créé lorsque l'on formate une partition vide au format Ext4 .

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne