#1 Le 01/09/2016, à 16:00
- jeanlou75
[Résolu] Grub
Bonjour,
Il y a quelque temps (1 an) j'ai changé mon DD qui donnait des signes de faiblesse.
De façon concomitante mais sans que je puisse l’affirmer, de façon aléatoire au démarrage le système me signalait qu'il ne trouvait pas l'amorce pour le démarrage. J'ai tout exploré, Grub Repare et j'ai laissé tombé : ce n'était que quelques désagréments.
Depuis le passage à la 16.04 LTS plus aucun problème ! J'ai eu une mise à jour de Grub qui me demandait où le positionner mais ma réponse sempblait sans effet ; cela étant tout fonctionne.
J'aimerais avec l'aide d'un expert vérifié l’emplacement et le paramétrage de Grub.
Est-ce que quelqu'un pourrait m'aider.
Merci beaucoup
Jeanlou
Voila le contenu du fichier /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"
Dernière modification par jeanlou75 (Le 17/09/2016, à 07:59)
Hors ligne
#2 Le 01/09/2016, à 16:20
- malbo
Re : [Résolu] Grub
Bonjour,
Si ton installation de Ubuntu est réalisée en mode Bios classique (pas en mode EFI), tu peux passer cette commande depuis une session de ton Ubuntu installé :
sudo debconf-show grub-pc
Tu colleras le résultat de cette commande dans ta réponse. Je t'indiquerai ce qu'il faut en retirer en m'appuyant sur ce que j'explique dans ce fil.
Si ton installation est réalisée en mode EFI, fais un Boot-Info depuis une session de ton Ubuntu installé et donne l'URL de ce Boot-Info dans ta réponse : j'analyserai ce Boot-Info et je te dirai si l'emplacement du chargeur d'amorçage de Grub est correctement enregistré (ça se voit dans le fichier fstab)
Dernière modification par malbo (Le 01/09/2016, à 16:24)
Hors ligne
#3 Le 01/09/2016, à 16:25
- jeanlou75
Re : [Résolu] Grub
Bonjour,
Voilà le résultat de la commande :
grub-pc/hidden_timeout: true
grub2/linux_cmdline_default: quiet splash
grub-pc/install_devices_empty: false
* grub-pc/install_devices: ,
grub-pc/install_devices_disks_changed:
grub2/force_efi_extra_removable: false
grub-pc/disk_description:
grub-pc/install_devices_failed_upgrade: true
grub-pc/mixed_legacy_and_grub2: true
* grub-pc/install_devices_failed: true
grub2/linux_cmdline:
grub2/device_map_regenerated:
grub-pc/chainload_from_menu.lst: true
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet splash
grub-pc/timeout: 10
grub2/kfreebsd_cmdline:
grub-pc/kopt_extracted: false
grub-pc/partition_description:
Merci de ton aide !
Dernière modification par cqfd93 (Le 01/09/2016, à 18:23)
Hors ligne
#4 Le 01/09/2016, à 16:32
- malbo
Re : [Résolu] Grub
Effectivement, la ligne grub-pc/install_devices est vide :
* grub-pc/install_devices: ,
fais un Boot-Info depuis une session de ton Ubuntu installé et donne l'URL de ce Boot-Info dans ta réponse.
Pour faire ce Boot-Info, laisse bien connectés tous les disques durs internes et éventuellement les lecteurs externes qui sont habituellement connectés sinon je vais te proposer une solution inadaptée.
Hors ligne
#5 Le 01/09/2016, à 16:35
- jeanlou75
Re : [Résolu] Grub
Voilà le résultat de Boot-info
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 (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
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
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 972,615,679 972,613,632 83 Linux
/dev/sda2 972,617,726 976,771,071 4,153,346 5 Extended
/dev/sda5 972,617,728 976,771,071 4,153,344 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee ext4
/dev/sda5 53563133-e4c1-4fa6-a175-46feda6494e0 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Sep 1 15:34 ata-Optiarc_DVD_RW_AD-7560S_SA95125002 -> ../../sr0
lrwxrwxrwx 1 root root 9 Sep 1 16:33 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 1 16:33 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 1 16:33 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 1 16:33 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Sep 1 16:33 wwn-0x50014ee604fde516 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 1 16:33 wwn-0x50014ee604fde516-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 1 16:33 wwn-0x50014ee604fde516-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 1 16:33 wwn-0x50014ee604fde516-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
=========================== 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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-36-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
menuentry 'Ubuntu, avec Linux 4.4.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-advanced-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-36-generic…'
linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-36-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-init-upstart-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-36-generic…'
linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-36-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-recovery-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-36-generic…'
linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-36-generic
}
menuentry 'Ubuntu, avec 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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-34-generic…'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-34-generic…'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
fi
echo 'Chargement de Linux 4.4.0-34-generic…'
linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-34-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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
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 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
else
search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
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=27b92239-5e3d-46c2-a67b-3fe5c52df1ee / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=53563133-e4c1-4fa6-a175-46feda6494e0 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
309.294700623 = 332.102656000 boot/grub/grub.cfg 1
31.218727112 = 33.520852992 boot/vmlinuz-4.4.0-34-generic 1
3.647926331 = 3.916931072 boot/vmlinuz-4.4.0-36-generic 1
3.647926331 = 3.916931072 vmlinuz 1
31.218727112 = 33.520852992 vmlinuz.old 1
308.266498566 = 330.998632448 boot/initrd.img-4.4.0-34-generic 3
309.167762756 = 331.966357504 boot/initrd.img-4.4.0-36-generic 5
309.167762756 = 331.966357504 initrd.img 5
308.266498566 = 330.998632448 initrd.img.old 3
ADDITIONAL INFORMATION :
=================== log of boot-info 2016-09-01__16h32 ===================
boot-info version : 4ppa38
boot-sav version : 4ppa38
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa38
boot-info is executed in installed-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, i686)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash
Partition 2 does not start on physical sector boundary.
=================== os-prober:
/dev/sda1:L'OS actuellement utilisé - Ubuntu 16.04.1 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="27b92239-5e3d-46c2-a67b-3fe5c52df1ee" TYPE="ext4" PARTUUID="000c182d-01"
/dev/sda5: UUID="53563133-e4c1-4fa6-a175-46feda6494e0" TYPE="swap" PARTUUID="000c182d-05"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Partition 2 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 août 30 14:36 grub.d
total 76
-rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
-rwxr-xr-x 1 root root 6258 mars 15 19:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
-rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
-rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
-rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
-rw-r--r-- 1 root root 483 juil. 23 02:09 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== UEFI/Legacy mode:
This installed-session is not EFI-compatible.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 32, 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, .
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD5000BPKX-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 498GB 498GB primary ext4 boot
2 498GB 500GB 2127MB extended
5 498GB 500GB 2127MB logical linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000BPKX-2:;
1:1049kB:498GB:498GB:ext4::boot;
2:498GB:500GB:2127MB:::;
5:498GB:500GB:2127MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part ext4 463,8G
sda2 part 1K
sda5 part swap 2G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /
sda2 1 0 0
sda5 1 0 0 [SWAP]
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1004444k,nr_inodes=210776,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=204400k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=204400k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro 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 fd full fuse fw0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg kvm lightnvm lirc0 log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null nvidia0 nvidiactl nvidia-uvm port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vboxdrv vboxdrvu vboxnetctl vboxusb vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
Partition 2 does not start on physical sector boundary.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 981M 0 981M 0% /dev
tmpfs tmpfs 200M 6.8M 193M 4% /run
/dev/sda1 ext4 457G 327G 107G 76% /
tmpfs tmpfs 999M 20M 979M 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 999M 0 999M 0% /sys/fs/cgroup
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 200M 68K 200M 1% /run/user/1000
=================== 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/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Disk identifier: 0x000c182d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 972615679 972613632 463.8G 83 Linux
/dev/sda2 972617726 976771071 4153346 2G 5 Extended
/dev/sda5 972617728 976771071 4153344 2G 82 Linux swap / Solaris
=================== 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
=================== Final advice in case of suggested repair
Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. ([url]http://doc.ubuntu-fr.org/tutoriel/partition_boot[/url])
=================== 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 01/09/2016, à 18:23)
Hors ligne
#6 Le 01/09/2016, à 17:03
- malbo
Re : [Résolu] Grub
Tu vas pouvoir suivre ce tuto : https://forum.ubuntu-fr.org/viewtopic.php?id=440159
Arrivé à la "5ème étape", tu sélectionneras /dev/sda
Si tu as bien réussi la modif, la commande "sudo debconf-show grub-pc" devra te retourner une ligne dûment remplie :
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
Hors ligne
#7 Le 01/09/2016, à 17:06
- jeanlou75
Re : [Résolu] Grub
Je viens de le lancer mais à la troisième étape cela s'arrête et affiche :
Création du fichier de configuration GRUB…
Attention : Définir GRUB_TIMEOUT à une valeur non nulle si GRUB_HIDDEN_TIMEOUT est définie n’est plus possible.
Image Linux trouvée : /boot/vmlinuz-4.4.0-36-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-36-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-34-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-34-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 01/09/2016, à 18:22)
Hors ligne
#8 Le 01/09/2016, à 17:13
- jeanlou75
Re : [Résolu] Grub
Il semblerait que l'update ait été partiellement ou mal fait mais en tout cas il ne se lance pas !
Je viens d'essayer l'upgrade et cela me renvoie la même chose
Faut-il tenter cette commande :
grub-install --force /dev/sda
Dernière modification par jeanlou75 (Le 01/09/2016, à 17:47)
Hors ligne
#9 Le 01/09/2016, à 18:14
- malbo
Re : [Résolu] Grub
Tu pourrais tenter une purge et réinstallation de Grub avec Boot-Repair : c'est dans l'Utilisation avancée de Boot-Repair. Il faut cocher la case "Purger Grub avant de la réinstaller" (dans l'onglet Options de Grub)
et dans l'onglet Emplacement de Grub, il faut sélectionner "Placer Grub dans : sda"
Le but du jeu, c'est qu'à l'issue de l'opération, la commande "sudo debconf-show grub-pc" te donne la ligne "* grub-pc/install_devices" qui ne soit pas vide...
Dernière modification par malbo (Le 01/09/2016, à 18:18)
Hors ligne
#10 Le 01/09/2016, à 18:46
- jeanlou75
Re : [Résolu] Grub
C'est fait ! voilà le résultat :
grub2/device_map_regenerated:
grub2/linux_cmdline_default: quiet splash
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
grub2/kfreebsd_cmdline_default: quiet splash
grub-pc/install_devices_failed_upgrade: true
grub-pc/install_devices_failed: false
grub-pc/disk_description:
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
grub-pc/timeout: 10
grub2/kfreebsd_cmdline:
grub-pc/hidden_timeout: true
grub-pc/mixed_legacy_and_grub2: true
grub-pc/install_devices_disks_changed:
grub2/force_efi_extra_removable: false
grub-pc/install_devices_empty: false
grub-pc/postrm_purge_boot_grub: false
grub-pc/partition_description:
grub2/linux_cmdline:
Veux-tu que je t'envoie le rapport de Grub Repair ?
plus simple voilà le l'url
http://paste2.org/0ZNjOgfs
Dernière modification par jeanlou75 (Le 01/09/2016, à 19:08)
Hors ligne
#11 Le 01/09/2016, à 18:58
- cqfd93
Re : [Résolu] Grub
Modération : merci d'ajouter les balises code (explications ici) à ton message #10.
Ajout des balises à un texte existant :
sélectionner le texte
cliquer sur le bouton <>
− cqfd93 −
Hors ligne
#12 Le 01/09/2016, à 19:00
- malbo
Re : [Résolu] Grub
C'est réparé : tu as bien obtenu la ligne :
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
conformément à ce que j'indiquais dans le post #6
A présent que l'emplacement de ton chargeur d'amorçage de Grub est correctement enregistré dans les tablettes de Grub, tu n'auras plus d'ennuis lors d'une mise à niveau par internet (voire d'une mise à jour un peu lourdingue de Grub) : ce chargeur sera automatiquement mis à jour.
Je n'ai pas besoin du rapport de Boot-repair puisque je vois que la réparation est bien faite.
Dernière modification par malbo (Le 01/09/2016, à 19:01)
Hors ligne
#13 Le 01/09/2016, à 19:09
- jeanlou75
Re : [Résolu] Grub
Merci beaucoup de ton aide !!
Jeanlou
Hors ligne
#14 Le 16/09/2016, à 07:53
- jeanlou75
Re : [Résolu] Grub
Bonjour,
Le problème est réapparu, voilà le contenu du fichier :
grub-pc/timeout: 10
grub-pc/partition_description:
grub-pc/disk_description:
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed: false
grub2/force_efi_extra_removable: false
grub-pc/chainload_from_menu.lst: true
grub-pc/hidden_timeout: true
grub-pc/install_devices_empty: false
grub2/linux_cmdline:
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
grub2/kfreebsd_cmdline_default: quiet splash
grub2/kfreebsd_cmdline:
grub-pc/kopt_extracted: false
grub2/device_map_regenerated:
grub-pc/install_devices_disks_changed:
grub-pc/mixed_legacy_and_grub2: true
grub-pc/install_devices_failed_upgrade: true
grub2/linux_cmdline_default: quiet splash
Je ne comprends pas ce qui se passe
Merci de ton aide
Jeanlou
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 16/09/2016, à 09:41)
Hors ligne
#15 Le 16/09/2016, à 09:17
- malbo
Re : [Résolu] Grub
Bonjour,
Le problème est réapparu
Peux-tu prendre le temps de décrire comment se manifeste le problème. Prends des photos au besoin et insère-les dans ta réponse en suivant les indications de ce paragraphe 4.4 Insérer une image
Hors ligne
#16 Le 16/09/2016, à 09:54
- jeanlou75
Re : [Résolu] Grub
Le même problème à, savoir que le boot ne trouve pas le DD et l'amorce je suis obligé de redemarrer jusqu'à ce que le boot trouve le bon disque
Je me demandais si la ligne :
grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
que tu m'as aidé a renseigné. Du fait qu'elle est précédée d'une ligne
grub-pc/install_devices_failed: false
n'était pas la raison de la réapparition de ce problème
Merci de ton aide
Jeanlou
Hors ligne
#17 Le 16/09/2016, à 10:39
- malbo
Re : [Résolu] Grub
Le même problème à, savoir que le boot ne trouve pas le DD
Décris plus précisément s'il te plaît, y compris avec photos comme j'ai demandé. Parce que "le boot ne trouve pas le DD", moi je ne sais pas ce que c'est.
Hors ligne
#18 Le 16/09/2016, à 14:27
- jeanlou75
Re : [Résolu] Grub
Excuses moi mais tout va mal depuis deux jours !
Ce problème que je croyais résolu et je n'arrive plus à imprimer !
je n'arrive pas à intégrer la photo.
au démarrage le système dit :
Reboot and select proper Boot device
or insert Boot media in selected boot device and press a key
[img=écran de démarrage]file:///home/jlh/Bureau/IMG_20160916_141702.jpg[/img]
Au redémarrage suivant ou plusieurs démarrage plus tard, le système démarre
Merci de ton aide
Jeanlou
Dernière modification par jeanlou75 (Le 16/09/2016, à 14:31)
Hors ligne
#19 Le 16/09/2016, à 15:11
- malbo
Re : [Résolu] Grub
au démarrage le système dit :
Reboot and select proper Boot device
or insert Boot media in selected boot device and press a key
ça me va. Je vois de quoi il s'agit.
Par ailleurs, je te prie de donner le nom complet du modèle de ton ordi et son fabricant. Si tu avais Windows préinstallé à l'achat, précise quel Windows (Win7, Win8, Win10).
Hors ligne
#20 Le 16/09/2016, à 15:16
- jeanlou75
Re : [Résolu] Grub
C'est un ordi laptop que j'ai acheté avec ubuntu installé il y a qq années
J'ai 2 G de mémoire
un disque dur de 500
processeur Intel® Core™ i5 CPU M 430 @ 2.27GHz × 4
carte graphique GeForce GTS 250M/PCIe/SSE2
et c'est un système 32 bits
Hors ligne
#21 Le 16/09/2016, à 15:34
- malbo
Re : [Résolu] Grub
OK donc ce n'est pas un ordi équipé du système UEFI mais d'un bon vieux Bios. Est-ce que tu sais aller dans le Bios au démarrage de l'ordi ? Si oui, tu dois avoir la possibilité de sélectionner un périphérique au démarrage pour que le démarrage se fasse directement sur lui. Peux-tu investiguer la chose ? Si je te questionne là-dessus, c'est que le message "Reboot and select proper Boot device or insert Boot media in selected boot device and press a key" que tu vois au démarrage, ce n'est pas Grub qui te l'adresse : c'est le Bios lui-même qui ne trouve aucun périphérique pour démarrer dessus et qui te le signale.
Dernière modification par malbo (Le 16/09/2016, à 15:34)
Hors ligne
#22 Le 16/09/2016, à 16:00
- jeanlou75
Re : [Résolu] Grub
Je suis allé dans le bios et il y avait ma cle usb en 1ère position !?
j'ai tout rétabli
1) le disque dur
2) le lecteur de dvd
j'ai fait 7 ou 8 essais (peut-être un peu trop) et le dernier il n'y avait que le tiret du 8 qui clignotait. Je suis retourné dans le bios et il avait mis le lecteur optique en premier : je pense que cela est du à mes essais répétitif.
Donc le fichier obtenu par sudo debconf-show grub-pc
et qui montrer une 1ère ligne devices failed n'est pas en cause ?
grub-pc/install_devices_failed_upgrade: true
grub2/force_efi_extra_removable: false
grub-pc/install_devices_failed: false
grub2/linux_cmdline:
grub-pc/hidden_timeout: true
grub2/linux_cmdline_default: quiet splash
grub-pc/install_devices_empty: false
grub2/kfreebsd_cmdline_default: quiet splash
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ
grub-pc/timeout: 10
grub-pc/chainload_from_menu.lst: true
grub2/device_map_regenerated:
grub-pc/disk_description:
grub-pc/partition_description:
grub-pc/kopt_extracted: false
grub-pc/mixed_legacy_and_grub2: true
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_disks_changed:
grub2/kfreebsd_cmdline:
Dernière modification par jeanlou75 (Le 16/09/2016, à 17:24)
Hors ligne
#23 Le 16/09/2016, à 16:05
- malbo
Re : [Résolu] Grub
Tu ne veux pas comprendre. Quand ton démarrage merde, ce n'est pas la faute de Grub : ça se passe entre le Bios et ton matériel. Ce n'est pas la peine de chercher dans la configuration de Grub puisqu'il n'est pas dans le coup.
Dernière modification par malbo (Le 16/09/2016, à 16:05)
Hors ligne
#24 Le 16/09/2016, à 16:07
- jeanlou75
Re : [Résolu] Grub
ok ok et tu as une idée de ce qui pourrait être en cause ?
Hors ligne