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.

#1 Le 07/07/2018, à 01:09

jackflyer

[Résolu] GRUB n'a pas pu être installé sur /dev/sda

Bonjour,

A la base j'ai windows 7 et je veux installer le dernier ubuntu en dual boot (1 disque avec 2 partitions). J'ai eu un "le paquet grub-efi-amd64-signed n'a pas pu être installé dans /target/". Ma situation colle bien avec celle-ci : https://forum.ubuntu-fr.org/viewtopic.p … #p21912928
Sauf que mon windows n'est pas en uefi et ce terme n'est mentionné nulle part dans le bios. Et la clé live ne démarre pas non plus en uefi.
Quand je suis la procédure mentionnée sur la page (sudo apt-get purge grub* puis sudo apt-get install grub-pc), je tente d'installer sur  /dev/sda et il me sort :

GRUB n'a pas pu être installé sur les périphériques suivants :  
                 │                                                                                                          │ 
                 │ /dev/sda                                                                                                 │ 
                 │                                                                                                          │ 
                 │ Veuillez confirmer si vous souhaitez continuer malgré le risque d'un démarrage incorrect de la machine.  │ 
                 │                                                                                                          │ 
                 │ Échec de l'installation de GRUB sur le périphérique d'amorçage. Continuer ?  

Si je choisi oui, ça retourne sur la console avec comme dernières lignes :

Paramétrage de grub-pc (2.02-2ubuntu8) ...

Creating config file /etc/default/grub with new version
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
Installation pour la plate-forme i386-pc.
grub-install : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».
Installation pour la plate-forme i386-pc.
grub-install : erreur : impossible d'obtenir le chemin canonique de « /cow ».
Paramétrage de grub-gfxpayload-lists (0.7) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
W: L'opération a été interrompue avant de se terminer

J'ai tout fait depuis la live-usb. J'ai pas utilisé Super Grub2 Disk.

Mon rapport Boot-info (avant que fasse la manip expliquée sur la page mais après avoir appliqué la réparation automatique proposée par boot-info) :
http://paste.ubuntu.com/p/8DvxQyVGWy/

Merci pour votre aide

Dernière modification par jackflyer (Le 08/07/2018, à 14:52)

Hors ligne

#2 Le 07/07/2018, à 08:50

malbo

Re : [Résolu] GRUB n'a pas pu être installé sur /dev/sda

Ton Boot-Info est là :

 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.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 6250656 of /dev/sdb1 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 /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   771,971,071   771,764,224   7 NTFS / exFAT / HPFS
/dev/sda3         771,973,118   976,771,071   204,797,954   5 Extended
/dev/sda5         771,973,120   976,771,071   204,797,952  83 Linux


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.6 GiB, 8178892800 bytes, 15974400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    15,974,399    15,972,352   7 NTFS / exFAT / HPFS


"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        6A5A66925A665B39                       ntfs       Réservé au système
/dev/sda2        989069D19069B682                       ntfs       
/dev/sda5        c3cd0b5d-6b37-4925-9953-7b35bd3d6c7a   ext4       
/dev/sdb1        BA3E4F483E4EFCBF                       ntfs       Ubuntu 18_04 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 Jul  6  2018 ata-HL-DT-ST_DVDRAM_GT50N_M5321432021 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jul  6 21:27 ata-TOSHIBA_MK5061GSYN_X2KFC018T -> ../../sda
lrwxrwxrwx 1 root root 10 Jul  6 21:27 ata-TOSHIBA_MK5061GSYN_X2KFC018T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul  6 21:27 ata-TOSHIBA_MK5061GSYN_X2KFC018T-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul  6 21:27 ata-TOSHIBA_MK5061GSYN_X2KFC018T-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul  6 21:27 ata-TOSHIBA_MK5061GSYN_X2KFC018T-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jul  6 21:27 usb-VendorCo_ProductCode_9207016181294920334-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul  6 21:27 usb-VendorCo_ProductCode_9207016181294920334-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jul  6 21:27 wwn-0x5000039453a04927 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul  6 21:27 wwn-0x5000039453a04927-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul  6 21:27 wwn-0x5000039453a04927-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul  6 21:27 wwn-0x5000039453a04927-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul  6 21:27 wwn-0x5000039453a04927-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jul  6  2018 wwn-0x5001480000000000 -> ../../sr0

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   fuseblk    (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=============================== sda5/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/sda5 during installation
UUID=c3cd0b5d-6b37-4925-9953-7b35bd3d6c7a /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 392.283081055 = 421.210750976  boot/vmlinuz-4.15.0-20-generic                 1
 372.437370300 = 399.901581312  boot/vmlinuz-4.15.0-22-generic                 1
 392.283081055 = 421.210750976  vmlinuz                                        1
 372.774745941 = 400.263835648  boot/initrd.img-4.15.0-20-generic              2
 372.634117126 = 400.112836608  boot/initrd.img-4.15.0-22-generic              1
 372.774745941 = 400.263835648  initrd.img                                     2
 372.774745941 = 400.263835648  initrd.img.old                                 2

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

set timeout=5
menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd.lz
}
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.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

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

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

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

           GiB - GB             File                                 Fragment(s)

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

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

           GiB - GB             File                                 Fragment(s)

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

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

