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 25/02/2015, à 18:12

qblond

[RESOLU]Grub ne me propose pas windows

Bonjour,

Apres une lecture des differentes docs, je fais appel a vous.
Apres une install de Ubuntu, Grub ne me propose pas de booter sur windows.

Mon Boot Info : http://paste.ubuntu.com/10410163/

Si quelqu'un a une idee, ca serait chouette :)

PS : Desole pour les accents manquants, je suis en qwerty.

Dernière modification par qblond (Le 25/02/2015, à 18:43)

Hors ligne

#2 Le 25/02/2015, à 18:43

qblond

Re : [RESOLU]Grub ne me propose pas windows

Fausse alerte,

Après une deuxième réparation de Grub (directement depuis ubuntu, et pas du live-cd), Il me propose maintenant de booter sur Windows.

smile

Hors ligne

#3 Le 25/02/2015, à 19:01

malbo

Re : [RESOLU]Grub ne me propose pas windows

Ton Boot-Info est là :

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


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

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:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03 20141020..................................................2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 2298832 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg 
                       /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   614,402,047   614,195,200   7 NTFS / exFAT / HPFS
/dev/sda3         614,404,094 1,208,338,431   593,934,338   5 Extended
/dev/sda5         614,404,096 1,200,338,943   585,934,848  83 Linux
/dev/sda6       1,200,340,992 1,208,338,431     7,997,440  82 Linux swap / Solaris


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 7.2 GiB, 7756677120 bytes, 15149760 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *          2,048    15,149,759    15,147,712   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        6E3AA5353AA4FAEB                       ntfs       Réservé au système
/dev/sda2        964CABF54CABCDF5                       ntfs       
/dev/sda5        39fc7726-e877-4315-bf3a-24c15dbfd2db   ext4       
/dev/sda6        75e7ae69-15ee-4ff0-b759-9c3877d25d67   swap       
/dev/sdc1        5A01-A1F6                              vfat       

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

total 0
lrwxrwxrwx 1 root root  9 Feb 25 15:57 ata-ST1000DX001-1CM162_Z1DD8W1M -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 25 15:57 ata-ST1000DX001-1CM162_Z1DD8W1M-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 25 15:57 ata-ST1000DX001-1CM162_Z1DD8W1M-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 25 15:57 ata-ST1000DX001-1CM162_Z1DD8W1M-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 25 15:57 ata-ST1000DX001-1CM162_Z1DD8W1M-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 25 15:50 ata-ST1000DX001-1CM162_Z1DD8W1M-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Feb 25 15:57 usb-_USB_DISK_2.0_070D45118BE3E614-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 25 15:50 usb-_USB_DISK_2.0_070D45118BE3E614-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Feb 25 15:57 wwn-0x5000c500798405fe -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 25 15:57 wwn-0x5000c500798405fe-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 25 15:57 wwn-0x5000c500798405fe-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 25 15:57 wwn-0x5000c500798405fe-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 25 15:57 wwn-0x5000c500798405fe-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 25 15:50 wwn-0x5000c500798405fe-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

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


=========================== 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  39fc7726-e877-4315-bf3a-24c15dbfd2db
else
  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
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=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
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
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-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
	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  39fc7726-e877-4315-bf3a-24c15dbfd2db
	else
	  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
	fi
	linux	/boot/vmlinuz-3.16.0-31-generic root=UUID=39fc7726-e877-4315-bf3a-24c15dbfd2db ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-31-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
	menuentry 'Ubuntu, with Linux 3.16.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-31-generic-advanced-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
		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  39fc7726-e877-4315-bf3a-24c15dbfd2db
		else
		  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
		fi
		echo	'Loading Linux 3.16.0-31-generic ...'
		linux	/boot/vmlinuz-3.16.0-31-generic root=UUID=39fc7726-e877-4315-bf3a-24c15dbfd2db ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-31-generic-recovery-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
		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  39fc7726-e877-4315-bf3a-24c15dbfd2db
		else
		  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
		fi
		echo	'Loading Linux 3.16.0-31-generic ...'
		linux	/boot/vmlinuz-3.16.0-31-generic root=UUID=39fc7726-e877-4315-bf3a-24c15dbfd2db ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
		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  39fc7726-e877-4315-bf3a-24c15dbfd2db
		else
		  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=39fc7726-e877-4315-bf3a-24c15dbfd2db ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-39fc7726-e877-4315-bf3a-24c15dbfd2db' {
		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  39fc7726-e877-4315-bf3a-24c15dbfd2db
		else
		  search --no-floppy --fs-uuid --set=root 39fc7726-e877-4315-bf3a-24c15dbfd2db
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=39fc7726-e877-4315-bf3a-24c15dbfd2db ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-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/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.
### 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=39fc7726-e877-4315-bf3a-24c15dbfd2db /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=75e7ae69-15ee-4ff0-b759-9c3877d25d67 none            swap    sw              0       0
--------------------------------------------------------------------------------

