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 20/08/2015, à 07:56

Graselsukr

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour,

Maxire, voilà ce que j'obtiens avec les commandes tapées dans le Grub:

grub>insmod part_gpt
grub>ls

(hd0,apple2) (hd0,apple1) (hd1) (hd2) (hd3) (hd3;gpt5) (hd3,gpt4) (hd3,gpt3) (hd4,gpt2) (hd4;gpt1) error: failure readind sector 0xfc from `hd2'.
error: failure reading sector 0xe0 from `hd2'
error: failure reading sector 0x0 from `hd2'

grub>echo $root

hd4,gpt1

grub>echo $prefix

(hd4,gpt1)/boot/grub

Je signale qu'avant de taper ces commandes, dans le BIOS je me suis repositionné sur le fichier "grubX64" au lieu du "shimX64" car en démarrant le PC il a booté directement sur Windows alors que je m'étais positionné sur Mint. En plus alors que j'avais désactivé le "secure boot" et pris soin d'enregistrer les modifications, j'ai constaté que le "secure boot" s'est repositionné sur [ENABLE] sans intervention de ma part.

Bizarre. Peut-être parce que je n'avais pas fait un "sudo update-grub".

Hors ligne

#27 Le 20/08/2015, à 11:42

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour,

Ah que voici un curieux résultat;

hd0 ---> sans doute le lecteur de dvd
hd1 ---> Disque inconnu
hd2 ---> Disque inconnu, erreur de lecture (?)
hd3 ---> /dev/sda du boot-info, le disque windows mais les 2 partitions (hd3,gpt1)=/dev/sda1 (partition ESP) et (hd3,gpt2)=/dev/sda2 (partition Windows recovery) ne sont pas vues
hd4 ---> /dev/sdb du boot-info, le disque Ubuntu mais i(hd4,gpt3)=/dev/sdb3 la swap n'est pas vue

Es-tu certain d'avoir reporté correctement le résultat de la commande ls?
Parce que si l'accès de Grub à la partition ESP est impossible je ne peux pas faire grand chose.

hd1 et hd2, je ne comprends pas trop ce que c'est, sans doute des périphériques au sens uefi (Shell efi ou autre chose), pour l'instant pas utile.

J'aurais presque envie de te conseiller de laisser Grub et de le remplacer par refind qui peut être installé indépendamment de Ubuntu.

Boot-info:

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    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

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda4: __________________________________________________________________________

    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 /Windows/System32/winload.exe

sda5: __________________________________________________________________________

    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:        

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 17.2 Rafaela 
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       206,847       204,800 EFI System partition
/dev/sda2         206,848     2,050,047     1,843,200 Windows Recovery Environment (Windows)
/dev/sda3       2,050,048     2,312,191       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       2,312,192   783,718,399   781,406,208 Data partition (Windows/Linux)
/dev/sda5   1,911,560,192 1,953,523,711    41,963,520 Windows Recovery Environment (Windows)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048   156,250,111   156,248,064 Data partition (Linux)
/dev/sdb2     156,250,112   312,500,223   156,250,112 Data partition (Linux)
/dev/sdb3     312,500,224   328,124,415    15,624,192 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/mmcblk0p1   9898-C8FD                              vfat       
/dev/sda1        3EE9-A2CF                              vfat       SYSTEM
/dev/sda2        2C86A24086A20B02                       ntfs       Recovery
/dev/sda4        B4F0A56AF0A53390                       ntfs       OS
/dev/sda5        00A8A868A8A85DC2                       ntfs       Restore
/dev/sdb1        dc202a70-468c-4b7d-8ef8-6307ab309899   ext4       
/dev/sdb2        1d7d1bf9-45c4-45ba-b6a3-0f3f1bed02d5   ext4       
/dev/sdb3        fa7c555b-368a-4155-b488-e8f1371d0e96   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Aug 18 12:13 ata-HGST_HTS721010A9E630_JR10006P1H2GTE -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 11:00 ata-HGST_HTS721010A9E630_JR10006P1H2GTE-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 18 12:15 ata-HGST_HTS721010A9E630_JR10006P1H2GTE-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 18 09:27 ata-HGST_HTS721010A9E630_JR10006P1H2GTE-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 18 12:15 ata-HGST_HTS721010A9E630_JR10006P1H2GTE-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 18 12:15 ata-HGST_HTS721010A9E630_JR10006P1H2GTE-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Aug 18 12:13 ata-HGST_HTS721010A9E630_JR10006P1HAP5E -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 18 09:27 ata-HGST_HTS721010A9E630_JR10006P1HAP5E-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 18 09:27 ata-HGST_HTS721010A9E630_JR10006P1HAP5E-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 18 09:27 ata-HGST_HTS721010A9E630_JR10006P1HAP5E-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Aug 18 09:27 ata-PIONEER_BD-ROM_BDCUD03AS -> ../../sr0
lrwxrwxrwx 1 root root 13 Aug 18 12:13 mmc-NCard_0x096004c3 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Aug 18 11:00 mmc-NCard_0x096004c3-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root  9 Aug 18 09:27 usb-ALCATEL_Mass_Storage_1234567890ABCDEF-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Aug 18 12:13 wwn-0x5000cca7dcd4f25e -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 11:00 wwn-0x5000cca7dcd4f25e-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 18 12:15 wwn-0x5000cca7dcd4f25e-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 18 09:27 wwn-0x5000cca7dcd4f25e-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 18 12:15 wwn-0x5000cca7dcd4f25e-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 18 12:15 wwn-0x5000cca7dcd4f25e-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Aug 18 12:13 wwn-0x5000cca7dcd5112c -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 18 09:27 wwn-0x5000cca7dcd5112c-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 18 09:27 wwn-0x5000cca7dcd5112c-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 18 09:27 wwn-0x5000cca7dcd5112c-part3 -> ../../sdb3

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

Device           Mount_Point              Type       Options

/dev/mmcblk0p1   /media/lolo/9898-C8FD    vfat       (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sda1        /boot/efi                vfat       (rw)
/dev/sdb1        /                        ext4       (rw,errors=remount-ro)
/dev/sdb2        /home                    ext4       (rw)


=========================== sdb1/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_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  dc202a70-468c-4b7d-8ef8-6307ab309899
else
  search --no-floppy --fs-uuid --set=root dc202a70-468c-4b7d-8ef8-6307ab309899
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=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	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 'Linux Mint 17.2 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-dc202a70-468c-4b7d-8ef8-6307ab309899' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  dc202a70-468c-4b7d-8ef8-6307ab309899
	else
	  search --no-floppy --fs-uuid --set=root dc202a70-468c-4b7d-8ef8-6307ab309899
	fi
	linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=dc202a70-468c-4b7d-8ef8-6307ab309899 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-38-generic
}
submenu 'Options avancées pour Linux Mint 17.2 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-dc202a70-468c-4b7d-8ef8-6307ab309899' {
	menuentry 'Linux Mint 17.2 Cinnamon 64-bit, avec Linux 3.16.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-38-generic-advanced-dc202a70-468c-4b7d-8ef8-6307ab309899' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  dc202a70-468c-4b7d-8ef8-6307ab309899
		else
		  search --no-floppy --fs-uuid --set=root dc202a70-468c-4b7d-8ef8-6307ab309899
		fi
		echo	'Chargement de Linux 3.16.0-38-generic…'
		linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=dc202a70-468c-4b7d-8ef8-6307ab309899 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-38-generic
	}
	menuentry 'Linux Mint 17.2 Cinnamon 64-bit, with Linux 3.16.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-38-generic-recovery-dc202a70-468c-4b7d-8ef8-6307ab309899' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  dc202a70-468c-4b7d-8ef8-6307ab309899
		else
		  search --no-floppy --fs-uuid --set=root dc202a70-468c-4b7d-8ef8-6307ab309899
		fi
		echo	'Chargement de Linux 3.16.0-38-generic…'
		linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=dc202a70-468c-4b7d-8ef8-6307ab309899 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-38-generic
	}
}

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

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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.
menuentry "Windows 8" {
	insmod chain
	insmod ntfs
	set root='hd0,msdos1'
	chainloader +1
}
menuentry "Windows 8" {
	insmod chain
	insmod ntfs
	set root='hd0,msdos1'
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb1/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/sdb1 during installation
UUID=dc202a70-468c-4b7d-8ef8-6307ab309899 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=3EE9-A2CF  /boot/efi       vfat    defaults        0       1
# /home was on /dev/sdb2 during installation
UUID=1d7d1bf9-45c4-45ba-b6a3-0f3f1bed02d5 /home           ext4    defaults        0       2
# swap was on /dev/sdb3 during installation
UUID=fa7c555b-368a-4155-b488-e8f1371d0e96 none            swap    sw              0       0
--------------------------------------------------------------------------------

========= Devices which don't seem to have a corresponding hard drive: =========

sdc 

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

File descriptor 9 (/proc/17498/mounts) leaked on lvs invocation. Parent PID 29849: bash
File descriptor 63 (pipe:[45973]) leaked on lvs invocation. Parent PID 29849: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-info 2015-08-18__12h13 ===================
boot-info version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version :
File descriptor 9 (/proc/17498/mounts) leaked on lvs invocation. Parent PID 19106: /bin/sh
No volume groups found
boot-info is executed in installed-session (Linux Mint 17.2 Rafaela, rafaela, LinuxMint, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic root=UUID=dc202a70-468c-4b7d-8ef8-6307ab309899 ro quiet splash

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sdb1:L'OS actuellement utilisé - Linux Mint 17.2 Rafaela CurrentSession:linux

=================== blkid:
/dev/sda2: LABEL="Recovery" UUID="2C86A24086A20B02" TYPE="ntfs"
/dev/sda4: LABEL="OS" UUID="B4F0A56AF0A53390" TYPE="ntfs"
/dev/sda5: LABEL="Restore" UUID="00A8A868A8A85DC2" TYPE="ntfs"
/dev/sda1: LABEL="SYSTEM" UUID="3EE9-A2CF" TYPE="vfat"
/dev/sdb1: UUID="dc202a70-468c-4b7d-8ef8-6307ab309899" TYPE="ext4"
/dev/sdb2: UUID="1d7d1bf9-45c4-45ba-b6a3-0f3f1bed02d5" TYPE="ext4"
/dev/sdb3: UUID="fa7c555b-368a-4155-b488-e8f1371d0e96" TYPE="swap"
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="9898-C8FD" TYPE="vfat"


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

Windows not detected by os-prober on sda4.

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdb ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 août  18 09:27 grub.d
total 92
-rwxr-xr-x 1 root root  9424 juin  26 22:16 00_header
-rwxr-xr-x 1 root root  6058 mai   14 01:51 05_debian_theme
-rwxr-xr-x 1 root root  1180 oct.  25  2014 06_mint_theme
-rwxr-xr-x 1 root root 11620 août  18 09:27 10_linux
-rwxr-xr-x 1 root root 10634 oct.   2  2012 10_lupin
-rwxr-xr-x 1 root root 10412 mai   14 05:33 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai   14 05:33 30_os-prober
-rwxr-xr-x 1 root root  1416 mai   14 05:33 30_uefi-firmware
-rwxr-xr-x 1 root root   398 août  17 22:46 40_custom
-rwxr-xr-x 1 root root   216 mai   14 05:33 41_custom
-rw-r--r-- 1 root root   483 mai   14 05:33 README


=================== /etc/grub.d/40_custom :
menuentry "Windows 8" {
insmod chain
insmod ntfs
set root='hd0,msdos1'
chainloader +1
}
menuentry "Windows 8" {
insmod chain
insmod ntfs
set root='hd0,msdos1'
chainloader +1
}




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

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

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

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

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

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

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

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

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



/boot/efi detected in the fstab of sdb1: UUID=3EE9-A2CF   (sda1)
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002
Boot0000* Windows Boot Manager	HD(1,800,32000,da9fe037-d612-42fa-90f4-e4e0694667b4)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* ubuntu	HD(1,800,32000,da9fe037-d612-42fa-90f4-e4e0694667b4)File(EFIubuntushimx64.efi)
Boot0002* ubuntu	HD(1,800,32000,da9fe037-d612-42fa-90f4-e4e0694667b4)File(EFIUbuntugrubx64.efi)

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.


=================== PARTITIONS & DISKS:
sdb1	: sdb,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	.
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,	recovery-or-hidden,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: 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,	/mnt/boot-sav/sda4.
sda5	: 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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda5.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/boot/efi.
sdb2	: sdb,	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,	/home.
mmcblk0p1	: mmcblk0,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/media/lolo/9898-C8FD.

sdb	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	has-os,	2048 sectors * 512 bytes
mmcblk0	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	no-os,	137 sectors * 512 bytes


=================== parted -l:

Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name                          Flags
1      1049kB  106MB   105MB   fat32        EFI system partition          boot
2      106MB   1050MB  944MB   ntfs         Basic data partition          hidden, diag
3      1050MB  1184MB  134MB                Microsoft reserved partition  msftres
4      1184MB  401GB   400GB   ntfs         Basic data partition          msftdata
5      979GB   1000GB  21.5GB  ntfs         Basic data partition          hidden, diag


Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
1      1049kB  80.0GB  80.0GB  ext4
2      80.0GB  160GB   80.0GB  ext4
3      160GB   168GB   8000MB  linux-swap(v1)


Model: SD NCard (sd/mmc)
Disk /dev/mmcblk0: 1966MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      70.1kB  1966MB  1966MB  primary  fat16

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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot;
2:106MB:1050MB:944MB:ntfs:Basic data partition:hidden, diag;
3:1050MB:1184MB:134MB::Microsoft reserved partition:msftres;
4:1184MB:401GB:400GB:ntfs:Basic data partition:msftdata;
5:979GB:1000GB:21.5GB:ntfs:Basic data partition:hidden, diag;

BYT;
/dev/sdb:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9;
1:1049kB:80.0GB:80.0GB:ext4::;
2:80.0GB:160GB:80.0GB:ext4::;
3:160GB:168GB:8000MB:linux-swap(v1)::;

BYT;
/dev/mmcblk0:1966MB:sd/mmc:512:512:msdos:SD NCard;
1:70.1kB:1966MB:1966MB:fat16::;

=================== lsblk:
KNAME     TYPE FSTYPE   SIZE LABEL    MODEL    UUID
sda       disk        931,5G          HGST HTS
sda1      part vfat     100M SYSTEM            3EE9-A2CF
sda2      part ntfs     900M Recovery          2C86A24086A20B02
sda3      part          128M
sda4      part ntfs   372,6G OS                B4F0A56AF0A53390
sda5      part ntfs      20G Restore           00A8A868A8A85DC2
sdb       disk        931,5G          HGST HTS
sdb1      part ext4    74,5G                   dc202a70-468c-4b7d-8ef8-6307ab309899
sdb2      part ext4    74,5G                   1d7d1bf9-45c4-45ba-b6a3-0f3f1bed02d5
sdb3      part swap     7,5G                   fa7c555b-368a-4155-b488-e8f1371d0e96
sr0       rom          1024M          BD-ROM B
mmcblk0   disk          1,9G
mmcblk0p1 part vfat     1,9G                   9898-C8FD

KNAME     ROTA RO RM STATE   MOUNTPOINT
sda          1  0  0 running
sda1         1  0  0         /boot/efi
sda2         1  0  0         /mnt/boot-sav/sda2
sda3         1  0  0
sda4         1  0  0         /mnt/boot-sav/sda4
sda5         1  0  0         /mnt/boot-sav/sda5
sdb          1  0  0 running
sdb1         1  0  0         /
sdb2         1  0  0         /home
sdb3         1  0  0         [SWAP]
sr0          1  0  1 running
mmcblk0      0  0  0
mmcblk0p1    0  0  0         /media/lolo/9898-C8FD


=================== mount:
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda1 on /boot/efi type vfat (rw)
/dev/sdb2 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lolo)
/dev/mmcblk0p1 on /media/lolo/9898-C8FD type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/mmcblk0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight mmcblk0p1 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 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 holders inflight 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 holders inflight power queue range removable ro 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 holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet input kmsg kvm log mapper mcelog media0 mei mem mmcblk0 mmcblk0p1 net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sdb2 sdb3 sdc serial sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control
ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
ls sda2/efi:
ls sda2: AsDiskLayout.log
AsFac.log
AsPartition.ini
AsTCDProc_20150121132953.log
AsTCDProc_20150121144048.log
AsToolCDVer.txt
AsTool.state
Boot
bootmgr
bootmgr.efi
Copy-cp.INI
Copy-dl.INI
copy.ini
CSINFO.INI
DetectResult.ini
DiskpartScript.txt
EFI
en-us
FAC1_dism.log
FACLog
FREEDOS_V4.ini
GPTPart.ini
GreenDownLoad.ini
imgit-b.ini
imgit-cp.ini
imgit-rs.ini
linux_part.ini
Mazda.ini
MBSN.ini
ModuleName.ini
MonitorAgent.ini
OEM
Part.ini
PASS.txt
PORTMAP.INI
PQA.CMD
P_SPDConfig.ini
P_SPD.ini
Recovery
SKINFO.INI
Sources
SVINFO.INI
SWPackage.ini
System Volume Information
ToolDL.ini
ubt0802part.ini
USBHDD.log
VolumeCache.ini
WIN7SSD128.ini
win8gpt.ini  . Veuillez indiquer ce message à boot.repair@gmail.com
ls /boot/efi/efi : ASUS
Boot
Microsoft
ubuntu
Error efitmp. Veuillez indiquer ce message à boot.repair@gmail.com

=================== 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 1f 1c 00 00 00 00 00  |................|
00000030  00 2c 01 00 00 00 00 00  02 00 00 00 00 00 00 00  |.,..............|
00000040  f6 00 00 00 01 00 00 00  02 0b a2 86 40 a2 86 2c  |............@..,|
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/sda4
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 48 23 00  |........?....H#.|
00000020  00 00 00 00 80 00 80 00  ff 4f 93 2e 00 00 00 00  |.........O......|
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  90 33 a5 f0 6a a5 f0 b4  |.........3..j...|
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/sda5
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 18 f0 71  |........?......q|
00000020  00 00 00 00 80 00 80 00  ff 4f 80 02 00 00 00 00  |.........O......|
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  c2 5d a8 a8 68 a8 a8 00  |.........]..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 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/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 03 00 01 03 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 cf a2 e9 3e 4e  4f 20 4e 41 4d 45 20 20  |..)...>NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/mmcblk0p1
00000000  eb 3c 90 4d 53 44 4f 53  35 2e 30 00 02 40 02 00  |.<.MSDOS5.0..@..|
00000010  02 00 02 00 00 f8 eb 00  3f 00 ff 00 89 00 00 00  |........?.......|
00000020  77 97 3a 00 80 01 29 fd  c8 98 98 4e 4f 20 4e 41  |w.:...)....NO NA|
00000030  4d 45 20 20 20 20 46 41  54 31 36 20 20 20 33 c9  |ME    FAT16   3.|
00000040  8e d1 bc f0 7b 8e d9 b8  00 20 8e c0 fc bd 00 7c  |....{.... .....||
00000050  38 4e 24 7d 24 8b c1 99  e8 3c 01 72 1c 83 eb 3a  |8N$}$....<.r...:|
00000060  66 a1 1c 7c 26 66 3b 07  26 8a 57 fc 75 06 80 ca  |f..|&f;.&.W.u...|
00000070  02 88 56 02 80 c3 10 73  eb 33 c9 8a 46 10 98 f7  |..V....s.3..F...|
00000080  66 16 03 46 1c 13 56 1e  03 46 0e 13 d1 8b 76 11  |f..F..V..F....v.|
00000090  60 89 46 fc 89 56 fe b8  20 00 f7 e6 8b 5e 0b 03  |`.F..V.. ....^..|
000000a0  c3 48 f7 f3 01 46 fc 11  4e fe 61 bf 00 00 e8 e6  |.H...F..N.a.....|
000000b0  00 72 39 26 38 2d 74 17  60 b1 0b be a1 7d f3 a6  |.r9&8-t.`....}..|
000000c0  61 74 32 4e 74 09 83 c7  20 3b fb 72 e6 eb dc a0  |at2Nt... ;.r....|
000000d0  fb 7d b4 7d 8b f0 ac 98  40 74 0c 48 74 13 b4 0e  |.}.}....@t.Ht...|
000000e0  bb 07 00 cd 10 eb ef a0  fd 7d eb e6 a0 fc 7d eb  |.........}....}.|
000000f0  e1 cd 16 cd 19 26 8b 55  1a 52 b0 01 bb 00 00 e8  |.....&.U.R......|
00000100  3b 00 72 e8 5b 8a 56 24  be 0b 7c 8b fc c7 46 f0  |;.r.[.V$..|...F.|
00000110  3d 7d c7 46 f4 29 7d 8c  d9 89 4e f2 89 4e f6 c6  |=}.F.)}...N..N..|
00000120  06 96 7d cb ea 03 00 00  20 0f b6 c8 66 8b 46 f8  |..}..... ...f.F.|
00000130  66 03 46 1c 66 8b d0 66  c1 ea 10 eb 5e 0f b6 c8  |f.F.f..f....^...|
00000140  4a 4a 8a 46 0d 32 e4 f7  e2 03 46 fc 13 56 fe eb  |JJ.F.2....F..V..|
00000150  4a 52 50 06 53 6a 01 6a  10 91 8b 46 18 96 92 33  |JRP.Sj.j...F...3|
00000160  d2 f7 f6 91 f7 f6 42 87  ca f7 76 1a 8a f2 8a e8  |......B...v.....|
00000170  c0 cc 02 0a cc b8 01 02  80 7e 02 0e 75 04 b4 42  |.........~..u..B|
00000180  8b f4 8a 56 24 cd 13 61  61 72 0b 40 75 01 42 03  |...V$..aar.@u.B.|
00000190  5e 0b 49 75 06 f8 c3 41  bb 00 00 60 66 6a 00 eb  |^.Iu...A...`fj..|
000001a0  b0 42 4f 4f 54 4d 47 52  20 20 20 20 0d 0a 52 65  |.BOOTMGR    ..Re|
000001b0  74 69 72 65 7a 20 6c 65  20 64 69 73 71 75 65 ff  |tirez le disque.|
000001c0  0d 0a 45 72 72 2e 20 64  69 73 71 75 65 ff 0d 0a  |..Err. disque...|
000001d0  50 72 65 73 73 65 7a 20  75 6e 65 20 74 6f 75 63  |Pressez une touc|
000001e0  68 65 20 70 6f 75 72 20  72 65 64 82 6d 61 72 72  |he pour red.marr|
000001f0  65 72 0d 0a 00 00 00 00  00 00 00 ac c0 ce 55 aa  |er............U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sdb1      ext4       74G  4.8G   65G   7% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     787M  1.6M  786M   1% /run
none           tmpfs     5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs     3.9G  720K  3.9G   1% /run/shm
none           tmpfs     100M   24K  100M   1% /run/user
/dev/sda1      vfat       96M   29M   68M  31% /boot/efi
/dev/sdb2      ext4       74G  116M   70G   1% /home
/dev/mmcblk0p1 vfat      1.9G  501M  1.4G  27% /media/lolo/9898-C8FD
/dev/sda2      fuseblk   900M  313M  588M  35% /mnt/boot-sav/sda2
/dev/sda4      fuseblk   373G   33G  340G   9% /mnt/boot-sav/sda4
/dev/sda5      fuseblk    21G   13G  7.6G  63% /mnt/boot-sav/sda5

