#1 Le 25/08/2017, à 14:13
- asroger
windows ne demarre plus après installation d'ubuntu [RESOLU]
Bonjour chers membres suite à l'installation de ubuntu 17.04 (à côté) sur mon pc équipé d'un WIN7, mon ordi ne demarre que sur ubuntu (grub v2 d'ubuntu pas de proposition de demarrer WIN7). Vous trouverez le rapport sur les caracteristiques de ma config ici: http://paste.ubuntu.com/25388861/
Merci de m'aider! :mad:
Dernière modification par asroger (Le 05/02/2018, à 13:30)
Hors ligne
#2 Le 25/08/2017, à 14:25
- Babdu89
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Bonjour.
On voit dans le boot info lignes 381 et 382
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
Que la rubrique est vide, c'est là que devrait être le menuentry pour lancer ton Windows.
Il devrait y avoir un texte comme ceci.
### BEGIN /etc/grub.d/30_os-prober
menuentry 'Windows 7 (loader) (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-5A7A431E7A42F673' {
savedefault
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 5A7A431E7A42F673
else
search --no-floppy --fs-uuid --set=root 5A7A431E7A42F673
fi
parttool ${root} hidden-
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
END /etc/grub.d/30_os-prober ###
Dans un premier temps, on va voir si une simple mise à jour de grub suffit à réparer.
Depuis ton Ubuntu;
sudo update-grub
Tu dis si çà a réparé...
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#3 Le 25/08/2017, à 14:57
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
ok merci pour ton aide je te fais le retour tout de suite
Hors ligne
#4 Le 25/08/2017, à 15:01
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
mais avant j'ai restauré le fichier mbr de mon windows et ça démarré uniquement sur WIN7 (plus de demarrage de ubuntu) je fais comment pour refaire ce que tu m'as décrit plus haut?
Hors ligne
#5 Le 25/08/2017, à 15:11
- Babdu89
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
mais avant j'ai restauré le fichier mbr de mon windows et ça démarré uniquement sur WIN7 (plus de demarrage de ubuntu) je fais comment pour refaire ce que tu m'as décrit plus haut?
Je suppose que tu as fais çà avec Boot-Repair. Mais en le faisant en session installée?.
Avec un média live Ubuntu (Clé usb ou DVD live). lancer une session live. Installer/utiliser Boot-Repair avec la réparation recommandée. Il va réinstaller Grub correctement dans ton Ubuntu.
Voici ce que propose la réparation recommandée.
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
Il est possible que ton Ubuntu et ton Windows démarrent depuis le menu Grub par la suite.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#6 Le 25/08/2017, à 15:22
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Je suppose que tu as fais çà avec Boot-Repair. Mais en le faisant en session installée?.
Non je l'ai fais à l'aide la commande dans le terminal
merci je vais tout de suite essayer ta solution
Hors ligne
#7 Le 25/08/2017, à 15:25
- malbo
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Pour mémoire, je colle ci-dessous le Boot-Info dont tu as donné le lien ( http://paste.ubuntu.com/25388861/ ) dans le post #1 :
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= 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 /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 17.04
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 595,714,938 595,712,891 7 NTFS / exFAT / HPFS
/dev/sda2 595,716,094 879,116,287 283,400,194 5 Extended
/dev/sda5 595,716,096 879,116,287 283,400,192 83 Linux
/dev/sda3 879,116,288 974,819,327 95,703,040 83 Linux
/dev/sda4 974,819,328 976,771,071 1,951,744 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 5A7A431E7A42F673 ntfs
/dev/sda3 8f38f74b-b132-416f-8f15-cd933fda1b30 ext4
/dev/sda4 5362c48f-99ce-4688-94a4-aed11f3669b8 swap
/dev/sda5 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 25 11:41 ata-ST3500413AS_Z3T5FR54-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Aug 25 10:49 ata-hp_DVD-RAM_GH82N_229CD044924 -> ../../sr0
lrwxrwxrwx 1 root root 9 Aug 25 11:41 wwn-0x5000c5004e707feb -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 25 11:41 wwn-0x5000c5004e707feb-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 25 11:41 wwn-0x5000c5004e707feb-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 25 11:41 wwn-0x5000c5004e707feb-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 25 11:41 wwn-0x5000c5004e707feb-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 25 11:41 wwn-0x5000c5004e707feb-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /media/homea/5A7A431E7A42F673 fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda5 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
=========================== 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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
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
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-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
linux /boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-32-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
menuentry 'Ubuntu, avec Linux 4.10.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-32-generic-advanced-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-32-generic…'
linux /boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-32-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-32-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-32-generic-init-upstart-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-32-generic…'
linux /boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-32-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-32-generic-recovery-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-32-generic…'
linux /boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-32-generic
}
menuentry 'Ubuntu, avec Linux 4.10.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-19-generic-advanced-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-19-generic…'
linux /boot/vmlinuz-4.10.0-19-generic root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-19-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-19-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-19-generic-init-upstart-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-19-generic…'
linux /boot/vmlinuz-4.10.0-19-generic root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-19-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-19-generic-recovery-f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
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 f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
else
search --no-floppy --fs-uuid --set=root f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5
fi
echo 'Chargement de Linux 4.10.0-19-generic…'
linux /boot/vmlinuz-4.10.0-19-generic root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.10.0-19-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+ ###
### 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 ###
### 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=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda4 during installation
UUID=5362c48f-99ce-4688-94a4-aed11f3669b8 none swap sw 0 0
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
332.351322174 = 356.859514880 boot/grub/grub.cfg 2
320.202064514 = 343.814348800 boot/grub/i386-pc/core.img 1
287.352535248 = 308.542435328 boot/vmlinuz-4.10.0-19-generic 2
287.962772369 = 309.197672448 boot/vmlinuz-4.10.0-32-generic 1
288.304908752 = 309.565038592 boot/vmlinuz-4.10.0-32-generic.efi.signed 1
287.352535248 = 308.542435328 vmlinuz 2
333.028316498 = 357.586432000 boot/initrd.img-4.10.0-19-generic 2
288.319381714 = 309.580578816 boot/initrd.img-4.10.0-32-generic 2
333.028316498 = 357.586432000 initrd.img 2
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 |SSSSSSSSSSSSSSSS|
*
000001b0 53 53 53 53 53 53 53 53 53 53 53 53 53 53 00 fe |SSSSSSSSSSSSSS..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 58 e4 10 00 00 |...........X....|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
ADDITIONAL INFORMATION :
=================== log of boot-info 2017-08-25__11h41 ===================
boot-info version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
boot-info is executed in installed-session (Ubuntu 17.04, zesty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash vt.handoff=7
=================== os-prober:
/dev/sda5:L'OS actuellement utilisé - Ubuntu 17.04 CurrentSession:linux
/dev/sda1:Windows 7:Windows:chain
=================== blkid:
/dev/sda1: UUID="5A7A431E7A42F673" TYPE="ntfs" PARTUUID="9e92ad77-01"
/dev/sda3: UUID="8f38f74b-b132-416f-8f15-cd933fda1b30" TYPE="ext4" PARTUUID="9e92ad77-03"
/dev/sda4: UUID="5362c48f-99ce-4688-94a4-aed11f3669b8" TYPE="swap" PARTUUID="9e92ad77-04"
/dev/sda5: UUID="f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5" TYPE="ext4" PARTUUID="9e92ad77-05"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avril 12 03:14 grub.d
total 80
-rwxr-xr-x 1 root root 9783 mars 30 21:45 00_header
-rwxr-xr-x 1 root root 6258 nov. 1 2016 05_debian_theme
-rwxr-xr-x 1 root root 12676 mars 30 21:45 10_linux
-rwxr-xr-x 1 root root 11281 mars 30 21:45 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars 30 21:45 30_os-prober
-rwxr-xr-x 1 root root 1418 mars 30 21:45 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mars 30 21:45 40_custom
-rwxr-xr-x 1 root root 216 mars 30 21:45 41_custom
-rw-r--r-- 1 root root 483 mars 30 21:45 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=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda5 : sda, not-sepboot, grubenv-ok grub2, signed 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, .
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, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /media/homea/5A7A431E7A42F673.
sda3 : 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, /mnt/boot-sav/sda3.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST3500413AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 305GB 305GB primary ntfs boot
2 305GB 450GB 145GB extended
5 305GB 450GB 145GB logical ext4
3 450GB 499GB 49.0GB primary ext4
4 499GB 500GB 999MB primary linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST3500413AS:;
1:1049kB:305GB:305GB:ntfs::boot;
2:305GB:450GB:145GB:::;
5:305GB:450GB:145GB:ext4::;
3:450GB:499GB:49.0GB:ext4::;
4:499GB:500GB:999MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part ntfs 284,1G
sda2 part 1K
sda3 part ext4 45,7G
sda4 part swap 953M
sda5 part ext4 135,1G
sr0 rom 1,5G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /media/homea/5A7A431E7A42F673
sda2 1 0 0
sda3 1 0 0 /mnt/boot-sav/sda3
sda4 1 0 0 [SWAP]
sda5 1 0 0 /
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=3999448k,nr_inodes=999862,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=804564k,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=804560k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /media/homea/5A7A431E7A42F673 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/sda (filtered): alignment_offset badblocks 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 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): block bsg bus cdrom cdrw char console core cpu cpu_dma_latency disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot sr0 stderr stdin stdout tpm0 uinput urandom vga_arbiter zero
ls /dev/mapper: control
ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
=================== 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 78 db 81 23 00 00 00 00 |........x..#....|
00000030 d1 e2 0a 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 73 f6 42 7a 1e 43 7a 5a |........s.Bz.CzZ|
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 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 786M 9.5M 777M 2% /run
/dev/sda5 ext4 133G 6.3G 120G 5% /
tmpfs tmpfs 3.9G 8.0K 3.9G 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs tmpfs 786M 136K 786M 1% /run/user/1000
/dev/sda1 fuseblk 285G 52G 233G 19% /media/homea/5A7A431E7A42F673
/dev/sda3 ext4 45G 53M 43G 1% /mnt/boot-sav/sda3
=================== fdisk -l:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9e92ad77
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 595714938 595712891 284.1G 7 HPFS/NTFS/exFAT
/dev/sda2 595716094 879116287 283400194 135.1G 5 Extended
/dev/sda3 879116288 974819327 95703040 45.7G 83 Linux
/dev/sda4 974819328 976771071 1951744 953M 82 Linux swap / Solaris
/dev/sda5 595716096 879116287 283400192 135.1G 83 Linux
Partition table entries are not in disk order.
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 17.04] 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.
La ligne suivante extraite de ce rapport est étrange :
BOOT_IMAGE=/boot/vmlinuz-4.10.0-32-generic.efi.signed root=UUID=f6a8aa3f-d42b-43fe-96e5-589e7f1fb6b5 ro quiet splash vt.handoff=7
La mention "efi.signed" indique la présence d'une installation de la version EFI de grub alors que l'allure générale de l'installation est celle d'une installation réalisée en mode non-EFI
La suggestion du post #5 de Babdu89 me parait bonne.
Dernière modification par malbo (Le 25/08/2017, à 15:29)
Hors ligne
#8 Le 25/08/2017, à 15:37
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
merci pour la precision
Hors ligne
#9 Le 25/08/2017, à 16:29
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
j'ai lancer Boot-Repair jai suivi toutes les etapes jusqu'a celle-ci /home/ubuntu/Pictures/Screenshot from 2017-08-25 14-05-12.png (beuh.. je ne sais pas comment importer l'image ici:D) on me dit <<souhaiterez-vous continuer sans installer le grub>> je reponds non mais xa continu toujours dois-je reprendre l'installation??
Hors ligne
#10 Le 25/08/2017, à 17:19
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
merci a tous les deux (Babdu89 et malbo) de m'avoir aidé j'ai pu obtenir ce que je voulais (windows + Linux) grâce à vous. Vous pouvez être satisfaire je peux désormais faire le choix d'entre les 2 systèmes desormais!
Hors ligne
#11 Le 25/08/2017, à 20:06
- lucmars
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Alors tu modifies ton premier post et t'ajoutes [Résolu] dans le titre
Gaulois Matter !
Hors ligne
#12 Le 28/09/2017, à 13:04
- asroger
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
comment on modifie pour ajouter [Resolu] stp??
Hors ligne
#13 Le 28/09/2017, à 15:18
- malbo
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Bonjour,
Pour ajouter résolu, je te prie de procéder comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :
[Résolu] windows ne démarre plus après installation d'ubuntu
Hors ligne
#14 Le 28/09/2017, à 19:06
- lucmars
Re : windows ne demarre plus après installation d'ubuntu [RESOLU]
Sans commentaire.
Gaulois Matter !
Hors ligne