=========================== sdc1/boot/grub/grub.cfg: ===========================

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

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

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

menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  boot=casper integrity-check quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

========================= sdc1/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
path
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------

============== sdc1: Version of COM32(R) files used by Syslinux: ===============

 ldlinux.c32                        :  not a COM32/COM32R module
 syslinux/chain.c32                 :  not a COM32/COM32R module
 syslinux/gfxboot.c32               :  not a COM32/COM32R module
 syslinux/ldlinux.c32               :  not a COM32/COM32R module
 syslinux/libcom32.c32              :  not a COM32/COM32R module
 syslinux/libutil.c32               :  not a COM32/COM32R module
 syslinux/vesamenu.c32              :  not a COM32/COM32R module

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

cat: write error: Broken pipe
File descriptor 9 (/proc/17189/mounts) leaked on lvs invocation. Parent PID 24234: bash
File descriptor 63 (pipe:[64956]) leaked on lvs invocation. Parent PID 24234: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-02-25__15h57 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory
Partition 4 does not start on physical sector boundary.


=================== os-prober:
/dev/sda5:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="6E3AA5353AA4FAEB" TYPE="ntfs" PARTUUID="a61939da-01"
/dev/sda2: UUID="964CABF54CABCDF5" TYPE="ntfs" PARTUUID="a61939da-02"
/dev/sda5: UUID="39fc7726-e877-4315-bf3a-24c15dbfd2db" TYPE="ext4" PARTUUID="a61939da-05"
/dev/sdc1: UUID="5A01-A1F6" TYPE="vfat" PARTUUID="cc4afbe1-01"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="75e7ae69-15ee-4ff0-b759-9c3877d25d67" TYPE="swap" PARTUUID="a61939da-06"


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

Windows not detected by os-prober on sda2.
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Partition 4 does not start on physical sector boundary.

Partition 4 does not start on physical sector boundary.


=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Feb 25 15:33 grub.d
drwxr-xr-x  2 root root     4096 Feb 25 15:33 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

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

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

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

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

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

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

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




=================== efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0002
Boot0002* Hard Drive 	BIOS(2,0,00)AMGOAMNO........o.S.T.1.0.0.0.D.X.0.0.1.-.1.C.M.1.6.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .1.Z.D.D.W.8.M.1......AMBOAMNO........c.G.e.n.e.r.a.l. .U.S.B. .F.l.a.s.h. .D.i.s.k. .1...0....................A.......................6..Gd-.;.A..MQ..L.0.9.0.0.0.0.0.0.0.0.0.0.1.E.1.B......AMBOAMNO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.0.D.4.5.1.1.8.B.E.3.E.6.1.4......AMBO
Boot0003* UEFI:  USB DISK 2.0 PMAP	ACPI(a0341d0,0)PCI(14,0)USB(b,0)HD(1,800,e722c0,cc4afbe1)AMBO

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


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	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,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda2.
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,	/mnt/boot-sav/sda5.

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


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

Model: ATA ST1000DX001-1CM1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End    Size    Type      File system     Flags
1      1049kB  106MB  105MB   primary   ntfs            boot
2      106MB   315GB  314GB   primary   ntfs
3      315GB   619GB  304GB   extended
5      315GB   615GB  300GB   logical   ext4
6      615GB   619GB  4095MB  logical   linux-swap(v1)


Model:  USB DISK 2.0 (scsi)
Disk /dev/sdc: 7757MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  7757MB  7756MB  primary  fat32        boot, lba

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

BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA ST1000DX001-1CM1:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:315GB:314GB:ntfs::;
3:315GB:619GB:304GB:::;
5:315GB:615GB:300GB:ext4::;
6:615GB:619GB:4095MB:linux-swap(v1)::;

