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 05/03/2018, à 22:26

michcauch

[Résolu] Grub ne trouve plus windows 7

Bonsoir,
Je viens de m'en rendre compte incidemment, windows 7 n'apparaît plus dans la liste des OS installés sur mon PC Lenovo Thinkpad Edge 320.
Pour info :

michel@michel-ThinkPad-Edge-E320:~$ uname -a
Linux michel-ThinkPad-Edge-E320 4.4.0-116-generic #140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
michel@michel-ThinkPad-Edge-E320:~$ sudo os-prober
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain
michel@michel-ThinkPad-Edge-E320:~$ sudo update-grub
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-4.4.0-116-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-116-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-112-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-112-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait

Que faire ? Merci d'avance.

Dernière modification par michcauch (Le 06/03/2018, à 15:42)


Cordialement
Michel
___
Ubuntu 22.04 sur Clevo N141WU

Hors ligne

#2 Le 05/03/2018, à 22:40

michcauch

Re : [Résolu] Grub ne trouve plus windows 7

Mon boot-info est ici


Cordialement
Michel
___
Ubuntu 22.04 sur Clevo N141WU

Hors ligne

#3 Le 06/03/2018, à 12:35

lucmars

Re : [Résolu] Grub ne trouve plus windows 7

Tu veux dire qu'il apparaissait avant ?


Gaulois Matter !

Hors ligne

#4 Le 06/03/2018, à 12:56

malbo

Re : [Résolu] Grub ne trouve plus windows 7

Ton Boot-Info est là :

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


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

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

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:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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    *          2,048     3,074,047     3,072,000   7 NTFS / exFAT / HPFS
/dev/sda2           3,074,048   101,587,475    98,513,428   7 NTFS / exFAT / HPFS
/dev/sda3         592,371,712   625,139,711    32,768,000   7 NTFS / exFAT / HPFS
/dev/sda4         101,588,990   592,371,711   490,782,722   5 Extended
/dev/sda5         473,010,176   584,158,613   111,148,438  83 Linux
/dev/sda6         584,161,280   592,371,711     8,210,432  82 Linux swap / Solaris
/dev/sda7         101,588,992   473,010,175   371,421,184  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        00C6C7D5C6C7C95C                       ntfs       SYSTEM_DRV
/dev/sda2        D026CC2026CC0984                       ntfs       Windows7_OS
/dev/sda3        A804D1CA04D19C1E                       ntfs       Lenovo_Recovery
/dev/sda5        ef48498e-8e1d-4bd4-8c71-5a87f474c3a5   ext4       
/dev/sda6        a1f67ac9-923f-4818-9024-5ab8a9876429   swap       
/dev/sda7        a9eedba6-1557-4a7a-bab0-74fca004fa51   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Mar  5 21:38 ata-ST320LT007-9ZV142_W0Q7B9XT -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  5 21:39 ata-ST320LT007-9ZV142_W0Q7B9XT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  5 21:39 ata-ST320LT007-9ZV142_W0Q7B9XT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  5 21:39 ata-ST320LT007-9ZV142_W0Q7B9XT-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  5 20:44 ata-ST320LT007-9ZV142_W0Q7B9XT-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar  5 20:44 ata-ST320LT007-9ZV142_W0Q7B9XT-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  5 20:44 ata-ST320LT007-9ZV142_W0Q7B9XT-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  5 20:44 ata-ST320LT007-9ZV142_W0Q7B9XT-part7 -> ../../sda7
lrwxrwxrwx 1 root root  9 Mar  5 21:38 wwn-0x5000c5005ce39822 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  5 21:39 wwn-0x5000c5005ce39822-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  5 21:39 wwn-0x5000c5005ce39822-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  5 21:39 wwn-0x5000c5005ce39822-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  5 20:44 wwn-0x5000c5005ce39822-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar  5 20:44 wwn-0x5000c5005ce39822-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  5 20:44 wwn-0x5000c5005ce39822-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  5 20:44 wwn-0x5000c5005ce39822-part7 -> ../../sda7

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

Device           Mount_Point              Type       Options

/dev/sda5        /                        ext4       (rw,errors=remount-ro)
/dev/sda7        /home                    ext4       (rw)


