#1 Le 30/07/2016, à 15:04
- Gif003
[Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour,
J'ai créé deux partitions sur mon disque avec g-parted magic. Une NTFS pour Windows et une ext4 pour Ubuntu 10.
J'ai installé Ubuntu 10. Tout s'est bien passé et il démarrait comme il faut.
J'ai ensuite installé Windows 7. Tout s'est bien passé mais l'ordinateur démarre automatiquement sur Windows 7 sans me laisser choisir entre les deux OS.
Pourriez-vous m'expliquer la procédure à suivre pour avoir le choix au démarrage?
Pour info, c'est le disque sdb qui est le premier dans l'ordre du boot. Ne tenez pas compte du disque sda.
Merci d'avance.
Voici mon boot-info:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: 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
/wubildr /ubuntu/winboot/wubildr /wubildr.mbr
/ubuntu/winboot/wubildr.mbr
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: 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
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
46 heads, 44 sectors/track, 241302 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 487,473,151 487,471,104 7 NTFS / exFAT / HPFS
/dev/sda2 487,473,152 488,394,751 921,600 27 Hidden NTFS (Recovery Environment)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 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 / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 293,818,367 293,816,320 7 NTFS / exFAT / HPFS
/dev/sdb2 293,820,414 625,139,711 331,319,298 5 Extended
/dev/sdb5 293,820,416 625,139,711 331,319,296 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 567C3E007C3DDB85 ntfs
/dev/sda2 40EC82E7EC82D696 ntfs
/dev/sdb1 387C6B1A59FF9F76 ntfs
/dev/sdb5 54a05cf6-3d7f-4663-8188-20ff01427e7b ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sdb5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
load_env
fi
set default="0"
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
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=54a05cf6-3d7f-4663-8188-20ff01427e7b ro quiet splash
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
echo 'Loading Linux 2.6.32-38-generic ...'
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=54a05cf6-3d7f-4663-8188-20ff01427e7b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-38-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 54a05cf6-3d7f-4663-8188-20ff01427e7b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 567C3E007C3DDB85
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sdb5/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=54a05cf6-3d7f-4663-8188-20ff01427e7b / ext4 errors=remount-ro 0 1
--------------------------------------------------------------------------------
=================== sdb5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
264.237121582 = 283.722448896 boot/grub/core.img 1
262.243160248 = 281.581449216 boot/grub/grub.cfg 1
264.244579315 = 283.730456576 boot/initrd.img-2.6.32-38-generic 1
264.235721588 = 283.720945664 boot/vmlinuz-2.6.32-38-generic 1
264.244579315 = 283.730456576 initrd.img 1
264.235721588 = 283.720945664 vmlinuz 1
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par Gif003 (Le 13/08/2016, à 18:16)
Hors ligne
#2 Le 30/07/2016, à 15:32
- zephirin
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Je crois bien qu'il faut faire l'inverse :
1/ Installer Windows
2/ Installer Ubuntu qui va déceler Windows et le mettre dans son menu de démarrage (grub).
Une fois tout installé tu auras une poignée de secondes pour intervenir pour sélectionner Windows au démarrage (flèche haut ou bas du pavé numérique) sinon il démarrera automatiquement sur Ubuntu.
Dernière modification par zephirin (Le 30/07/2016, à 15:33)
AIO tactile 27" Samsung i5 8GB DDR3 W11 - tour Antec Asus P5GCMX1333 W11
iMac 27" fin 2009 i5 750 16GBssd2TB cg512 HighSierra - MacBookAir 13" 2017 i5 8GB ssd120 Monterey - MacBookPro mi 2012 8GB DDR3 Catalina
Hors ligne
#3 Le 30/07/2016, à 16:25
- Bougron
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour
Tout à presque été dit. Mais tu ne devrais pas installer ubuntu10 c'est plutôt ubuntu 16 qui est à la mode.
De plus comme j'ai vu cela
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
/wubildr /ubuntu/winboot/wubildr /wubildr.mbr
/ubuntu/winboot/wubildr.mbr
Je te propose de lire le début de cet doc https://doc.ubuntu-fr.org/wubi
Hors ligne
#4 Le 30/07/2016, à 16:49
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
@ Bougron
Gif003 a bien dit de ne pas tenir compte du disque /dev/sda.
Dans ce disque à part voir qu'il y a eu une installation Ubuntu faite via Wubi. comme on ne voit rien de cette installation...
Et que la machine démarre sur le disque /dev/sdb.
Gif003 peut installer/utiliser Boot-Repair dans son Ubuntu, et réinstaller Grub dedans, en passant par les "Options avancées" pour être sur de bien choisir de mettre Grub première partie dans le secteur de boot du hdd /dev/sdb sans n° de partition. Pas dans celui de /dev/sda.
Comme on ne voit pas la totalité du boot info, on ne voit pas si la réparation recommandée propose de mettre Grub première partie dans /dev/sdb.
Normalement les Windows installés en /dev/sa et /dev/sdb devraient démarrer depuis le menu Grub.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 30/07/2016, à 16:51)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#5 Le 30/07/2016, à 17:05
- Bougron
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Reste quand même que c'est risqué d'installer cette version 10.04
Hors ligne
#6 Le 30/07/2016, à 18:05
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Ah oui, tien!. je n'avais pas fais attention à la version d'Ubuntu...
@+. 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
#7 Le 31/07/2016, à 11:03
- xcode21
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Oui c'est bien dit le moyen le plus facile c'est de d'abord installé windows et ensuite ubuntu et ça se fait automatiquement le grub de ubuntu reconnais automatiquement windows et voila
Hors ligne
#8 Le 01/08/2016, à 19:13
- Gif003
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour,
Merci pour ces réponses. Réinstaller Ubuntu ensuite serai effectivement une bonne solution. Toutefois, je suis tenté par la solution de Babdu89 et d'essayer de réinstaller grub dans le premier secteur du disque. J'avais déjà tenté d'installer boot repair sur une version live, mais il me notait un message d'erreur (boot-repair not found). Je vais réessayer et vous tenir au courant.
Concernant ma version d'Ubuntu, mon ordi ne parvient pas à booter sur le disque d'installation à partir de la version 12 (enfin si, il boote, puis ça plante). Cela a déjà fait l'objet d'une discussion ici:
http://forum.ubuntu-fr.org/viewtopic.php?id=1987627
Je passerai plus tard à une version plus récente d'Ubuntu via une mise à jour.
Hors ligne
#9 Le 02/08/2016, à 14:46
- Gif003
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour,
J'ai tenté une installation de boot-repair en suivant ce tuto https://doc.ubuntu-fr.org/boot-repair . J'ai bien copié-collé les commandes. Mais j'obtiens "E: Impossible de trouver le paquet boot-repair".
Quelqu'un a-t-il une idée de la procédure à suivre? Est=ce que je dois créer un nouveau post?
Hors ligne
#10 Le 02/08/2016, à 15:05
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour.
Dans quelle version de Ubuntu, tu tentes d'installer Boot-Repair?
@+. 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
#11 Le 02/08/2016, à 15:05
- Bougron
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour
Non ce n'est pas la peine de créer un nouveau post
La clé USB ou le DVD que tu utilises sont probablement en version 10.04 (périmée). Il te faut obligatoirement une version 12.04 ou 14.04 ou 16.04
Hors ligne
#12 Le 05/08/2016, à 15:06
- Gif003
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Effectivement, je utilisé la version 10. Mais mon portable ne parvient pas à booter une version supérieure.
Étant donné e que je viens de réparer ma tour (le processeur était hs), j ai tenté d y installer Ubuntu 12, pour inclure le disque dur de ma tour et faire le boot repair, mais ça reste bloqué au début. J ai ensuite essayé Ubuntu 10, ça bloque également au début. Même chose avec 8 et 5. Windows 7 s est bien installé donc ça n'a pas l air d'un problème matériel, peut être un réglage. ..
Je vais ré installé Ubuntu 10 sur mon portable et on verra si il détecte Windows 7 et qu ensuite j aille le choix au démarrage. Je vous tiens au courant.
Hors ligne
#13 Le 13/08/2016, à 18:18
- Gif003
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour,
J'ai réinstallé Ubuntu après Windows. Effectivement, j'ai à présent le choix entre Ubuntu et Windows 7 sur mon portable.
Merci pour votre aide
Hors ligne
#14 Le 18/08/2016, à 20:53
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour, a tous
j'ai bien suivit cette discussion pour avoir le même problème, que Gif003. Mais pour résoudre ce soucis j'aimerai ne pas avoir à ré-installé ubuntu, mais me servir de boot-repair. Ce que j'ai commencer de faire,sauf qu'il ne peut pas purger l'ancien grub avant d'en faire un nouveau. donc je suis un coincé.
merci d'avance pour vos conseils.
voici le boot-info:
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
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
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.07
Boot sector info: Syslinux looks at sector 32776 of /dev/sdb1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 191,813,632 968,747,007 776,933,376 83 Linux
/dev/sda2 968,749,054 976,771,071 8,022,018 5 Extended
/dev/sda5 968,749,056 976,771,071 8,022,016 82 Linux swap / Solaris
/dev/sda3 * 2,048 191,813,631 191,811,584 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 8053 MB, 8053063680 bytes
255 heads, 63 sectors/track, 979 cylinders, total 15728640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 15,728,639 15,726,592 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 a54b8920-f5fd-44b7-b88f-23cd59cd559f ext4
/dev/sda3 608C4E688C4E3934 ntfs
/dev/sda5 8fcb516d-c784-4fa0-8c28-712b2281a8d7 swap
/dev/sdb1 2C1C-7BE9 vfat BOOT-REPAIR
/dev/zram0 244dcdd8-a398-44c1-9846-8462ec3f9d75 swap
/dev/zram1 47920212-8385-41d8-a554-dfb947fbc25c swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Aug 18 18:05 ata-ST500LT012-1DG142_W3PMXGMY -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 17:56 ata-ST500LT012-1DG142_W3PMXGMY-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 18 17:56 ata-ST500LT012-1DG142_W3PMXGMY-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 18 18:01 ata-ST500LT012-1DG142_W3PMXGMY-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 18 17:56 ata-ST500LT012-1DG142_W3PMXGMY-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Aug 18 18:05 usb-General_USB_Flash_Disk_0404100000014151-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 18 17:56 usb-General_USB_Flash_Disk_0404100000014151-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Aug 18 18:05 wwn-0x5000c5009032a686 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 17:56 wwn-0x5000c5009032a686-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 18 17:56 wwn-0x5000c5009032a686-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 18 18:01 wwn-0x5000c5009032a686-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 18 17:56 wwn-0x5000c5009032a686-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda3 /media/lubuntu/608C4E688C4E3934 fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda1/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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
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=C
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=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; 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-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-34-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
menuentry 'Ubuntu, with Linux 4.4.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-advanced-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-34-generic ...'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-34-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-34-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-init-upstart-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-34-generic ...'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-34-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-recovery-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-34-generic ...'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-34-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-a54b8920-f5fd-44b7-b88f-23cd59cd559f' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-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,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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
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 a54b8920-f5fd-44b7-b88f-23cd59cd559f
else
search --no-floppy --fs-uuid --set=root a54b8920-f5fd-44b7-b88f-23cd59cd559f
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### 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 ###
--------------------------------------------------------------------------------
=============================== sda1/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/sda1 during installation
UUID=a54b8920-f5fd-44b7-b88f-23cd59cd559f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8fcb516d-c784-4fa0-8c28-712b2281a8d7 none swap sw 0 0
--------------------------------------------------------------------------------
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Boot-Repair-Disk session" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/8786/mounts) leaked on lvs invocation. Parent PID 15159: bash
File descriptor 63 (pipe:[30882]) leaked on lvs invocation. Parent PID 15159: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-info 2016-08-18__18h05 ===================
boot-info version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/8786/mounts) leaked on lvs invocation. Parent PID 10288: /bin/sh
No volume groups found
boot-info is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
=================== os-prober:
/dev/sda1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
/dev/sda3:Windows 7 (loader):Windows:chain
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="a54b8920-f5fd-44b7-b88f-23cd59cd559f" TYPE="ext4"
/dev/sda3: UUID="608C4E688C4E3934" TYPE="ntfs"
/dev/sda5: UUID="8fcb516d-c784-4fa0-8c28-712b2281a8d7" TYPE="swap"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="2C1C-7BE9" TYPE="vfat"
/dev/zram0: UUID="244dcdd8-a398-44c1-9846-8462ec3f9d75" TYPE="swap"
/dev/zram1: UUID="47920212-8385-41d8-a554-dfb947fbc25c" TYPE="swap"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 août 15 06:56 grub.d
total 76
-rwxr-xr-x 1 root root 9791 juin 17 09:10 00_header
-rwxr-xr-x 1 root root 6258 mars 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 juin 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 juin 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin 17 09:10 30_os-prober
-rwxr-xr-x 1 root root 1418 juin 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juin 17 09:10 40_custom
-rwxr-xr-x 1 root root 216 juin 17 09:10 41_custom
-rw-r--r-- 1 root root 483 juin 17 09:10 README
=================== /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
EFI in dmesg.
[ 0.000000] ACPI: UEFI 000000007673d000 000236 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
[ 0.000000] ACPI: UEFI 000000007673a000 000042 (v01 ACRSYS ACRPRDCT 00000000 1025 00040000)
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : 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, /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f.
sda3 : 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, /media/lubuntu/608C4E688C4E3934.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST500LT012-1DG14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
3 1049kB 98.2GB 98.2GB primary ntfs boot
1 98.2GB 496GB 398GB primary ext4
2 496GB 500GB 4107MB extended
5 496GB 500GB 4107MB logical linux-swap(v1)
Model: General USB Flash Disk (scsi)
Disk /dev/sdb: 8053MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 8053MB 8052MB primary fat32 boot, lba
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA ST500LT012-1DG14;
3:1049kB:98.2GB:98.2GB:ntfs::boot;
1:98.2GB:496GB:398GB:ext4::;
2:496GB:500GB:4107MB:::;
5:496GB:500GB:4107MB:linux-swap(v1)::;
BYT;
/dev/sdb:8053MB:scsi:512:512:msdos:General USB Flash Disk;
1:1049kB:8053MB:8052MB:fat32::boot, lba;
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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/sdb1 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)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sda1 on /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda3 on /media/lubuntu/608C4E688C4E3934 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,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 power queue range removable ro sda1 sda2 sda3 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk ecryptfs fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom usb v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== 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 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff cf 6e 0b 00 00 00 00 |..........n.....|
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 34 39 4e 8c 68 4e 8c 60 |........49N.hN.`|
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
/cow overlayfs 1.9G 16M 1.9G 1% /
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 378M 1.2M 377M 1% /run
/dev/sdb1 vfat 7.5G 614M 6.9G 9% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 0 1.9G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda1 ext4 365G 174G 173G 51% /media/lubuntu/a54b8920-f5fd-44b7-b88f-23cd59cd559f
/dev/sda3 fuseblk 92G 23G 69G 25% /media/lubuntu/608C4E688C4E3934
=================== fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0xa4c7e496
Device Boot Start End Blocks Id System
/dev/sda1 191813632 968747007 388466688 83 Linux
/dev/sda2 968749054 976771071 4011009 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3 * 2048 191813631 95905792 7 HPFS/NTFS/exFAT
/dev/sda5 968749056 976771071 4011008 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 8053 MB, 8053063680 bytes
255 heads, 63 sectors/track, 979 cylinders, total 15728640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0198a912
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15728639 7863296 c W95 FAT32 (LBA)
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Advice in case of suggested repair
Attention : continuer sans internet laisserait le système sans démarrage. Veuillez connecter Internet.
Voulez-vous continuer ?
=================== User settings
The settings chosen by the user will not act on the boot.
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 19/08/2016, à 18:42)
Hors ligne
#15 Le 19/08/2016, à 00:23
- Bougron
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour, a tous
j'ai bien suivi cette discussion pour avoir le même problème, que Gif003. Mais pour résoudre ce souci j'aimerais ne pas avoir à ré-installé ubuntu, mais me servir de boot-repair. Ce que j'ai commencé de faire,sauf qu'il ne peut pas purger l'ancien grub avant d'en faire un nouveau. donc je suis un coincé.
merci d'avance pour vos conseils.
voici le boot-info:Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014] ============================= Boot Info Summary: =============================== => Windows 7/8/2012 is installed in the MBR of /dev/sda. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb. sda1: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 16.04.1 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/i386-pc/core.img sda2: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda3: __________________________________________________________________________ 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
.
Bonsoir
Dans ton boot-info, on voit que le MBR contient encore la structure de boot pour un windows.
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
Mais je serais surpris que windows fonctionne lorsque tu bootes. Il me semble donc normal qu'il ne soit pas détecté par le grub car la partition qui contenait les fichiers nécessaires au boot a probablement été remplacée par ubuntu
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
Dernière modification par Bougron (Le 19/08/2016, à 00:24)
Hors ligne
#16 Le 19/08/2016, à 00:31
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonsoir.
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytesPartition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 191,813,632 968,747,007 776,933,376 83 Linux
/dev/sda2 968,749,054 976,771,071 8,022,018 5 Extended
/dev/sda5 968,749,056 976,771,071 8,022,016 82 Linux swap / Solaris
/dev/sda3 * 2,048 191,813,631 191,811,584 7 NTFS / exFAT / HPFS
Ce qui est en gras, çà ne va pas
/dev/sda3 devrait être /dev/sda1, et décaler le reste en conséquence.; sda1 devient /sda2 , /sda2 devient /sda3. /sda5 reste lui /sda5 .
Si ton Windows marche, tu peux vérifier le nom de Volume de la partition de ton Windows? Çà devrait être normalement C:\
Çà aussi ne va pas ;
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
C'est le contenu du secteur de boot du disque d'installation. Le mbr devrait être écrasé par la première partie de Grub.
Et comme ton Ubuntu est installé sans que la première partie de Grub se trouve dans le secteur de boot de la partition /dev/sda1
( Il doit être là, ou dans le secteur de boot de la partition /sda1 si tu fais un chaînage sur Ubuntu depuis le démarrage de Windows. ).
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info: => c'est ici que l'on devrait voir la première partie de Grub
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
Boot sector info: => c'est ici que l'on devrait voir la première partie de Grub
Vu que tu ne l'as pas mise dans le secteur de boot du disque (/dev/sda) .
Je me demande bien où elle est passé?
C'est une installation bizarre que tu as là...
Si Boot-Repair ne peux pas réparer çà. Tu vas être obligé de réinstaller.
Si ton Windows démarre.
En session live du Ubuntu que tu vas devoir réinstaller.
Avec Gparted tu supprimes les partitions /dev/sda1, /dev/sda2,/dev/sda3.
Il va rester un espace libre derrière /dev/sda3 (qui devrait re /dev/sda1).
Tu redémarres ton Windows. Tu l'arrêtes.
Tu redémarres en session live du Ubuntu que tu veux installer (Ubuntu-16.04.1-amd64) .
Avec Gparted tu vérifies que la partition Windows est bien /dev/sda1. Et que derrière /sda1 tu as bien un espace disque non alloué.
Soit tu prépares tes partitions avec gparted, et tu installes en manuel. ( Tu choisis ; Autre chose)
Soit tu installes à coté de Windows, en laissant faire l'installateur.
@Bougron.
Bougron a dit;
Mais je serais surpris que windows fonctionne lorsque tu bootes. Il me semble donc normal qu'il ne soit pas détecté par le grub car la partition qui contenait les fichiers nécessaires au boot a probablement été remplacée par ubuntu
Oui ... Il devrait être la dans le fichier /dev/sda1 /boot/grub/grub.cfg
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
Si son analyse est bon /dev/sda3 serait en faite la partition D:\ de Windows.
================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 fuseblk 92G 23G 69G 25% /media/lubuntu/608C4E688C4E3934
On va voir si Windows redémarre ou pas...
@+. Babdu89 .
Dernière modification par Babdu89 (Le 19/08/2016, à 00:42)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#17 Le 19/08/2016, à 17:34
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
merci pour vos réponses rapide et très documentes . en fait actuellement seul win 7 démarre sur c: donc je vais refaire un install d ubuntu comme vous me le conseillez et je vous tiens au courant merci encore
Hors ligne
#18 Le 29/08/2016, à 09:02
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour à tous,
Excusez moi j'ai été un peu long, mais voilà j'ai solutionner (peu etre provisoirement) mon problème. Deja pour répondre aux interrogations concernant la bizarrerie de l'organisation des différents systèmes sur le disque Dur, je pense que c'est du à la chronologie des install. Ce portable ACER R3-131T est vendu avec Win10 pré-installé. J'ai tout de suite passé le Bios en mode legacy et à l'aide d'un live UBUNTU effacé les partitions d'origines. alors j'ai pris toute la place pour Ubuntu 16, seul sur le disque. jusque là tout va bien, sur le disque donc pas de Grub puisque Ubuntu et tout seul. Sauf que pour des raison professionnelles , j'ai bessoin d'avoir un petit bout de Win pour un soft spécifique, qui ne tourne pas dans une machine vitualbox.Ni une Ni deux , Gparted me donne un coup de main pour faire de la place devant la partition linux qui prend la taille de vu plus haut , Je cré une partition nouvelle NTFS drapeau boot qui devient SDa3 ou je projette d'installer Win7.tout ce passe bien , mais au boot après l'install de Win plus de linux!!.je pense que ces précisions peuvent repondre a vos intérrogations. POUR la suite, avant de suivre vos recommandations, toujours réticent à tout ré-installer, ce qui reste la solution la plus propre, j'ai tenté de retrouver mon linux depuis le bootmanger de windows. Donc avec EsayBCD un petit outil simple , j'ai recrée une entreé Linux dans le menu de démarrage de Win. Apres plusieurs tatonnement il a réussit à detecter Ubuntu, et depuis je peux boot sur les deux systemes. Certe ne n'est pas aussi propre qu'avec Grub, et plus long, mais cela fonctionne.Par manque de temps je vais rester comme cela pour l'instant, et dès que possible suivre votre procedure et tout ré-installer proprement.
Merci encore pour votre dispo, et conseils précieux.
Hors ligne
#19 Le 29/08/2016, à 11:42
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour..
Ah oui, on comprend mieux après ces explications.
Tu as réduit la partition Linux /sda1, avec Gparted de la gauche vers la droite. Ce qui a libéré l'espace disque des secteurs 2,048 à 191,813,631 en début de disque.
Réinstallation de Windows 7, tout content de prendre la place de cet espace disque, qui normalement est celui de la première partition du disque.
L'installation de Windows7, à écrasé la première partie de Grub dans le secteur d'amorçage du disque.
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
Et c'est donc Windows qui démarre directement. Ubuntu ne peut donc plus démarrer.
Deux solutions, passer par Windows comme tu l'as fait, en utilisant EasyBCD.
Ou, réinstaller Grub dans ton Ubuntu en mettant le première partie de Grub dans le secteur de boot du hdd. Tu peux encore le faire, çà évitera la réinstallation.
Tu peux le faire comme ceci
Tu lances Ubuntu depuis Windows.
Tu installes Boot-Repair . dans ton Ubuntu installé. (çà marche en live et en installé)
https://doc.ubuntu-fr.org/boot-repair
Tu le lances, et tu peux suivre 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 sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
Çà devrait tout remettre d'aplomb. Et démarrer la machine sur le menu Grub; Ubuntu proposer en premier. Windows à la suite.
Ma foi, pour EasyBCD dans Windows, tu le laisses ou tu le vires, ce n'est pas la place que çà prend.
Tu nous donnes des nouvelles de la manip.
@+. 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
#20 Le 29/08/2016, à 16:44
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour, alors j'ai suivi tes conseils et là boot-repair bloc. ou plus exactement les commandes que je dois exécutée dans le terminal lors de la réparation voir le print screen joint.
file:///home/jean-paul/Images/Capture%20du%202016-08-29%2016-34-23.png (mince comment joindre un fichier?)
Hors ligne
#21 Le 29/08/2016, à 16:46
- Bougron
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Bonjour
Il faut que tu utilises un hébergeur d'image du style http://www.hostingpics.net/
Hors ligne
#22 Le 29/08/2016, à 16:54
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
ok voici le lien http://hpics.li/44c242d pour la capture d'écran.
on y voit la commande qui n'est pas reconnu , donc j'ai du faire annuler et donc la réparation s'est arrêtée.
Hors ligne
#23 Le 29/08/2016, à 16:59
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
Ah Ok! il réinstalle en purgeant.
Regarde ici, comment çà se passe...
https://forum.ubuntu-fr.org/viewtopic.p … #p12169131
Copier/coller les commandes une à une , avec un "Entrée" entre chaque..
Dans la fenêtre où il demande à placer Grub, pour toi ce sera /dev/sdb puisque Ubuntu est installé en /dev/sdb5
@+. Babdu89 .
Dernière modification par Babdu89 (Le 29/08/2016, à 17:12)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#24 Le 29/08/2016, à 17:11
- eolenux
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
ok même si cela fait peur au débutant que je suis, je comprend bien ce qui est expliqué, mais c'est exactement ce qui ce passe pour moi sauf que lorsque je tape la première commande dans le terminal , elle n'est pas reconnue. "sudo dpkg -configure -a" et j'ai le message comme sur le printscreen. j'ai bien fait gaffe à la syntaxe et recommencé deux fois , sans sucres.
Hors ligne
#25 Le 29/08/2016, à 17:16
- Babdu89
Re : [Résolu] Impossible de démarrer Ubuntu après installation Windows 7
"sudo dpkg -configure -a"
Il y a deux trais devant configure. --configure
C'est bien pour çà que je recommande le copier/coller les commandes...
@+. 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