=================== fdisk -l:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0xbc824deb

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x62f5e29f

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mmcblk0: 1966 MB, 1966080000 bytes
25 heads, 24 sectors/track, 6400 cylinders, total 3840000 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 identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1             137     3839999     1919931+   6  FAT16




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdb1, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Advice in case of suggested repair
Veuillez désactiver SecureBoot dans le BIOS. Puis réessayez.Voulez-vous continuer ?


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

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


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




pastebinit  packages needed
debconf: Impossible d'initialiser l'interface : Dialog
debconf: (L'interface dialog ne fonctionnera pas avec un terminal rustique (« dumb »), un tampon shell d'Emacs ou sans terminal de contrôle.)
debconf: Utilisation de l'interface Readline en remplacement
debconf: Impossible d'initialiser l'interface : Readline
debconf: (Cette interface a besoin d'un terminal de contrôle.)
debconf: Utilisation de l'interface Teletype en remplacement
dpkg-preconfigure: impossible de réouvrir stdin :


© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

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

Hors ligne

#28 Le 20/08/2015, à 11:57

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Graselsukr, comme tu m'as l'air assez à l'aise en informatique (tu as réussi à trouver comment fonctionne os-prober) je te passe toutes les informations nécessaires à l'installation de refind ainsi qu'à son utilisation: Refind by Roderick W. Smith

À mon avis Refind est bien plus puissant que Grub pour démarrer en mode UEFI.


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

Hors ligne

#29 Le 20/08/2015, à 13:09

Graselsukr

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour,

Maxire, mes excuses. Suite à ton avant dernier message j'ai repris la manip dans le console Grub. La première fois j'ai dû peut-être commettre une erreur. J'ai pris soin de retirer la carte sd et les seuls périphériques présents sur les port USB sont une souris & une clé USB 3G.

Donc je recommence:

Grub>insmod part_gpt

(hd0) (hd1) (hd2) (hd2, gpt5) (hd2,gpt4) (hd2,gpt3) (hd2,gpt2) (hd2,gpt1) (hd3) (hd3,gpt3) (hd3,gpt2) (hd3,gpt1) error: failure reading sector 0xfc from `hd1'.
error: failure reading sector 0xe0 from `hd1'
error: failure reading sector 0x0 from `hd1'

grub>echo $root
hd3,gpt1

grub>echo $prefix
(hd3,gpt1)/boot/grub

Voilà. Sinon j'ai encore fait des recherches sur la question sans rien trouver. De tout ce que j'ai lu il semblerait que ce problème se pose surtout avec Windows 8.

Quant à refind je ne connaîs pas, mais si jamais les problèmes avec le Grub persistent alors pourquoi pas en changer. Moi à l'aise en informatique, je ne sais pas. En tout cas je me sens plus à l'aise sous Linux que sous Windows.

Hors ligne

#30 Le 20/08/2015, à 15:05

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Donc c'est bien une erreur de transcription, ce que tu peux faire toujours en mode commandes Grub:

grub> insmod part_gpt
grub> insmod fat 
grub> search --fs-uuid 3EE9-A2CF --set=root

Normalement la variable root devrait être positionnée à (hd2,gpt1) si tu es dans la même configuration que celle citée en message #29:

grub> echo $root
(hd2,gpt1)

Ensuite:

grub> chainloader /EFI/Microsoft/Boot/bootmgfw.efi
grub> boot

Si Windows démarre tu pourras ensuite modifier sous Ubuntu /etc/grub/40_custom comme ceci:

menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-3EE9-A2CF' {
	insmod part_gpt
	insmod fat
	set root='hd2,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt1 --hint-efi=hd2,gpt1 --hint-baremetal=ahci2,gpt1  3EE9-A2CF
	else
	  search --no-floppy --fs-uuid --set=root 3EE9-A2CF
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Et un update-grub.


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

Hors ligne

#31 Le 21/08/2015, à 03:27

Graselsukr

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour,

Maxire, je viens de tester ta méthode et enfin ça marche. Merci énormément, tu es un génie. Dire que je me suis pris la tête avec cette M... de Grub durant une semaine. Encore merci. Désormais j'ai une entrée Windows au démarrage sur laquelle je peux booter sans passer par des méthodes indirectes.

Suite à ça j'ai tenté un "sudo os-prober" qui me renvoyait toujours le même message, à savoir "No volume groups found" alors que l'accès à Windows est possible. Comme tu le disais il semblerait que ce programme comporte un bug.

Pour voir je l'ai réinstallé via Synaptic puis je l'ai à nouveau exécuté et voici ce que ça donne:

sudo os-prober

No volume groups found
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

Puis:

sudo update-grub

Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.16.0-38-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.16.0-38-generic
  No volume groups found
Windows Boot Manager trouvé sur /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
fait

Je me demande d'où sort ce "No volume groups found" mais bon, les voies d'os_prober sont impénétrables et l'essentiel est que ça marche, en espérant que ton travail puisse aider d'autres confrontés au même problème.

Je passerai ce sujet en [Résolu] dans quelques heures si jamais tu as des commentairess à rajouter entre-temps.

Encore merci pour ta contribution et au passage je n'oublie pas non plus de remercier Bougron pour la sienne si jamais il passe dans le coin.

Hors ligne

#32 Le 21/08/2015, à 10:32

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour,

Un seul commentaire, j'ai l'impression que os-prober fonctionne maintenant suite à sa réinstallation.
Tu peux mettre le fil en [Résolu].

Bonne continuation.


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

Hors ligne

#33 Le 21/08/2015, à 11:24

Bougron

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour
Et je continue de penser que le boot en EFI est un problème trop sérieux pour être confié à un grub quelque soit son fabricant, Il serait temps que certains (tous!) constructeurs de bios améliorent la façon d'afficher la liste des fichiers bootables pour qu'elle soit présentée par défaut.
En attendant, merci maxire pour avoir trouvé une autre "commande" GRUB plus efficace dans cette recherche de windows.

Ajout
Merci maxire pour Refind,  que je ne connais que de nom.
Vu la description que tu en fait, c'est probablement la même fonctionnalité qui est installée dans Supergrub2. Un boot sur support USB qui affiche une liste de tout ce qu'il trouve bootable un peu partout.

Dernière modification par Bougron (Le 21/08/2015, à 12:24)

Hors ligne

#34 Le 21/08/2015, à 11:45

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

@Bougron, j'aurais effectivement maintenant tendance à ne pas utiliser Grub pour démarrer en mode uefi mais plutôt Refind qui a l'avantage, une fois installé dans la partition ESP de permettre d'ajouter et de supprimer des partitions système sans se poser de question quant à l'intégrité du démarrage, pas de risque de perdre un menu comme avec grub puisqu'il n'en existe pas ou plutôt si un menu dynamique.


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

Hors ligne

#35 Le 21/08/2015, à 17:39

Bougron

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour
Après quelques recherches sans succès sur internet qui ont faillit m'expédier dans le mur avec des commandes manuelles d'installation,
je suis revenu au lien que tu as indiqué, encore quelques liens et j'ai trouvé le bon ppa que j'ai téléchargé, un clic sur le fichier et la logithèque a fait le boulot, elle a contrôlé que c'est un chargement correct.
Après je me suis dis:  Que dois-je faire avec les deux commandes indiquées mklconf.sh   et mvrefind
Pour la première, j'ai vite vu. Pour la seconde , je n'ai pas spécialement compris. Je me suis dis "Quoi faire maintenant??? la réponse est simple "Booter  pour découvrir" car ayant fait la commande "sudo update-grub", j'ai vu que ce logiciel n'était pas connu. mais pour la commande suivante que je poste c'est différent

usb14-04-3@usb14043:/boot/efi/EFI/refind$ ls -rtl
total 268
-rwxr-xr-x 1 root root 233032 août  21 16:44 refind_x64.efi
-rwxr-xr-x 1 root root  22947 août  21 16:44 refind.conf
drwxr-xr-x 2 root root   4096 août  21 16:44 keys
drwxr-xr-x 2 root root   8192 août  21 16:44 icons
drwxr-xr-x 2 root root   4096 août  21 16:44 drivers_x64
usb14-04-3@usb14043:/boot/efi/EFI/refind$ sudo efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0008,2001,0000,0002,0001,0006,0009,0007,2003,2002
Boot0000* ubuntu	HD(2,96800,32000,de40e452-2c7c-4617-9b15-15b7ddf168d0)File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu	HD(2,96800,32000,de40e452-2c7c-4617-9b15-15b7ddf168d0)File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* EFI HDD Device (TOSHIBA MQ01ABD100)	ACPI(a0341d0,0)PCI(1f,2)03120a00000000000000HD(13,735d1800,1135000,75fb9d05-9b88-494b-82f8-abd0d5fbf8f8)RC
Boot0003* EFI USB Device (WD      Elements 1023)	ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(0,0)HD(1,800,ff800,939de71b-766d-4050-9ee4-b868d3e3e668)RC
Boot0004* EFI Network 0 for IPv6 (08-9E-01-B7-1C-5D) 	ACPI(a0341d0,0)PCI(1c,3)PCI(0,0)MAC(089e01b71c5d,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000RC
Boot0005* EFI Network 0 for IPv4 (08-9E-01-B7-1C-5D) 	ACPI(a0341d0,0)PCI(1c,3)PCI(0,0)MAC(089e01b71c5d,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0RC
Boot0006* Ubuntu	HD(a,14108800,3f40000,fcfadc16-94ac-43d9-8998-0de8fc2175bd)File(\EFI\ubuntu\grubx64.efi)RC
Boot0007* Windows Boot Manager	HD(2,96800,32000,de40e452-2c7c-4617-9b15-15b7ddf168d0)File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0008* rEFInd Boot Manager	HD(1,800,ff800,939de71b-766d-4050-9ee4-b868d3e3e668)File(\EFI\refind\refind_x64.efi)
Boot0009* Windows Boot Manager	HD(2,96800,32000,de40e452-2c7c-4617-9b15-15b7ddf168d0)File(\EFI\ubuntu\shimx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC
usb14-04-3@usb14043:/boot/efi/EFI/refind$

En fait je n'en reviens pas d'avoir réussi à booter, J'ai eu une collection d'icônes  au lieu d'avoir ces lignes. et 15 secondes pour choisir.
Et pas le temps de faire une photo.    Puis je me suis retrouvé dans la séquence de sélection de  windows (il y en a 4) . . J'en ai lancé un. je l'ai stoppé,
Puis j'ai booté, mais ce n'est pas rEFInd  qui a booté mais ubuntu. J'ai constaté que rEFInd a été viré par le bios de la liste.
Ce qui me semble  totalement normal. Je pense que si le premier a eu lieu c'est que tout était en mémoire.
Pour info, rEFInd s'est  installé comme un imbécile en début de disque. Mais mon micro est EFI, Il eu été sage qu'il s'installe dans une partition EFI
Ou plus sérieusement dans un espace libre en créant une partition EFI personnelle, Il ne l'a pas fait. Temps pis pour lui....
Comme je suis revenu dans  ubuntu, j'ai pu regarder la structure de la partition  qui a été crée pour une taille de 16 Mo..

usb14-04-3@usb14043:~$ sudo mount -v /dev/sda1 /mnt
mount : vous n'avez pas indiqué le type de système de fichiers de /dev/sda1
       Je vais essayer tous les types mentionnés dans /etc/filesystems ou /proc/filesystems
Tentative de ext3
Tentative de ext2
Tentative de ext4
Tentative de vfat
Tentative de fuseblk
Tentative de btrfs
mount : vous devez indiquer le type de système de fichiers
usb14-04-3@usb14043:~$ 

Dernière modification par Bougron (Le 21/08/2015, à 18:17)

Hors ligne

#36 Le 21/08/2015, à 19:42

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

@Bougron, je ne comprends pas très bien comment tu t'es débrouillé, normalement Refind s'installe bien dans la partition ESP.
Personnellement j'ai toujours installé Refind manuellement en copiant toute son arborescence  dans la partition ESP sous EFI/refind puis en créant une entrée de démarrage avec efibootmgr.
Je ne sais même pas ce que font les deux commandes que tu as exécuté.

Supprimes tout ce que tu as fait et inspires-toi plutôt de cette méthode Installation manuelle Refind, elle a l'avantage de t'obliger à comprendre ce qu tu fais plutôt que de lancer passivement des scripts.

Dans un second temps, tu te retrouves effectivement avec des icônes de lancement en surnombre, il me semble qu'il est possible de les enlever et de ne conserver que ceux réellement utiles.

update-grub, non Grub n'a aucune raison de lancer refind et os-prober ne saiy pas le reconnaître.

Dernière modification par maxire (Le 21/08/2015, à 19:45)


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

Hors ligne

#37 Le 21/08/2015, à 20:09

Bougron

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Je pense que c'est parce que le début de mon disque qui de façon standard avait
    une partition SDA1
     une partion MSR
    La partition FAT32  en SDA2
a été modifié par moi, pour supprimer  les deux premières partitions et que je n'ai encore pris le temps de décaler SDA2 vers le début du disque

Lorsque je  disais que c'est le boulot  du bios de s'occuper de cela.!!!!!!

En plus, il joue au coucou en se faisant passer pour microsoft!

Hors ligne

#38 Le 21/08/2015, à 21:03

maxire

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Franchement je ne comprends pas pourquoi tu as utilisé ces 2 commandes, il est pourtant bien spécifié dans le mode d'emploi que après avoir installé le paquet debian il faut ou bien utiliser le script install.sh ou procéder manuellement.

Voilà ce que j'obtiens pour démarrer Archlinux, le manchot n'est pas opérationnel (sans doute une configuration à réaliser, le A de Archlinux l'est sans paramétrage particulier car construit à partir de l'analyse de grub.cfg.
mini_254540CapturewaylandVMwarePlayerNoncommercialuseonly.png

Je vois tout de même que tu as poussé très loin le multiboot, 19 partitions, c'est normal que tu te retrouves avec plein d'icônes.

Edit: Corrections Grosses bêtises, en fait ce que je voulais surtout dire est qu'il vaut mieux installer Refind manuellement.

Dernière modification par maxire (Le 29/08/2015, à 11:55)


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

Hors ligne

#39 Le 21/08/2015, à 23:33

Bougron

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonsoir
Si tu le veux bien, je reprendrais à mon retour de vacances dans 8 jours en créant une nouvelle discussion en décrivant pas à pas ce que j'ai fait.
Quant aux commande que j'ai exécutées c'était simplement
  mvrefind.sh --help et  mklconf.sh  --help   car sans le .sh j'avais commande non connue!!!
et je me suis fais injurier car je n'étais pas root!!
pour moi, c'est le script exécuté par la logithèque qui a fait la chose...., (jusqu'à preuve du contraire).   
Mais avoir 5 icônes qui représentent  une partition FAT 32 ou cinq lignes  qui disent de booter  sur la partition 2 ou 36 ou 53 ou 99 ou 127 c'est quif-quif
(il faut se souvenir de ce qu'il y a dedans!) De plus mon partitionnement n'est pas très classique.*

PS; Je suis désolé d'avoir utilisé la logithèque. Mais si je recommence cela sera de cette façon.

Dernière modification par Bougron (Le 21/08/2015, à 23:37)

Hors ligne

#40 Le 29/08/2015, à 11:13

Bougron

Re : [Résolu] Comment rajouter entrée Windows 8.1 manquante dans Grub ?

Bonjour.
En reprenant depuis le début les recherches internet, j'ai trouvé que la page  que j'avais utilisé
https://launchpad.net/~rodsmith/+archive/ubuntu/refind
qui n'avait fait obtenir cette page.
https://launchpad.net/~rodsmith/+archiv … ter=trusty.
était certainement la cause du problème.
pourtant le fichier retenu datait du 26 juillet 2015 https://launchpad.net/~rodsmith/+archiv … _amd64.deb
Je n'avais pas trop fait attention  au mot archive!!!!

J'ai maintenant refais  avec succès d'une autre manière.
http://forum.ubuntu-fr.org/viewtopic.ph … #p20488501

Dernière modification par Bougron (Le 29/08/2015, à 11:15)

Hors ligne