BYT;
/dev/sdc:7757MB:scsi:512:512:msdos: USB DISK 2.0:;
1:1049kB:7757MB:7756MB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL              MODEL            UUID
sda   disk          931.5G                    ST1000DX001-1CM1
sda1  part ntfs       100M Réservé au système                  6E3AA5353AA4FAEB
sda2  part ntfs     292.9G                                     964CABF54CABCDF5
sda3  part              1K
sda5  part ext4     279.4G                                     39fc7726-e877-4315-bf3a-24c15dbfd2db
sda6  part swap       3.8G                                     75e7ae69-15ee-4ff0-b759-9c3877d25d67
sdc   disk            7.2G                    USB DISK 2.0
sdc1  part vfat       7.2G                                     5A01-A1F6
loop0 loop squashfs     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
sda5     1  0  0         /mnt/boot-sav/sda5
sda6     1  0  0         [SWAP]
sdc      1  0  1 running
sdc1     1  0  1         /cdrom
loop0    1  1  0         /rofs


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sdc1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/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/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)


=================== ls:
/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 sda5 sda6 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 sdc1 size slaves stat subsystem trace uevent
/dev (filtered):  block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet input kmsg kvm log lp0 mapper mcelog mei mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sdc sdc1 sg0 sg2 shm snapshot snd stderr stdin stdout uinput urandom usb vga_arbiter watchdog watchdog0 zero
ls /dev/mapper:  control

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

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


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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  3.9G   92M  3.8G   3% /
udev           devtmpfs   3.9G  4.0K  3.9G   1% /dev
tmpfs          tmpfs      786M  1.3M  784M   1% /run
/dev/sdc1      vfat       7.3G  5.1G  2.2G  71% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      3.9G  1.8M  3.9G   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      3.9G  248K  3.9G   1% /run/shm
none           tmpfs      100M   76K  100M   1% /run/user
/dev/sda1      fuseblk    100M   25M   76M  25% /mnt/boot-sav/sda1
/dev/sda2      fuseblk    293G   31G  263G  11% /mnt/boot-sav/sda2
/dev/sda5      ext4       275G  6.1G  255G   3% /mnt/boot-sav/sda5

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 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
Disklabel type: dos
Disk identifier: 0xa61939da

Device     Boot      Start        End   Sectors   Size Id Type
/dev/sda1  *          2048     206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2           206848  614402047 614195200 292.9G  7 HPFS/NTFS/exFAT
/dev/sda3        614404094 1208338431 593934338 283.2G  5 Extended
/dev/sda5        614404096 1200338943 585934848 279.4G 83 Linux
/dev/sda6       1200340992 1208338431   7997440   3.8G 82 Linux swap / Solaris


Disk /dev/sdc: 7.2 GiB, 7756677120 bytes, 15149760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcc4afbe1

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     2048 15149759 15147712  7.2G  c W95 FAT32 (LBA)




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


=================== User settings
The settings chosen by the user will not act on the boot.
qblond a écrit :

Après une deuxième réparation de Grub (directement depuis ubuntu, et pas du live-cd)

Normal : la session live était démarrée en mode EFI comme on peut le voir dans cet extrait :

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

donc elle ne savait pas détecter la présence de Windows 7 installé en mode non-EFI comme on peut le voir dans cet autre extrait :

=================== os-prober:
/dev/sda5:Ubuntu 14.10 (14.10):Ubuntu:linux

os-prober est la commande qui est sensée détecter la présence de tous les OS mais seule ton installation Ubuntu est détectée.
Par contre, en faisant ta réparation de Grub depuis une session du Ubuntu installé, tu utilises os-prober depuis une session non-EFI et là pas de problème pour détecter ton Windows 7.
En bref, tu n'aurais jamais dû chercher à réparer depuis une session live mais depuis une session du Ubuntu installé, depuis laquelle tu avais juste une commande à passer dans un terminal :

sudo update-grub 

Il s'agit tout simplement de la procédure 3.4 Configuration/reconfiguration automatisée du menu GRUB

Dernière modification par malbo (Le 25/02/2015, à 19:12)

Hors ligne

#4 Le 26/02/2015, à 11:20

qblond

Re : [RESOLU]Grub ne me propose pas windows

Merci pour toutes ces précisions, je connais maintenant le pourquoi du comment !

Hors ligne