Unknown BootLoader on sda3

00000000  6f 6f 6f 6f 6f 6f 6f 6f  6f 6f 6f 6f 6f 6f 6f 6f  |oooooooooooooooo|
*
000001b0  6f 6f 6f 6f 6f 6f 6f 6f  6f 6f 6f 6f 6f 6f 00 fe  |oooooooooooooo..|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 f8 34 0c 00 00  |............4...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


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

File descriptor 9 (/proc/27298/mountinfo) leaked on lvs invocation. Parent PID 3490: bash
File descriptor 63 (pipe:[91875]) leaked on lvs invocation. Parent PID 3490: bash

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

=================== os-prober:
/dev/sda1:Windows 7:Windows:chain
/dev/sda2:Windows 7:Windows1:chain
/dev/sda5:Ubuntu 18.04 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="6A5A66925A665B39" TYPE="ntfs" PARTUUID="17a30186-01"
/dev/sda2: UUID="989069D19069B682" TYPE="ntfs" PARTUUID="17a30186-02"
/dev/sda5: UUID="c3cd0b5d-6b37-4925-9953-7b35bd3d6c7a" TYPE="ext4" PARTUUID="17a30186-05"
/dev/sdb1: LABEL="Ubuntu 18_04 LTS amd64" UUID="BA3E4F483E4EFCBF" TYPE="ntfs" PARTUUID="00043c34-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"


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


=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 avril 26 18:23 grub.d
total 80
-rwxr-xr-x 1 root root  9783 mars   4 13:11 00_header
-rwxr-xr-x 1 root root  6258 mars   4 13:11 05_debian_theme
-rwxr-xr-x 1 root root 12693 mars   4 13:11 10_linux
-rwxr-xr-x 1 root root 11298 mars   4 13:11 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars   4 13:11 30_os-prober
-rwxr-xr-x 1 root root  1418 mars   4 13:11 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars   4 13:11 40_custom
-rwxr-xr-x 1 root root   216 mars   4 13:11 41_custom
-rw-r--r-- 1 root root   483 mars   4 13:11 README