=========================== sda5/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
else
  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	else
	  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	fi
	linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro noprompt quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-116-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
	menuentry 'Ubuntu, avec Linux 4.4.0-116-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-116-generic-advanced-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		else
		  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		fi
		echo	'Chargement de Linux 4.4.0-116-generic…'
		linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro noprompt quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-116-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-116-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-116-generic-recovery-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		else
		  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		fi
		echo	'Chargement de Linux 4.4.0-116-generic…'
		linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro recovery nomodeset noprompt
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-116-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-112-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-advanced-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		else
		  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		fi
		echo	'Chargement de Linux 4.4.0-112-generic…'
		linux	/boot/vmlinuz-4.4.0-112-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro noprompt quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-112-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-112-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-recovery-ef48498e-8e1d-4bd4-8c71-5a87f474c3a5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		else
		  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
		fi
		echo	'Chargement de Linux 4.4.0-112-generic…'
		linux	/boot/vmlinuz-4.4.0-112-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro recovery nomodeset noprompt
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-112-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	else
	  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	else
	  search --no-floppy --fs-uuid --set=root ef48498e-8e1d-4bd4-8c71-5a87f474c3a5
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

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

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

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

=============================== 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=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=a9eedba6-1557-4a7a-bab0-74fca004fa51 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=a1f67ac9-923f-4818-9024-5ab8a9876429 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 273.703163147 = 293.886533632  boot/grub/grub.cfg                             1
 273.809852600 = 294.001090560  boot/grub/i386-pc/core.img                     1
 241.281921387 = 259.074490368  boot/vmlinuz-4.4.0-112-generic                 1
 242.336608887 = 260.206952448  boot/vmlinuz-4.4.0-112-generic.efi.signed      2
 244.481166840 = 262.509654016  boot/vmlinuz-4.4.0-116-generic                 1
 244.699916840 = 262.744535040  boot/vmlinuz-4.4.0-116-generic.efi.signed      1
 244.481166840 = 262.509654016  vmlinuz                                        1
 241.281921387 = 259.074490368  vmlinuz.old                                    1
 242.745475769 = 260.645969920  boot/initrd.img-4.4.0-112-generic              3
 244.690933228 = 262.734888960  boot/initrd.img-4.4.0-116-generic              1
 244.690933228 = 262.734888960  initrd.img                                     1
 242.745475769 = 260.645969920  initrd.img.old                                 3


ADDITIONAL INFORMATION :
=================== log of boot-info 20180305_2138 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 14.04.5 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-116-generic root=UUID=ef48498e-8e1d-4bd4-8c71-5a87f474c3a5 ro noprompt quiet splash vt.handoff=7

=================== os-prober:
/dev/sda5:L'OS actuellement utilisé - Ubuntu 14.04.5 LTS CurrentSession:linux
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain

=================== blkid:
/dev/sda1: LABEL="SYSTEM_DRV" UUID="00C6C7D5C6C7C95C" TYPE="ntfs"
/dev/sda2: LABEL="Windows7_OS" UUID="D026CC2026CC0984" TYPE="ntfs"
/dev/sda3: LABEL="Lenovo_Recovery" UUID="A804D1CA04D19C1E" TYPE="ntfs"
/dev/sda5: UUID="ef48498e-8e1d-4bd4-8c71-5a87f474c3a5" TYPE="ext4"
/dev/sda6: UUID="a1f67ac9-923f-4818-9024-5ab8a9876429" TYPE="swap"
/dev/sda7: UUID="a9eedba6-1557-4a7a-bab0-74fca004fa51" TYPE="ext4"


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

Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 sept.  4 18:47 grub.d
total 76
-rwxr-xr-x 1 root root  9791 août   2  2016 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 juin  26  2015 10_linux
-rwxr-xr-x 1 root root 10412 juin  26  2015 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rw-r--r-- 1 root root 11692 juin  26  2015 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juin  26  2015 40_custom
-rwxr-xr-x 1 root root   216 juin  26  2015 41_custom
-rw-r--r-- 1 root root   483 juin  26  2015 README




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

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

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

