#1 Le 01/03/2017, à 17:03
- jeancesaravon
Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour,
J'ai un ASUS G2P, sur lequel j'ai récemment remplacé le disque dur interne d'origine par un SSD de 500Go.
J'ai d'abord restauré, à partir de la dernière sauvegarde ISO, mon ancien Windows 7 Pro, qui fonctionne comme avant.
Puis je viens d'installer Ubuntu-Unity, version 16.02.2 LTS, sur une autre partition primaire, sans rencontrer de problème au cours de l'installation, sauf qu'au redémarrage, Grub n'est pas lancé, et c'est toujours Windows 7 Pro qui démarre.
(Je précise que Grub fonctionnait sur le disque dur interne d'origine, avec la version 14.04.3 d'Ubuntu, qui cohabitait avec le même Windows 7 Pro.)
J'ai trouvé dans la documentation d'Ubuntu comment produire un fichier boot-info et j'ai noté que je dois le soumettre au forum avant de lancer la réparation de Grub.
Je ne sais pas comment envoyer le fichier boot-info en question, car je ne vois pas d'option "joindre un fichier". Est-ce que je peux faire un copier/coller directement dans un message comme celui-ci ?
Merci pour le temps que vous allez consacrer à un débutant !
Bien cordialement,
Jean
Hors ligne
#2 Le 01/03/2017, à 18:00
- Hemger
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour,
Il suffit de recopier le lien donné par boot-Info;
On peut aussi copier / coller le boot-Info mais en prenant soin de le mettre entre balises. Ce sont les 2 flèches bleues <>
Ubuntu 22-04.3 en dual boot avec Win11 (très rarement utilisé) sur Lenovo ideacentreAIO324
Hors ligne
#3 Le 01/03/2017, à 18:20
- Babdu89
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour.
Je ne sais pas comment envoyer le fichier boot-info en question, car je ne vois pas d'option "joindre un fichier". Est-ce que je peux faire un copier/coller directement dans un message comme celui-ci ?
Pour t'éviter de refaire le boot info.
Depuis la même session live qui a servi à installer. comme tu as accès à internet en session live.
Tu navigues dans les fichiers système de ton Ubuntu où de ton Windows pour trouver un dossier "boot-sav"
Dans Windows, il se trouve dans la racine du système.
Dans le Ubuntu installé, il se trouve dans /var/log/boot-sav
Tu déroules boot-sav, jusqu'à trouver un fichier texte " RESULTS.txt" . C'est la copie du boot info que tu as fait.
Il n'y a qu'à en poster le contenu dans ta réponse entre les balises code (les deux <> bleu au dessus de la fenêtre qui te sert à poster).
@+. 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
#4 Le 01/03/2017, à 20:31
- jeancesaravon
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Merci Hemger et Babdu89,
Vous trouverez ci-dessous la copie de mon boot-info.
En vous souhaitant bonne lecture de ces quelques 34Ko...
Bien cordialement,
Jean
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
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
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 784101080 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos3)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 16.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
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 219,959,294 767,057,919 547,098,626 5 Extended
/dev/sda5 219,959,296 767,057,919 547,098,624 83 Linux
/dev/sda2 * 10,242,048 219,957,247 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda3 767,057,920 966,533,119 199,475,200 83 Linux
/dev/sda4 966,533,120 976,771,071 10,237,952 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda2 EEA44F7FA44F4973 ntfs Windows 7 Pro
/dev/sda3 027109ce-9274-4fe0-90b1-aefbf823c5ed ext4
/dev/sda4 ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54 swap
/dev/sda5 9cfe7282-75a2-49a7-bef3-706f2dc61f46 ext4
/dev/sr0 2017-02-15-21-44-13-00 iso9660 Ubuntu 16.04.2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 1 13:06 ata-HL-DT-ST_DVDRAM_GSA-T20L_KY8756A1045 -> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 1 13:14 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 1 13:14 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 1 13:15 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 1 13:14 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 1 13:14 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 1 13:14 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 1 13:14 wwn-0x5002538d70308f3d -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 1 13:14 wwn-0x5002538d70308f3d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 1 13:15 wwn-0x5002538d70308f3d-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 1 13:14 wwn-0x5002538d70308f3d-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 1 13:14 wwn-0x5002538d70308f3d-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 1 13:14 wwn-0x5002538d70308f3d-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda3/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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
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_CH
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-027109ce-9274-4fe0-90b1-aefbf823c5ed' {
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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
linux /boot/vmlinuz-4.8.0-36-generic root=UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.8.0-36-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-027109ce-9274-4fe0-90b1-aefbf823c5ed' {
menuentry 'Ubuntu, avec Linux 4.8.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-advanced-027109ce-9274-4fe0-90b1-aefbf823c5ed' {
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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
echo 'Chargement de Linux 4.8.0-36-generic…'
linux /boot/vmlinuz-4.8.0-36-generic root=UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.8.0-36-generic
}
menuentry 'Ubuntu, with Linux 4.8.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-init-upstart-027109ce-9274-4fe0-90b1-aefbf823c5ed' {
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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
echo 'Chargement de Linux 4.8.0-36-generic…'
linux /boot/vmlinuz-4.8.0-36-generic root=UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.8.0-36-generic
}
menuentry 'Ubuntu, with Linux 4.8.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-recovery-027109ce-9274-4fe0-90b1-aefbf823c5ed' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
echo 'Chargement de Linux 4.8.0-36-generic…'
linux /boot/vmlinuz-4.8.0-36-generic root=UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.8.0-36-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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 027109ce-9274-4fe0-90b1-aefbf823c5ed
else
search --no-floppy --fs-uuid --set=root 027109ce-9274-4fe0-90b1-aefbf823c5ed
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (sur /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-EEA44F7FA44F4973' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 EEA44F7FA44F4973
else
search --no-floppy --fs-uuid --set=root EEA44F7FA44F4973
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 ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda3/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/sda3 during installation
UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=9cfe7282-75a2-49a7-bef3-706f2dc61f46 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda3: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
377.999950409 = 405.874356224 boot/grub/grub.cfg 1
373.888553619 = 401.459777536 boot/grub/i386-pc/core.img 1
367.061481476 = 394.129264640 boot/vmlinuz-4.8.0-36-generic 2
367.061481476 = 394.129264640 vmlinuz 2
384.002952576 = 412.320030720 boot/initrd.img-4.8.0-36-generic 3
384.002952576 = 412.320030720 initrd.img 3
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/7529/mounts) leaked on lvs invocation. Parent PID 14564: bash
File descriptor 63 (pipe:[77096]) leaked on lvs invocation. Parent PID 14564: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 2017-03-01__13h14 ===================
boot-info version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
boot-info is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda2:Windows 7 (loader):Windows:chain
/dev/sda3:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda2: LABEL="Windows 7 Pro" UUID="EEA44F7FA44F4973" TYPE="ntfs" PARTUUID="15e705fa-02"
/dev/sda3: UUID="027109ce-9274-4fe0-90b1-aefbf823c5ed" TYPE="ext4" PTTYPE="dos" PARTUUID="15e705fa-03"
/dev/sda5: UUID="9cfe7282-75a2-49a7-bef3-706f2dc61f46" TYPE="ext4" PARTUUID="15e705fa-05"
/dev/sr0: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda4: UUID="ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54" TYPE="swap" PARTUUID="15e705fa-04"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== sda3/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 févr. 15 20:36 grub.d
total 76
-rwxr-xr-x 1 root root 9791 janv. 13 16:26 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 janv. 13 16:26 10_linux
-rwxr-xr-x 1 root root 11082 janv. 13 16:26 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 janv. 13 16:26 30_os-prober
-rwxr-xr-x 1 root root 1418 janv. 13 16:26 30_uefi-firmware
-rwxr-xr-x 1 root root 214 janv. 13 16:26 40_custom
-rwxr-xr-x 1 root root 216 janv. 13 16:26 41_custom
-rw-r--r-- 1 root root 483 janv. 13 16:26 README
=================== sda3/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.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : 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, /mnt/boot-sav/sda3.
sda5 : 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/sda5.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA Samsung SSD 750 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 5244MB 113GB 107GB primary ntfs boot
1 113GB 393GB 280GB extended
5 113GB 393GB 280GB logical ext4
3 393GB 495GB 102GB primary ext4
4 495GB 500GB 5242MB primary linux-swap(v1)
Model: HL-DT-ST DVDRAM GSA-T20L (scsi)
Disk /dev/sr0: 1554MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 7389kB 9880kB 2490kB EFI
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA Samsung SSD 750:;
2:5244MB:113GB:107GB:ntfs::boot;
1:113GB:393GB:280GB:::;
5:113GB:393GB:280GB:ext4::;
3:393GB:495GB:102GB:ext4::;
4:495GB:500GB:5242MB:linux-swap(v1)::;
BYT;
/dev/sr0:1554MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GSA-T20L:;
1:2048B:6143B:4096B::Apple:;
2:7389kB:9880kB:2490kB::EFI:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sr0 rom iso9660 1,5G Ubuntu 16.04.2 LTS amd64
loop0 loop squashfs 1,4G
sda disk 465,8G
sda4 part swap 4,9G
sda2 part ntfs 100G Windows 7 Pro
sda5 part ext4 260,9G
sda3 part ext4 95,1G
sda1 part 1K
KNAME ROTA RO RM STATE MOUNTPOINT
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
sda 0 0 0 running
sda4 0 0 0 [SWAP]
sda2 0 0 0 /mnt/boot-sav/sda2
sda5 0 0 0 /mnt/boot-sav/sda5
sda3 0 0 0 /mnt/boot-sav/sda3
sda1 0 0 0
=================== 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=1008240k,nr_inodes=252060,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=204768k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=9eb053bf4ca49cb2)
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/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/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10534)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=204768k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /mnt/boot-sav/sda5 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): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kfd kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vbi0 vfio vga_arbiter vhci vhost-net video0 video1 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 0c 00 8a 00 00 48 9c 00 |.............H..|
00000020 00 00 00 00 80 00 80 00 f8 ff 7f 0c 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 ff ff ac 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 73 49 4f a4 7f 4f a4 ee |........sIO..O..|
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 985M 0 985M 0% /dev
tmpfs tmpfs 200M 6.5M 194M 4% /run
/dev/sr0 iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
aufs aufs 1000M 90M 911M 9% /
tmpfs tmpfs 1000M 340K 1000M 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 1000M 0 1000M 0% /sys/fs/cgroup
tmpfs tmpfs 1000M 296K 1000M 1% /tmp
tmpfs tmpfs 200M 64K 200M 1% /run/user/999
/dev/sda2 fuseblk 100G 61G 40G 61% /mnt/boot-sav/sda2
/dev/sda3 ext4 94G 4.2G 85G 5% /mnt/boot-sav/sda3
/dev/sda5 ext4 257G 60M 244G 1% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 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: 0x15e705fa
Device Boot Start End Sectors Size Id Type
/dev/sda1 219959294 767057919 547098626 260.9G 5 Extended
/dev/sda2 * 10242048 219957247 209715200 100G 7 HPFS/NTFS/exFAT
/dev/sda3 767057920 966533119 199475200 95.1G 83 Linux
/dev/sda4 966533120 976771071 10237952 4.9G 82 Linux swap / Solaris
/dev/sda5 219959296 767057919 547098624 260.9G 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 sda3 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== User settings
The settings chosen by the user will not act on the boot.
Hors ligne
#5 Le 01/03/2017, à 21:43
- malbo
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Tu peux faire la "Réparation recommandée" de Boot-Repair. On peut voir ce qu'elle va faire dans cet extrait du Boot-Info :
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda3 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
C'est exactement ce qu'il faut.
Hors ligne
#6 Le 02/03/2017, à 00:12
- Babdu89
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonsoir.
En complément de ce que préconise malbo. @malbo, bonsoir.
Explication de ce qui à amené à cette situation.
Comme on voit une installation avec partition /home séparée /dev/sda5. Tu as utilisé l'installation manuelle,en passant par "Autre chose".
Tu as installé ton Ubuntu en mettant la première partie de Grub dans le secteur d'amorçage de la partition d'installation de ton Ubuntu, on voit çà ici en gras.
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 784101080 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos3)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 16.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
Alors qu'elle devrait être installé dans le secteur d'amorçage du disque d'installation. /dev/sda
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
Lorsque tu auras fait la réparation recommandée, stp, poste le boot info qui sera indiqué en fin d'utilisation de Boot-Repair. On devrait y voir quelque chose qui ressemble à ceci;
=> 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 (,msdos3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ntfs part_msdos biosdisk
---------------------------------------------------------------------------
Normalement, on ne verra pas de changement dans la partition /dev/sda3.
Il me semble aussi que l'on pouvait utiliser une autre solution.
Installer/utiliser "Easy-boot-bcd "dans Windows, ce qui permet en démarrant sur Windows et de choisir de lancer Windows ou Ubuntu.
malbo confirmera ou pas...
Remarque.
C'est la première foi que je vois une installation où Windows est installé dans une partition étendue, et qui fonctionne, çà contredit ce que l'on a souvent vu et lu dans le forum. Windows devant être installé dans une partition principale...
@+. Babdu89 .
Dernière modification par Babdu89 (Le 02/03/2017, à 00:16)
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 02/03/2017, à 07:36
- malbo
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
@Babdu89 : merci pour ce complément. Je n'avais même pas vu le coup de Grub installé dans le secteur de boot de la partition racine (*).
Par contre Windows n'est pas installé dans une partition étendue : sda2 est une partition primaire.
(*) quand la "Réparation recommandée" aura été faite, je guiderai jeancesaravon pour mettre à jour Grub suivant ce tuto.
Dernière modification par malbo (Le 02/03/2017, à 08:16)
Hors ligne
#8 Le 02/03/2017, à 10:12
- Babdu89
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour.
malbo a écrit.
Par contre Windows n'est pas installé dans une partition étendue : sda2 est une partition primaire.
Ah oui!.. Je n'avais pas les yeux en face des trous!...
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: dosPartition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 219,959,294 767,057,919 547,098,626 5 Extended
/dev/sda5 219,959,296 767,057,919 547,098,624 83 Linux
/dev/sda2 * 10,242,048 219,957,247 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda3 767,057,920 966,533,119 199,475,200 83 Linux
/dev/sda4 966,533,120 976,771,071 10,237,952 82 Linux swap / Solaris
C'est l'ordre des partitions (/sda1, /sda2) qui m'a trompé. Donc toujours pas de Windows qui démarrer installé dans une partition étendue...
Merci d'avoir rectifié mon erreur.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 02/03/2017, à 10:13)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#9 Le 02/03/2017, à 13:57
- jeancesaravon
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour et merci Hemger, Babdu89 et Malbo !
Apres le boot-repair, Grub est sur sda, avec encore la recommandation de le transferer de sda3 vers sda... voir le boot-info ci-dessous.
Au redemarrage, apparait l'invite grub> en "mode minimal".
Pour pouvoir vous ecrire, j'ai lance l'option Try Ubuntu du DVD, sans les accents !
Je peux aussi tout reinstaller (Windows depuis mon ISO, Ubuntu depuis le DVD) : merci de me dire alors comment eviter de mal installer Grub.
Voici le boot-info, en vous souhaitant bonne lecture.
Bien cordialement,
Jean
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 (,msdos3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
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
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 784101080 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos3)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 16.04.2 LTS
Boot files: /etc/fstab /boot/grub/i386-pc/core.img
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 219,959,294 767,057,919 547,098,626 5 Extended
/dev/sda5 219,959,296 767,057,919 547,098,624 83 Linux
/dev/sda2 * 10,242,048 219,957,247 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda3 767,057,920 966,533,119 199,475,200 83 Linux
/dev/sda4 966,533,120 976,771,071 10,237,952 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda2 EEA44F7FA44F4973 ntfs Windows 7 Pro
/dev/sda3 027109ce-9274-4fe0-90b1-aefbf823c5ed ext4
/dev/sda4 ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54 swap
/dev/sda5 9cfe7282-75a2-49a7-bef3-706f2dc61f46 ext4
/dev/sr0 2017-02-15-21-44-13-00 iso9660 Ubuntu 16.04.2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 2 00:14 ata-HL-DT-ST_DVDRAM_GSA-T20L_KY8756A1045 -> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 2 00:21 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 2 00:21 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 2 00:22 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 2 00:21 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 2 00:21 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 2 00:21 ata-Samsung_SSD_750_EVO_500GB_S36SNWCH745519D-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 2 00:21 wwn-0x5002538d70308f3d -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 2 00:21 wwn-0x5002538d70308f3d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 2 00:22 wwn-0x5002538d70308f3d-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 2 00:21 wwn-0x5002538d70308f3d-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 2 00:21 wwn-0x5002538d70308f3d-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 2 00:21 wwn-0x5002538d70308f3d-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=============================== sda3/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/sda3 during installation
UUID=027109ce-9274-4fe0-90b1-aefbf823c5ed / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=9cfe7282-75a2-49a7-bef3-706f2dc61f46 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda3: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
383.999397278 = 412.316213248 boot/grub/i386-pc/core.img 1
367.061481476 = 394.129264640 boot/vmlinuz-4.8.0-36-generic 2
367.061481476 = 394.129264640 vmlinuz 2
384.002952576 = 412.320030720 boot/initrd.img-4.8.0-36-generic 3
384.002952576 = 412.320030720 initrd.img 3
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/7789/mounts) leaked on lvs invocation. Parent PID 14584: bash
File descriptor 63 (pipe:[93279]) leaked on lvs invocation. Parent PID 14584: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 2017-03-02__00h21 ===================
boot-info version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
boot-info is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda2:Windows 7 (loader):Windows:chain
/dev/sda3:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda2: LABEL="Windows 7 Pro" UUID="EEA44F7FA44F4973" TYPE="ntfs" PARTUUID="15e705fa-02"
/dev/sda3: UUID="027109ce-9274-4fe0-90b1-aefbf823c5ed" TYPE="ext4" PTTYPE="dos" PARTUUID="15e705fa-03"
/dev/sda5: UUID="9cfe7282-75a2-49a7-bef3-706f2dc61f46" TYPE="ext4" PARTUUID="15e705fa-05"
/dev/sr0: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda4: UUID="ee6c4d39-1fd5-4ab9-8054-a4f3c76e4e54" TYPE="swap" PARTUUID="15e705fa-04"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : sda, not-sepboot, no-grubenv nogrub, signed , no-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, nogrubinstall, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sda5 : 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/sda5.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA Samsung SSD 750 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 5244MB 113GB 107GB primary ntfs boot
1 113GB 393GB 280GB extended
5 113GB 393GB 280GB logical ext4
3 393GB 495GB 102GB primary ext4
4 495GB 500GB 5242MB primary linux-swap(v1)
Model: HL-DT-ST DVDRAM GSA-T20L (scsi)
Disk /dev/sr0: 1554MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 7389kB 9880kB 2490kB EFI
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA Samsung SSD 750:;
2:5244MB:113GB:107GB:ntfs::boot;
1:113GB:393GB:280GB:::;
5:113GB:393GB:280GB:ext4::;
3:393GB:495GB:102GB:ext4::;
4:495GB:500GB:5242MB:linux-swap(v1)::;
BYT;
/dev/sr0:1554MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GSA-T20L:;
1:2048B:6143B:4096B::Apple:;
2:7389kB:9880kB:2490kB::EFI:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sr0 rom iso9660 1,5G Ubuntu 16.04.2 LTS amd64
loop0 loop squashfs 1,4G
sda disk 465,8G
sda4 part swap 4,9G
sda2 part ntfs 100G Windows 7 Pro
sda5 part ext4 260,9G
sda3 part ext4 95,1G
sda1 part 1K
KNAME ROTA RO RM STATE MOUNTPOINT
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
sda 0 0 0 running
sda4 0 0 0 [SWAP]
sda2 0 0 0 /mnt/boot-sav/sda2
sda5 0 0 0 /mnt/boot-sav/sda5
sda3 0 0 0 /mnt/boot-sav/sda3
sda1 0 0 0
=================== 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=1008240k,nr_inodes=252060,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=204768k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=28f2a2db0d5e0308)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10589)
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)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=204768k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /mnt/boot-sav/sda5 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): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kfd kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vbi0 vfio vga_arbiter vhci vhost-net video0 video1 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 0c 00 8a 00 00 48 9c 00 |.............H..|
00000020 00 00 00 00 80 00 80 00 f8 ff 7f 0c 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 ff ff ac 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 73 49 4f a4 7f 4f a4 ee |........sIO..O..|
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 985M 0 985M 0% /dev
tmpfs tmpfs 200M 6.5M 194M 4% /run
/dev/sr0 iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
aufs aufs 1000M 96M 904M 10% /
tmpfs tmpfs 1000M 340K 1000M 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 1000M 0 1000M 0% /sys/fs/cgroup
tmpfs tmpfs 1000M 296K 1000M 1% /tmp
tmpfs tmpfs 200M 60K 200M 1% /run/user/999
/dev/sda2 fuseblk 100G 61G 40G 61% /mnt/boot-sav/sda2
/dev/sda3 ext4 94G 4.1G 85G 5% /mnt/boot-sav/sda3
/dev/sda5 ext4 257G 60M 244G 1% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 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: 0x15e705fa
Device Boot Start End Sectors Size Id Type
/dev/sda1 219959294 767057919 547098626 260.9G 5 Extended
/dev/sda2 * 10242048 219957247 209715200 100G 7 HPFS/NTFS/exFAT
/dev/sda3 767057920 966533119 199475200 95.1G 83 Linux
/dev/sda4 966533120 976771071 10237952 4.9G 82 Linux swap / Solaris
/dev/sda5 219959296 767057919 547098624 260.9G 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 fix packages fix executable) and reinstall the grub2 of sda3 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== User settings
The settings chosen by the user will not act on the boot.
Hors ligne
#10 Le 02/03/2017, à 14:11
- malbo
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
J'ai du mal à comprendre pourquoi ça merde mais à présent, tu n'as même plus de fichier sda3/boot/grub/grub.cfg (le fichier de configuration de grub) alors que tu l'avais dans le Boot-Info du post #4. Au lieu d'avancer, ça régresse. Sans ce fichier grub.cfg, c'est normal que tu aies un "Minimal BASH-like" au démarrage puisque le chargeur d'amorçage qui se trouve dans le MBR du disque dur a la consigne d'aller fouiller dans le grub.cfg sensé se trouver dans la partition racine pour proposer le menu Grub.
EDIT : il y a une chose que j'aimerais bien savoir : est-ce que tu peux aller sur internet quand tu es en session live ?
Dernière modification par malbo (Le 02/03/2017, à 14:14)
Hors ligne
#11 Le 02/03/2017, à 16:26
- Babdu89
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonjour.
EDIT : il y a une chose que j'aimerais bien savoir : est-ce que tu peux aller sur internet quand tu es en session live ?
Pour pouvoir vous ecrire, j'ai lance l'option Try Ubuntu du DVD, sans les accents !
Je regarde le dernier boot-info.
Tu as fais un boot info après la réparation avec Boot-Repair. Donc on ne voit pas ce qu'a fait la réparation.
Stp comme expliqué au post#3.
Veux tu bien allé dans le dossier boot-sav
Dans Windows, il est dans la racine de la partition système Windows.
Dans Ubuntu installé, il est dans; /var/log/boot-sav/log/ dans le dossier "date,heure boot-repairxx"
Il me semble que tu devrais avoir deux dossiers "date,heure boot-info xx" et un dossier "date,heure boot-repairxx"
Je pense que c'est celui de la réparation recommandée, nous poster le contenu du fichier " RESULTS.txt" que l'on puisse voir ce qu'a fait la réparation recommandée.
Merci.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 02/03/2017, à 16:40)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#12 Le 03/03/2017, à 00:03
- jeancesaravon
Re : Grub n'est pas lancé au démarrage (boot-info disponible)
Bonsoir aux trois !
Mon erreur d'installation a été d'imposer à Ubuntu une partition que j'avais créée moi-même. J'ai donc tout recommencé en évitant ce piège :
J'ai donc réinstallé Windows depuis mon ISO, puis supprimé toutes les autres partitions avec GParted, enfin laissé Ubuntu s'installer où il voulait.
Ubuntu a créé une partition avec TOUT l'espace non alloué (360Go), partition qu'avec GParted j'ai ramenée à 100Go, puis j'ai rapproché l'espace de Swap autant que possible, enfin créé une partition de 260Go pour mes données, accessibles depuis les deux OS.
Quand j'ai vu le dernier message de Babdu89, je n'avais déjà plus accès aux données qu'il voulait consulter, et j'en suis vraiment désolé.
J'ai fait un 3ème boot-info, qui ne signale plus d'erreur. Il suggère juste de rapprocher les fichiers de démarrage de Linux du début du disque, sur une petite partition de boot séparée. Mais comme mon BIOS détecte ces fichiers, je n'ai rien fait !
Merci aux trois de m'avoir permis de comprendre mon erreur, et par là d'y remédier.
Bien cordialement,
Jean
Hors ligne