=================== sda5/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x00000000DAFE4000 00003E (v01 FUJ    PC       02030000 FUJ  00000001)
[    0.000000] ACPI: UEFI 0x00000000DAFE3000 000042 (v01 PTL    COMBUF   00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0x00000000DAFE1000 0002A6 (v01 FUJ    PC       02030000 FUJ  00000001)
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	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/sda1.
sda2	: sda,	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,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sda5	: sda,	not-sepboot,	no-grubenv	grub2,	signed grub-efi ,	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/sda5.

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


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

BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA TOSHIBA MK5061GS:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:395GB:395GB:ntfs::;
3:395GB:500GB:105GB:::;
5:395GB:500GB:105GB:ext4::;

BYT;
/dev/sdb:8179MB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:8179MB:8178MB:ntfs::boot;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1,7G
loop1 loop squashfs  86,6M
loop2 loop squashfs   140M
loop3 loop squashfs   1,6M
loop4 loop squashfs  12,2M
loop5 loop squashfs    21M
loop6 loop squashfs   3,3M
sda   disk          465,8G
sda1  part ntfs       100M Réservé au système
sda2  part ntfs       368G
sda3  part              1K
sda5  part ext4      97,7G
sdb   disk            7,6G
sdb1  part ntfs       7,6G Ubuntu 18_04 LTS amd64
sr0   rom            1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  0  0         /rofs
loop1    1  1  0         /snap/core/4486
loop2    1  1  0         /snap/gnome-3-26-1604/59
loop3    1  1  0         /snap/gnome-calculator/154
loop4    1  1  0         /snap/gnome-characters/69
loop5    1  1  0         /snap/gnome-logs/25
loop6    1  1  0         /snap/gnome-system-monitor/36
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0
sda5     1  0  0         /mnt/boot-sav/sda5
sdb      1  0  1 running
sdb1     1  0  1         /cdrom
sr0      1  0  1 running


=================== 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=1927124k,nr_inodes=481781,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=389664k,mode=755)
/dev/sdb1 on /cdrom type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/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/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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13308)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=389660k,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_4486.snap on /snap/core/4486 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_59.snap on /snap/gnome-3-26-1604/59 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_154.snap on /snap/gnome-calculator/154 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_69.snap on /snap/gnome-characters/69 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_25.snap on /snap/gnome-logs/25 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_36.snap on /snap/gnome-system-monitor/36 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda5 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 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdc-wdm0 cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log lp0 mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 serial sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
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 1f 03 00 00 00 00 00  |................|
00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
00000040  f6 00 00 00 01 00 00 00  39 5b 66 5a 92 66 5a 6a  |........9[fZ.fZj|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== 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 28 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff 2f 00 2e 00 00 00 00  |........./......|
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  82 b6 69 90 d1 69 90 98  |..........i..i..|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G  4.0K  1.9G   1% /dev
tmpfs          tmpfs     381M  1.7M  379M   1% /run
/dev/sdb1      fuseblk   7.7G  1.9G  5.8G  25% /cdrom
/dev/loop0     squashfs  1.8G  1.8G     0 100% /rofs
/cow           overlay   1.9G  405M  1.5G  22% /
tmpfs          tmpfs     1.9G   27M  1.9G   2% /dev/shm
tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.9G  788K  1.9G   1% /tmp
tmpfs          tmpfs     381M   52K  381M   1% /run/user/999
/dev/loop1     squashfs   87M   87M     0 100% /snap/core/4486
/dev/loop2     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/59
/dev/loop3     squashfs  1.7M  1.7M     0 100% /snap/gnome-calculator/154
/dev/loop4     squashfs   13M   13M     0 100% /snap/gnome-characters/69
/dev/loop5     squashfs   21M   21M     0 100% /snap/gnome-logs/25
/dev/loop6     squashfs  3.4M  3.4M     0 100% /snap/gnome-system-monitor/36
/dev/sda1      fuseblk   100M   25M   76M  25% /mnt/boot-sav/sda1
/dev/sda2      fuseblk   369G   87G  282G  24% /mnt/boot-sav/sda2
/dev/sda5      ext4       96G  6.7G   85G   8% /mnt/boot-sav/sda5

=================== fdisk -l:
Disk /dev/loop0: 1.7 GiB, 1831378944 bytes, 3576912 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: 86.6 MiB, 90759168 bytes, 177264 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: 140 MiB, 146841600 bytes, 286800 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: 1.6 MiB, 1691648 bytes, 3304 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: 12.2 MiB, 12804096 bytes, 25008 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: 21 MiB, 22003712 bytes, 42976 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: 3.3 MiB, 3411968 bytes, 6664 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: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x17a30186

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048    206847    204800  100M  7 HPFS/NTFS/exFAT
/dev/sda2          206848 771971071 771764224  368G  7 HPFS/NTFS/exFAT
/dev/sda3       771973118 976771071 204797954 97.7G  5 Extended
/dev/sda5       771973120 976771071 204797952 97.7G 83 Linux




Disk /dev/sdb: 7.6 GiB, 8178892800 bytes, 15974400 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: 0x00043c34

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 15974399 15972352  7.6G  7 HPFS/NTFS/exFAT




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair


Les fichiers de démarrage de [Ubuntu 18.04 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.

Je te conseille de supprimer ton installation actuelle de Ubuntu et de faire une nouvelle installation propre.
Procédure conseillée :
1) démarrer en session live comme tu l'as fait pour faire le Boot-Info.
2) Depuis la session live, s'assurer que la session est en mode non-EFI en passant la commande proposée dans le paragraphe Vérifier si l'ordinateur démarre en mode EFI sur le disque dur (ou sur le support Live) de la doc UEFI. C'est à dire que tu copies la commande ci-dessous et tu la colles dans un terminal depuis la session live :

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Il faut absolument que le résultat de cette commande soit "Session non-EFI" sinon tu vas encore merder comme avant avec "le paquet grub-efi-amd64-signed n'a pas pu être installé dans /target/".
3) Depuis la session live, tu lances l'installation (l'icône de l'installateur est sur le bureau). Tu choisiras "Supprimer Ubuntu XX.XX et réinstaller" à l'étape Type d'installation

Dernière modification par malbo (Le 07/07/2018, à 08:51)

Hors ligne

#3 Le 07/07/2018, à 18:42

jackflyer

Re : [Résolu] GRUB n'a pas pu être installé sur /dev/sda

Merci beaucoup, ça marche ! :-)
Pour info, il n'y avait pas "Supprimer Ubuntu XX.XX et réinstaller" donc j'ai réécrit sur la partition en la formatant.
Je n'ai pas trop compris pourquoi il était parti en uefi vu que mon système n'a pas l'air de le supporter.

Hors ligne

#4 Le 07/07/2018, à 18:50

malbo

Re : [Résolu] GRUB n'a pas pu être installé sur /dev/sda

jackflyer a écrit :

Je n'ai pas trop compris pourquoi il était parti en uefi

L'install s'est faite en mode UEFI parce que la LiveUSB avait démarré en mode UEFI. Comme tu ne connaissais pas l'importance de maîtriser le mode de démarrage, tu as laissé filer le truc mais c'était à toi d'imposer le mode non-EFI.

Si ton pb est résolu, je te prie de procéder comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :

[Résolu] GRUB n'a pas pu être installé sur /dev/sda

Dernière modification par malbo (Le 07/07/2018, à 18:52)

Hors ligne