# 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 installed-session is not in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x00000000BAFE6000 00003E (v01 LENOVO TP-8N    00001180 PTL  00000002)
[    0.000000] ACPI: UEFI 0x00000000BAFE5000 000042 (v01 PTL    COMBUF   00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0x00000000BAFE4000 00027E (v01 LENOVO TP-8N    00001180 PTL  00000002)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
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,	not-far,	notbiosboot, /mnt/boot-sav/sda2.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda3.
sda7	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /home.

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


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

BYT;
/dev/sda:320GB:scsi:512:4096:msdos:ATA ST320LT007-9ZV14;
1:1049kB:1574MB:1573MB:ntfs::boot;
2:1574MB:52.0GB:50.4GB:ntfs::;
4:52.0GB:303GB:251GB:::;
7:52.0GB:242GB:190GB:ext4::;
5:242GB:299GB:56.9GB:ext4::;
6:299GB:303GB:4204MB:linux-swap(v1)::;
3:303GB:320GB:16.8GB:ntfs::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        298,1G
sda1  part ntfs     1,5G SYSTEM_DRV
sda2  part ntfs      47G Windows7_OS
sda3  part ntfs    15,6G Lenovo_Recovery
sda4  part            1K
sda5  part ext4      53G
sda6  part swap     3,9G
sda7  part ext4   177,1G

KNAME ROTA RO RM STATE   MOUNTPOINT
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         /mnt/boot-sav/sda3
sda4     1  0  0
sda5     1  0  0         /
sda6     1  0  0         [SWAP]
sda7     1  0  0         /home


=================== mount:
/dev/sda5 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)
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/sda7 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=michel)
gvfsd-fuse on /home/michel/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdc-wdm1 cdc-wdm2 char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 serial sg0 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 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 df 2e 00 00 00 00 00  |................|
00000030  00 f4 01 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  5c c9 c7 c6 d5 c7 c6 00  |...............|
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 e8 2e 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  08 32 df 05 00 00 00 00  |.........2......|
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  84 09 cc 26 20 cc 26 d0  |...........& .&.|
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/sda3
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 e0 4e 23  |........?.....N#|
00000020  00 00 00 00 80 00 80 00  ff ff f3 01 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  1e 9c d1 04 ca d1 04 a8  |................|
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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G   12K  1.9G   1% /dev
tmpfs          tmpfs     387M  988K  386M   1% /run
/dev/sda5      ext4       53G  9.7G   40G  20% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     1.9G   25M  1.9G   2% /run/shm
none           tmpfs     100M   60K  100M   1% /run/user
/dev/sda7      ext4      175G  154G   12G  94% /home
/dev/sda1      fuseblk   1.5G  356M  1.2G  24% /mnt/boot-sav/sda1
/dev/sda2      fuseblk    47G   37G   11G  79% /mnt/boot-sav/sda2
/dev/sda3      fuseblk    16G  9.7G  6.0G  62% /mnt/boot-sav/sda3

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

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x18b643a0

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3074047     1536000    7  HPFS/NTFS/exFAT
/dev/sda2         3074048   101587475    49256714    7  HPFS/NTFS/exFAT
/dev/sda3       592371712   625139711    16384000    7  HPFS/NTFS/exFAT
/dev/sda4       101588990   592371711   245391361    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5       473010176   584158613    55574219   83  Linux
/dev/sda6       584161280   592371711     4105216   82  Linux swap / Solaris
/dev/sda7       101588992   473010175   185710592   83  Linux

Partition table entries are not in disk order




=================== Suggested repair
The default repair of the Boot-Repair utility would 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 [L'OS actuellement utilisé - Ubuntu 14.04.5 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.

Effectivement, on voit une anomalie dans le fichier grub.cfg : on devrait trouver cette ligne :

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

et aussi cette ligne :

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

En principe, quand tu passes la commande "sudo update-grub", ça déclenche toute une série de trucs dont la détection des autres OS par os-prober. L'absence des deux lignes indique que os-prober n'a pas été utilisé dans ton cas. Je ne sais pas pourquoi.
Je pense que tu pourrais procéder comme suit :
1) vérifier que tu es bien connecté à internet et passer la commande :

sudo apt update  

Assure-toi que le résultat de cette commande est correct. Si c'est le cas, passe à la suite.
2) purge grub (il y aura un message verbeux "...faut-il supprimer Grub2 de /boot/grub ?" tu répondras "oui") :

sudo apt purge grub* 

3) réinstall grub

sudo apt install grub-pc

Dernière modification par malbo (Le 06/03/2018, à 13:16)

Hors ligne

#5 Le 06/03/2018, à 15:41

michcauch

Re : [Résolu] Grub ne trouve plus windows 7

Merci malbo
J'ai fait ce que tu as dis de faire, redémarre et tout va bien, windows 7 est de nouveau apparent dans le grub (ce n'est pas que je l'utilise souvent mais c'est parfois nécessaire).

@ lucmars
oui Windows 7 apparaissait avant dans le grub (et réapparaît donc maintenant), il a du disparaître lors d'une mise à jour mais je ne m'en suis rendu compte qu'au moment où j'en ai eu besoin (je ne regarde pas mon écran de démarrage tout le temps !).

Merci de vous être penchés sur le problème et surtout, malbo, de l'avoir résolu.


Cordialement
Michel
___
Ubuntu 22.04 sur Clevo N141WU

Hors ligne