#1 Le 08/06/2016, à 18:06
- atrax
[Résolu] Impossible d'installer GRUB dans /dev/sda
Bonjour,
Je souhaite installer ubuntu 16.04 LTS sur un disque ssd 256 Go sur un pc portable récent (8Go ram, acheté en 2015). J'ai un autre disque dur de 1To classique (5400tr/min). J'ai effacé tous les disques en supprimant toutes les partitions avec gparted car je travaillais avant sous windows 8 avec boot uefi.
J'utilise une clé USB bootable contenant ubuntu 16.04 créée avec unetbootin. Mon disque SSD est repéré sdb. Je réalise l'installation par défaut et à la fin le message "Impossible d'installer GRUB dans /dev/sda..." s'affiche. Impossible d'aller plus loin, quelle que soit l'option choisie.
Options proposées : choisir un autre périphérique sur lequel installer le chargeur d'amorçage (j'ai essayé /dev/sda sans succès, de même que /dev/sdb), même l'option continuer sans chargeur d'amorçage échoue.
Cela fait une journée que j'essaie de résoudre le problème, sans succès.
J'ai essayé en boot UEFI, puis sans boot UEFI.
J'ai essayé après avoir éteint le PC à l'arrache de mettre une partition avec le drapeau boot avec gparted (j'ai une cle usb bootable avec gparted).
Je suis à cours d'idée et un peu démoralisé.
Avez-vous une solution pour ce problème ?
Merci d'avance
Dernière modification par atrax (Le 09/06/2016, à 15:48)
Notebook computer Clevo W230ST / SODIMM DDR3-1600 8Go / Intel celeron CPU 2950M @ 2 GHz x 2 / carte graphique GeForce GTX765 / écran 13.3 FHD, Ubuntu 16.04 LTS 64 bits
Hors ligne
#2 Le 08/06/2016, à 18:31
- Bougron
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Bonjour.
Il est fort possible que le disque SDA ait encore conservé une table de partition MSDOS du passé alors qu'elle doit être au format GPT.
Pour cela, avec le GPARTED, tu supprimes les partitions de SDA s'il y en a et avec l'onglet "périphériques" tu fabriques une table de partition "GPT".
Puis tu recommences ton installation... Le grub saura s'installer dans une partition qu'il va savoir créer dans SDA.
Que ce démarrage du bios soit dans le disque dur n'a aucune espace d'importance car il n'y a qu'1 Mo à lire à chaque démarrage.
Dernière modification par Bougron (Le 08/06/2016, à 22:25)
Hors ligne
#3 Le 08/06/2016, à 21:14
- atrax
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Bougron, je ne sais pas comment te remercier. J'avais passé la journée à chercher une solution sans succès et j'étais un peu désespéré. Heureusement qu'il existe encore des gens comme toi qui prennent le temps d'aider les newbies. Un grand merci pour la rapidité et la solution que tu proposes. Elle fonctionne parfaitement et je n'y aurai jamais pensé. Pour aider d'autres qui rencontreraient le même problème, voilà ce que j'ai fait pour solutionner le problème.
Pour installer ubuntu 16.04 seul sur un PC portable qui avait Windows 8 et 2 disques durs. Il faut activer le mode UEFI dans le bios. Il faut supprimer toutes les partitions des 2 disques avec gparted. J'ai créé une table de partition "GPT" avec gparted (onglet périphériques...) sur le gros disque de données (repéré sda). J'ai lancé l'installation de ubuntu sur le petit disque (repéré sdb) et tout s'est parfaitement passé. Merci encore.
Notebook computer Clevo W230ST / SODIMM DDR3-1600 8Go / Intel celeron CPU 2950M @ 2 GHz x 2 / carte graphique GeForce GTX765 / écran 13.3 FHD, Ubuntu 16.04 LTS 64 bits
Hors ligne
#4 Le 09/06/2016, à 06:29
- malbo
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
J'ai un gros doute sur le résultat obtenu. Je te prie de démarrer une session sur ton Ubuntu fraîchement installé et depuis cette session de faire un Boot-Info. Tu donneras l'URL du Boot-Info dans ta réponse
Hors ligne
#5 Le 09/06/2016, à 10:10
- atrax
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Merci pour ton aide. Voici l'URL
URL Boot-Info
Bien vu, j'ai l'impression que l'install de grub ne s'est pas bien effectuée. Cependant, ubuntu démarre correctement mais n'affiche pas de menu. Il est vrai que je lui ai demandé de démarrer automatiquement ma session, vu que je suis le seul utilisateur.
Je vais essayer ce que me conseille boot-info en fin de rapport. Je vous tiens au courant.
Dernière modification par atrax (Le 09/06/2016, à 10:19)
Notebook computer Clevo W230ST / SODIMM DDR3-1600 8Go / Intel celeron CPU 2950M @ 2 GHz x 2 / carte graphique GeForce GTX765 / écran 13.3 FHD, Ubuntu 16.04 LTS 64 bits
Hors ligne
#6 Le 09/06/2016, à 11:24
- malbo
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Ton Boot-Info est là :
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sdb.
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/fwupx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda: ___________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 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: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 500,118,191 500,118,191 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sdb2 1,050,624 483,504,127 482,453,504 Data partition (Linux)
/dev/sdb3 483,504,128 500,117,503 16,613,376 Swap partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda
/dev/sdb1 7F4C-7FE6 vfat
/dev/sdb2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ext4
/dev/sdb3 d63cb669-033a-47bb-bcf1-b3072ba74540 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 9 10:07 ata-HGST_HTS541010A9E680_JDD030CCKX32EH -> ../../sda
lrwxrwxrwx 1 root root 9 Jun 9 10:07 ata-KingFast_0129201510211 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 9 10:07 ata-KingFast_0129201510211-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 9 10:07 ata-KingFast_0129201510211-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jun 9 10:07 ata-KingFast_0129201510211-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Jun 9 10:07 wwn-0x5000cca793f70c75 -> ../../sda
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sdb1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb2 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
=========================== sdb2/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_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
else
search --no-floppy --fs-uuid --set=root 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
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-28ddf28a-1a15-490a-99f8-d31d3bd5bf01' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
else
search --no-floppy --fs-uuid --set=root 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
fi
linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-21-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-28ddf28a-1a15-490a-99f8-d31d3bd5bf01' {
menuentry 'Ubuntu, avec Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-28ddf28a-1a15-490a-99f8-d31d3bd5bf01' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
else
search --no-floppy --fs-uuid --set=root 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-28ddf28a-1a15-490a-99f8-d31d3bd5bf01' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
else
search --no-floppy --fs-uuid --set=root 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-28ddf28a-1a15-490a-99f8-d31d3bd5bf01' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
else
search --no-floppy --fs-uuid --set=root 28ddf28a-1a15-490a-99f8-d31d3bd5bf01
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-21-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb2/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/sdb2 during installation
UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=7F4C-7FE6 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sdb3 during installation
UUID=d63cb669-033a-47bb-bcf1-b3072ba74540 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sdb2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
40.642124176 = 43.639148544 boot/grub/grub.cfg 1
1.546569824 = 1.660616704 boot/vmlinuz-4.4.0-21-generic 1
40.640193939 = 43.637075968 boot/vmlinuz-4.4.0-21-generic.efi.signed 1
1.546569824 = 1.660616704 vmlinuz 1
1.805660248 = 1.938812928 boot/initrd.img-4.4.0-21-generic 2
1.805660248 = 1.938812928 initrd.img 2
ADDITIONAL INFORMATION :
=================== log of boot-info 2016-06-09__10h07 ===================
boot-info version : 4ppa37
boot-sav version : 4ppa37
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa37
boot-info is executed in installed-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=28ddf28a-1a15-490a-99f8-d31d3bd5bf01 ro quiet splash vt.handoff=7
sda may have broken partition table.
sda may have broken partition table.
=================== os-prober:
/dev/sdb2:L'OS actuellement utilisé - Ubuntu 16.04 LTS CurrentSession:linux
=================== blkid:
/dev/sdb1: UUID="7F4C-7FE6" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="b28b55b4-3a7e-4862-81c3-27c4e633c6a2"
/dev/sdb2: UUID="28ddf28a-1a15-490a-99f8-d31d3bd5bf01" TYPE="ext4" PARTUUID="f6f24227-3b82-4265-aae1-d9a721c9de24"
/dev/sdb3: UUID="d63cb669-033a-47bb-bcf1-b3072ba74540" TYPE="swap" PARTUUID="b03c3bca-3908-451d-84b9-38f6eaee67ba"
/dev/sda: PTUUID="e19872c9-3e73-4ec4-93af-273f43df9847" PTTYPE="gpt"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avril 21 00:15 grub.d
total 76
-rwxr-xr-x 1 root root 9791 avril 16 00:00 00_header
-rwxr-xr-x 1 root root 6258 mars 15 19:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 avril 16 00:00 10_linux
-rwxr-xr-x 1 root root 11082 avril 16 00:00 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 13:44 20_memtest86+
-rwxr-xr-x 1 root root 11692 avril 16 00:00 30_os-prober
-rwxr-xr-x 1 root root 1418 avril 16 00:00 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 16 00:00 40_custom
-rwxr-xr-x 1 root root 216 avril 16 00:00 41_custom
-rw-r--r-- 1 root root 483 avril 16 00:00 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"
/boot/efi detected in the fstab of sdb2: UUID=7F4C-7FE6 (sdb1)
=================== efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0007
Boot0000* ubuntu HD(1,GPT,b28b55b4-3a7e-4862-81c3-27c4e633c6a2,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0007* ubuntu HD(1,GPT,b28b55b4-3a7e-4862-81c3-27c4e633c6a2,0x800,0x100000)/File(EFIUbuntugrubx64.efi)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sdb2 : sdb, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, 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, .
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, 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, not-far, /boot/efi.
sdb : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA HGST HTS541010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
Model: ATA KingFast (scsi)
Disk /dev/sdb: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 248GB 247GB ext4
3 248GB 256GB 8506MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A9:;
BYT;
/dev/sdb:256GB:scsi:512:512:gpt:ATA KingFast:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:248GB:247GB:ext4::;
3:248GB:256GB:8506MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 931,5G
sdb disk 238,5G
sdb1 part vfat 512M
sdb2 part ext4 230,1G
sdb3 part swap 7,9G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sdb 0 0 0 running
sdb1 0 0 0 /boot/efi
sdb2 0 0 0 /
sdb3 0 0 0 [SWAP]
=================== 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=4027944k,nr_inodes=1006986,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=809448k,mode=755)
/dev/sdb2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=809448k,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 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sdb sdb1 sdb2 sdb3 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 e6 7f 4c 7f 4e 4f 20 4e 41 4d 45 20 20 |..)..L.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 791M 9.5M 782M 2% /run
/dev/sdb2 ext4 227G 3.7G 212G 2% /
tmpfs tmpfs 3.9G 180K 3.9G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 vfat 511M 3.6M 508M 1% /boot/efi
tmpfs tmpfs 791M 56K 791M 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: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E19872C9-3E73-4EC4-93AF-273F43DF9847
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 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: gpt
Disk identifier: 30104E0B-BF0F-4336-BE34-62211A41DA8D
Device Start End Sectors Size Type
/dev/sdb1 2048 1050623 1048576 512M EFI System
/dev/sdb2 1050624 483504127 482453504 230.1G Linux filesystem
/dev/sdb3 483504128 500117503 16613376 7.9G Linux swap
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdb2, using the following options: sdb1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
=================== Final advice in case of suggested repair
Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04 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]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2
C'est une installation de Ubuntu 16.04 64 bits en mode EFI comme tu peux voir dans cet extrait ("is setup in EFI-mode for this installed-session") :
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
A mon avis, ton installation est correcte parce que la partition EFI se trouve sur le même "disque" (en fait c'est un SSD) que la partition racine (je craignais que cette partition EFI ait été créée sur le disque sda : c'était ça mon gros doute).
Pourrais-tu donner le nom COMPLET du modèle de ce portable (et son fabricant) parce que je souhaiterais l'ajouter dans la liste des portables déjà testés avec Ubuntu (voir ici) ?
Dernière modification par malbo (Le 09/06/2016, à 11:30)
Hors ligne
#7 Le 09/06/2016, à 15:42
- atrax
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Le descriptif de ma machine apparaît maintenant dans ma signature.
Je veux bien te croire que l'installation est correcte (ubuntu démarre et fonctionne correctement). Maintenant, dans le rapport, à la fin, il est signalé
"Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04 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]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)"
Bon, il est écrit "pourrait" et apparemment il peut, donc je ne touche à rien et je mets Résolu.
Merci pour tout.
Notebook computer Clevo W230ST / SODIMM DDR3-1600 8Go / Intel celeron CPU 2950M @ 2 GHz x 2 / carte graphique GeForce GTX765 / écran 13.3 FHD, Ubuntu 16.04 LTS 64 bits
Hors ligne
#8 Le 09/06/2016, à 18:11
- malbo
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
dans le rapport, à la fin, il est signalé
"Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04 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]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)"
Cette alerte est une grosse connerie. Pour un ou deux pélerins qui ont de vieux ordis tout pourris qui pourraient être concernés par cette alerte, elle inquiète tout le monde pour rien. Ne t'occupe pas de cette alerte, elle ne te concerne pas.
Hors ligne
#9 Le 29/04/2020, à 19:37
- M4
Re : [Résolu] Impossible d'installer GRUB dans /dev/sda
Bonjour,
J'ai le meme problème, peux tu m'aider stp?
Problème d'installation
Hors ligne