#1 Le 30/05/2016, à 19:14
- ucem
RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonjour,
On vient de me donner un Macbook pro sur lequel il y avait installé un Ubuntu uniquement, pas de système mac, et démarrage simple après le gong de Mac sur un écran clair !
J'ai téléchargé Kubuntu 16.04 LTS 32 bits que j'ai gravé sur DVD : ok pas de soucis
Je boot avec la touche C , kubuntu live se lance, et fonctionne correctement
Donc je lance l'installation
Je crée une partition /home , une / , une swap , une ext4 pour le grub et je laisse la petite partition EFI qui existait déjà
L'installation se passe correctement mais au démarrage pas de grub !
Je tombe sur l'invite : grub>_ et là je sèche
J'ai rebouté avec supergrub 2 qui me trouve bien Kubuntu 16.04 etr qui démarre bien !
J'ai essayé avec boot repair qui me dit que mon mbr n'est pas compatible avec le efi car pas en 64 bits mais en 32bits ..... ??
Mais je ne sais pas comment faire maintenant afin de réinstaller le grub quelque part.
Quelqu'un peut il m'aider svp ?
je précise bien que il n'ya que Linux Kubuntu 16.04 d'installé , le système mac est supprimé
Dernière modification par ucem (Le 01/06/2016, à 17:25)
Hors ligne
#2 Le 31/05/2016, à 02:22
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonsoir.
Tu fiches grub à la poubelle....
Tu installes la version 64 bits.
Tu utilises Refind pour booter en EFI
Hors ligne
#3 Le 31/05/2016, à 11:11
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonjour
Merci de tes infos
Après l'installation de la version 64 bits, tu me dis d'utiliser refind ! Est ce bien cela dont tu parles : refind sur sourceforge !
Je ne parle pas anglais euhhh.... je l'utilise comment ce refind après l'installation de Ubuntu 64 bits ?
refind est comme supergrub 2 ? il va installer quoi ?
C'est pas clair pour moi !
Hors ligne
#4 Le 31/05/2016, à 12:24
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonjour
Si ton ubuntu boote sans problème, ce n'est pas la peine d'installer refind.
Refind a les mêmes fonctions que grub, que super grub2: C'est à dire afficher les OS présents sur les supports disques et te permettre de choisir....
En fait, il remplace grubx64 ou shimx64 lorsque ceux-ci ne fonctionnent pas sous MAC. Si dans ton contexte, cela fonctionne, c'est inutile surtout que tu n'as qu'un seul OS.
Hors ligne
#5 Le 31/05/2016, à 14:09
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
ok
Je vais donc installer la version 64 bits.
Si j'ai bien compris, pendant l'installation pas la peine d'installer le grub alors !
ou
grub n'existe pas dans la version 64 bits ?
Hors ligne
#6 Le 31/05/2016, à 19:12
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Pendant l'installation,
Cela finira pas l'installation du GRUB et cela devrait bien se passer si tu as une partition FAT32 pour recevoir le démarrage.
Après il y a pas mal de bios qui ne veulent démarrer avec le grub... Je ne connais pas la catégorie du tien.
Mais il me semble que tous les bios apple bootent avec refind.....
Donc tu verras bien, Si cela marche parfait, Sinon, tu ne t'entêtes pas et ti installes refind. Ce qui ne sera peut-être pas facile. (un premier lancement avec supergrub2 probablement)...
Hors ligne
#7 Le 31/05/2016, à 19:55
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Re,
J'ai installé refind .. je redémarre mais rien toujours pareil il n'y a que l'invite grub>
J'ai installé boot-repair voici le 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
1050624 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/BOOT/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/EFI/BOOT/drivers_x64/ext4_x64.efi
sda2: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ 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: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,050,623 1,050,623 ee GPT
/dev/sda2 * 1,050,624 8,863,743 7,813,120 83 Linux
/dev/sda3 968,912,896 976,771,071 7,858,176 82 Linux swap / Solaris
/dev/sda4 8,863,744 206,129,151 197,265,408 83 Linux
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 8,863,743 7,813,120 BIOS Boot partition
/dev/sda3 968,912,896 976,771,071 7,858,176 Swap partition (Linux)
/dev/sda4 8,863,744 206,129,151 197,265,408 Data partition (Linux)
/dev/sda5 206,129,152 968,912,895 762,783,744 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 862D-E237 vfat
/dev/sda2
/dev/sda3 7d6956dc-31a7-4725-872e-4d3d91eca6d6 swap
/dev/sda4 c46b03d5-6430-4187-be4b-7047f120a29d ext4
/dev/sda5 9f940f9d-389e-4e17-8940-5cfd809c315e ext4
/dev/sr0 2010-05-16-23-41-07-00 iso9660 CDROM
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 May 31 19:32 ata-MATSHITADVD-R_UJ-868_dE25E37D -> ../../sr0
lrwxrwxrwx 1 root root 9 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184 -> ../../sda
lrwxrwxrwx 1 root root 10 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 31 19:45 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 May 31 19:32 usb-APPLE_SD_Card_Reader_000000009833-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 May 31 19:45 wwn-0x50014ee656f907f1 -> ../../sda
lrwxrwxrwx 1 root root 10 May 31 19:45 wwn-0x50014ee656f907f1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 31 19:45 wwn-0x50014ee656f907f1-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 31 19:45 wwn-0x50014ee656f907f1-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 31 19:45 wwn-0x50014ee656f907f1-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 31 19:45 wwn-0x50014ee656f907f1-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda4 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5 /home ext4 (rw,relatime,data=ordered)
=========================== sda4/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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
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
#set_background_image "images/tile.png";
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-c46b03d5-6430-4187-be4b-7047f120a29d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
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 ###
--------------------------------------------------------------------------------
=============================== sda4/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/sda4 during installation
UUID=c46b03d5-6430-4187-be4b-7047f120a29d / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=9f940f9d-389e-4e17-8940-5cfd809c315e /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=7d6956dc-31a7-4725-872e-4d3d91eca6d6 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda4: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
56.540657043 = 60.710068224 boot/grub/grub.cfg 1
56.542263031 = 60.711792640 boot/grub/i386-pc/core.img 1
5.662780762 = 6.080364544 boot/vmlinuz-4.4.0-21-generic 1
5.662780762 = 6.080364544 vmlinuz 1
57.078121185 = 61.287165952 boot/initrd.img-4.4.0-21-generic 3
57.078121185 = 61.287165952 initrd.img 3
========= Devices which don't seem to have a corresponding hard drive: =========
sdb
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-05-31__19h45 ===================
boot-repair version : 4ppa37
boot-sav version : 4ppa37
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa37
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
boot-repair 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 root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d ro
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
=================== os-prober:
/dev/sda4:L'OS actuellement utilisé - Ubuntu 16.04 LTS CurrentSession:linux
=================== blkid:
/dev/sda4: UUID="c46b03d5-6430-4187-be4b-7047f120a29d" TYPE="ext4" PARTUUID="f2983e87-7103-4dfb-b8a3-2d8f517da373"
/dev/sda1: UUID="862D-E237" TYPE="vfat" PARTUUID="6f8f75b3-0d05-4da0-b630-b1e23f3ec03e"
/dev/sda3: UUID="7d6956dc-31a7-4725-872e-4d3d91eca6d6" TYPE="swap" PARTUUID="a6d984ad-8254-4c05-9df5-1d3d23df9fe6"
/dev/sda5: UUID="9f940f9d-389e-4e17-8940-5cfd809c315e" TYPE="ext4" PARTUUID="3bba4bca-a5a2-41bc-b858-28c417167bf2"
/dev/sr0: UUID="2010-05-16-23-41-07-00" LABEL="CDROM" TYPE="iso9660" PTTYPE="dos"
/dev/sda2: PARTUUID="f1d48ac0-245e-435b-bd1a-d6566d3f7f9f"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avril 21 00:17 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"
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/drivers_x64/ext4_x64.efi
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda4 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, 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.
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, /home.
sda2 : 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, not-far, /mnt/boot-sav/sda2.
sda : GPT, BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD5000BPVT-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 4538MB 4000MB bios_grub
4 4538MB 106GB 101GB ext4
5 106GB 496GB 391GB ext4
3 496GB 500GB 4023MB linux-swap(v1)
Model: MATSHITA DVD-R UJ-868 (scsi)
Disk /dev/sr0: 1448kB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000BPVT-2:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:4538MB:4000MB:::bios_grub;
4:4538MB:106GB:101GB:ext4::;
5:106GB:496GB:391GB:ext4::;
3:496GB:500GB:4023MB:linux-swap(v1)::;
BYT;
/dev/sr0:1448kB:scsi:2048:2048:unknown:MATSHITA DVD-R UJ-868:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part vfat 512M
sda2 part 3,7G
sda3 part swap 3,8G
sda4 part ext4 94,1G
sda5 part ext4 363,7G
sr0 rom 1,4M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /boot/efi
sda2 1 0 0
sda3 1 0 0 [SWAP]
sda4 1 0 0 /
sda5 1 0 0 /home
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=1862244k,nr_inodes=465561,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=376332k,mode=755)
/dev/sda4 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)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,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/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/118 type tmpfs (rw,nosuid,nodev,relatime,size=376332k,mode=700,uid=118,gid=126)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=376332k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== 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 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro 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 fb0 fd full fuse fw0 hidraw0 hidraw3 hidraw4 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 iio:device0 initctl input 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 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb 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/sda1
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 37 e2 2d 86 4e 4f 20 4e 41 4d 45 20 20 |..)7.-.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 1.8G 0 1.8G 0% /dev
tmpfs tmpfs 368M 6.0M 362M 2% /run
/dev/sda4 ext4 93G 5.0G 83G 6% /
tmpfs tmpfs 1.8G 104K 1.8G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/sda5 ext4 358G 309M 340G 1% /home
tmpfs tmpfs 368M 0 368M 0% /run/user/118
tmpfs tmpfs 368M 12K 368M 1% /run/user/1000
/dev/sda1 vfat 511M 5.0M 507M 1% /boot/efi
=================== 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: gpt
Disk identifier: 5B29EFB0-D588-40A8-8708-FC303C91DCD0
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 8863743 7813120 3.7G BIOS boot
/dev/sda3 968912896 976771071 7858176 3.8G Linux swap
/dev/sda4 8863744 206129151 197265408 94.1G Linux filesystem
/dev/sda5 206129152 968912895 762783744 363.7G Linux filesystem
Partition table entries are not in disk order.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda4 into the MBR of sda.
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems
=================== 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 [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
vu que j'y comprend rien...
Je vais essayer de lancer boot-repair en mode réparation ...
Hors ligne
#8 Le 31/05/2016, à 22:41
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Re,
......
je redémarre mais rien toujours pareil il n'y a que l'invite grub>
.....
vu que j'y comprend rien...
Je vais essayer de lancer boot-repair en mode réparation ...
Bonsoir
Moi aussi, j'ai du mal à comprendre. Car tu as un boot legacy....
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
Alors que cela ressemble à une bonne installation EFI.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/BOOT/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/EFI/BOOT/drivers_x64/ext4_x64.efi
Que te dit cette invite grub s'il te plait?
Tu devrais certainement modifier le bios pour qu'il soit positionné en EFI Mais je ne sais pas si cela va suffire.
Dernière modification par Bougron (Le 31/05/2016, à 22:52)
Hors ligne
#9 Le 31/05/2016, à 22:48
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
A tous,
cette remarque , je ne l'attendais pas...
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda4 into the MBR of sda.
Grub-efi would not be selected by default because: no-win-efi
Hors ligne
#10 Le 31/05/2016, à 23:02
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
que faut il que je fasse ? je suis perdu ...
tu me dis :
Que te dit cette invite grub s'il te plait?
.. mais quelle invite ? Si c'est celle que j'ai à l'écran de démarrage il y a juste =>
grub >
qui attends que l'on rentre des commandes .. mais je ne sais pas quoi y rentrer !!!!!
Tu me dis aussi :
Tu devrais certainement modifier le bios pour qu'il soit positionné en EFI Mais je ne sais pas si cela va suffire
... je veux bien mais sur un Mac comment on fait pour aller dans le Bios .. je sais faire pour un PC mais pour un MAC aucune idée
Que veut dire :
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda4 into the MBR of sda.
Grub-efi would not be selected by default because: no-win-efi
Vraiment dans la panade !
Hors ligne
#11 Le 31/05/2016, à 23:41
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonsoir
Cela va être dur pour moi aussi
Lorsque je t'ai posé cette question "Que te dit cette invite grub s'il te plait?", je pensais que tu allais dire qu'il y a eu quelques lignes qui s'affichaient probablement avec un message d'erreur, puis la ligne en question avec quelques infos.
La, on n'a que "grub?" et je ne sais pas d'où le boot est parti: du MBR ou de l'EFI. (Je pense EFI malgré tout)
Mais à ce niveau, il faut lui donner manuellement les infos de ubuntu installé dans la partition SDA4 du disque SDA qui est en GPT.
Tout cela avec un clavier anglais!!!!
Donc je vais certainement me tromper. J'applique une solution donnée par maxire. (en éliminant les commandes permettant de trouver SDA4 et gpt4)
set root=(hd0,gpt4)
set prefix=(hd0,gpt4)/boot/grub
linux /boot/vmlinuz root=/dev/sda4 ro
initrd /boot/initrd.img
boot
Je ne sais pas non plus comment on fait pour passer EFI/LEGACY.
Pour le conseil de boot-repair, je suis simplement surpris que sa référence soit windows.
J'aurais préféré qu'il demande si on veut réparer en LEGACY ou en EFI ou comme il préferre..
Dernière modification par Bougron (Le 31/05/2016, à 23:45)
Hors ligne
#12 Le 01/06/2016, à 10:31
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Hello
Cela ne serait pas plus simple de re-installer ? en spécifiant bien lors de l'installation ou installer le boot-loader et indiquer la partition qui sera "Bios boot aerea" ?
D'ailleurs je ne sais pas quelle partition doit on spécifier comme "Bios boot aerea", est ce la partition efi ?
et dans ce cas ou doit être installer le boot loader ?
Dernière modification par ucem (Le 01/06/2016, à 10:33)
Hors ligne
#13 Le 01/06/2016, à 11:20
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonjour
En relisant. Je comprend que :
" On vient de me donner un Macbook pro sur lequel il y avait installé un Ubuntu uniquement, pas de système mac, et démarrage simple après le gong de Mac sur un écran clair !"
C'est donc que cet ordinateur fonctionnait bien et tu l'as cassé.
Tu as fais une installation LEGACY et tu veux encore recommencer une installation LEGACY qui n'aboutira pas plus que la précédente qui est parfaite
Mais il est probable que cet ordinateur continue de booter en EFI et non en LEGACY.
Le boot-info n'a pas tout dit. Je voudrais voir le contenu d'un fichier.
Tu rebootes avec "essayer avant d'installer et tu montes la partition efi".
sudo mount -v /dev/sda1 /mnt
Tu donnes le contenu du fichier de configuration du grub avec la commande
sudo pg /mnt/EFI/ubuntu/grub.cfg
Je voudrais aussi voir le nouveau contenu de cette partition.
sudo ls -Rl /mnt/EFI
De plus, je veux savoir ce que le BIOS EFI propose comme boot. Cela va être un peu plus dur:
a) Il faut que tu installes le logiciel adéquat, la commande à faire te sera proposée en frappant:
efibootmgr
Tu exécutes ce qui est proposé puis tu donnes le résultat de la commande.
sudo efibootmgr -v
Dernière modification par Bougron (Le 01/06/2016, à 11:22)
Hors ligne
#14 Le 01/06/2016, à 13:59
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bonjour,
Tout d'abord MERCI de ton aide .
Tu me dis :
1-
C'est donc que cet ordinateur fonctionnait bien et tu l'as cassé
. Mais non..pas cassé mais écrasé volontairement car pas de mot de passe !
2 -
Tu as fais une installation LEGACY
euhh je ne sais pas... j'ai fait une installation comme à mon habitude en installant le dvd de Kubuntu ! Je n'ai chez moi que des vieux ordi de bureau... désolé ! faut que j'évolue
Je ne savais pas qu'il y avait deux types d'installation !! Deux installation différents donc y a t'il deux dvd d'installation différents ?
3 -
Mais il est probable que cet ordinateur continue de booter en EFI et non en LEGACY.
euh....
* Il faut qu'il boot comment : efi ou legacy ?
* C'est quoi les différences ?
Est il possible de recommencer une installation mais ce coup là en EFI et non legacy ?
Est il possible sur un MAc d'accéder au bios... je crois que c'est un bios Efi mais comment y accéder.
Je vais prendre un peu de temps et répondre à tes demandes de commandes
J'ai un dvd d'install du système MAc , cela peut être utile ?
Dernière modification par ucem (Le 01/06/2016, à 14:02)
Hors ligne
#15 Le 01/06/2016, à 14:48
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Dans ton boot-info, on voit que
boot-repair is executed in installed-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
donc tu sais booter et tu peux faire les commandes
efibootmgr
sudo mount -v /dev/sda1 /mnt
donc tu peux certainement faire aussi la suite que je te demande.
pour info, un boot en légacy consiste à lire le secteur 0 d'un disque préalablement sélectionné dans le bios. certainement le SDA
Il contient cela
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
1050624 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
puis cela doit continuer sur la partition GPT4 qui m'a semblé correcte
Pour info, un boot en EFI consiste à exécuter une commande parmi les 128 prévues dans la mémoire EFI.
Il n'est pas évident de savoir ce qui est prévu, c'est pour cela que je te demande de les lister avec la commande
sudo efibootmgr -v
Il est très probable que la commande prévoit l'un des fichiers contenus dans cette partition.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/BOOT/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/EFI/BOOT/drivers_x64/ext4_x64.efi
et que ce fichier se serve d'un fichier d'initialisation dont le contenu soit resté à l'ancienne valeur.
C'est pour cela que je te demande de fournir les 3 lignes du fichier: SDA1/EFI/ubuntu/grub.cfg
Dernière modification par Bougron (Le 01/06/2016, à 14:49)
Hors ligne
#16 Le 01/06/2016, à 15:50
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
re,
Voilà le retour de commandes que j'ai pu avoir
kubuntu@kubuntu:~$ sudo mount -v /dev/sda1 /mnt
mount: /dev/sda1 mounted on /mnt.
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ sudo pg /mnt/EFI/ubuntu/grub.cfg
search.fs_uuid c5c31703-7cf4-4db9-ad86-9bfb96357247 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ sudo ls -Rl /mnt/EFI
/mnt/EFI:
total 12
drwxr-xr-x 6 root root 4096 mai 31 2016 BOOT
drwxr-xr-x 2 root root 4096 mai 31 2016 tools
drwxr-xr-x 2 root root 4096 sept. 22 2014 ubuntu
/mnt/EFI/BOOT:
total 300
-rwxr-xr-x 1 root root 224776 mai 31 2016 bootx64.efi
drwxr-xr-x 2 root root 4096 mai 31 2016 drivers_x64
drwxr-xr-x 3 root root 8192 mai 31 2016 icons
drwxr-xr-x 3 root root 8192 mai 31 2016 icons-backup
drwxr-xr-x 2 root root 4096 mai 31 2016 keys
-rwxr-xr-x 1 root root 24974 mai 31 2016 refind.conf
-rwxr-xr-x 1 root root 24974 mai 31 2016 refind.conf-sample
/mnt/EFI/BOOT/drivers_x64:
total 44
-rwxr-xr-x 1 root root 41032 mai 31 2016 ext4_x64.efi
/mnt/EFI/BOOT/icons:
total 548
-rwxr-xr-x 1 root root 1392 mai 31 2016 arrow_left.png
-rwxr-xr-x 1 root root 1346 mai 31 2016 arrow_right.png
-rwxr-xr-x 1 root root 9077 mai 31 2016 boot_linux.png
-rwxr-xr-x 1 root root 3766 mai 31 2016 boot_win.png
-rwxr-xr-x 1 root root 2479 mai 31 2016 func_about.png
-rwxr-xr-x 1 root root 1761 mai 31 2016 func_csr_rotate.png
-rwxr-xr-x 1 root root 2208 mai 31 2016 func_exit.png
-rwxr-xr-x 1 root root 3772 mai 31 2016 func_firmware.png
-rwxr-xr-x 1 root root 2602 mai 31 2016 func_reset.png
-rwxr-xr-x 1 root root 2760 mai 31 2016 func_shutdown.png
drwxr-xr-x 2 root root 4096 mai 31 2016 licenses
-rwxr-xr-x 1 root root 5555 mai 31 2016 os_arch.png
-rwxr-xr-x 1 root root 15008 mai 31 2016 os_centos.png
-rwxr-xr-x 1 root root 13776 mai 31 2016 os_chakra.png
-rwxr-xr-x 1 root root 10391 mai 31 2016 os_chrome.png
-rwxr-xr-x 1 root root 7229 mai 31 2016 os_clover.png
-rwxr-xr-x 1 root root 8480 mai 31 2016 os_crunchbang.png
-rwxr-xr-x 1 root root 9377 mai 31 2016 os_debian.png
-rwxr-xr-x 1 root root 16482 mai 31 2016 os_elementary.png
-rwxr-xr-x 1 root root 8763 mai 31 2016 os_fedora.png
-rwxr-xr-x 1 root root 5980 mai 31 2016 os_freebsd.png
-rwxr-xr-x 1 root root 11658 mai 31 2016 os_frugalware.png
-rwxr-xr-x 1 root root 7549 mai 31 2016 os_gentoo.png
-rwxr-xr-x 1 root root 7668 mai 31 2016 os_gummiboot.png
-rwxr-xr-x 1 root root 5830 mai 31 2016 os_haiku.png
-rwxr-xr-x 1 root root 14399 mai 31 2016 os_hwtest.png
-rwxr-xr-x 1 root root 12873 mai 31 2016 os_kubuntu.png
-rwxr-xr-x 1 root root 5620 mai 31 2016 os_legacy.png
-rwxr-xr-x 1 root root 6246 mai 31 2016 os_linuxmint.png
-rwxr-xr-x 1 root root 10097 mai 31 2016 os_linux.png
-rwxr-xr-x 1 root root 11232 mai 31 2016 os_lubuntu.png
-rwxr-xr-x 1 root root 10574 mai 31 2016 os_mac.png
-rwxr-xr-x 1 root root 7783 mai 31 2016 os_mageia.png
-rwxr-xr-x 1 root root 12854 mai 31 2016 os_mandriva.png
-rwxr-xr-x 1 root root 12379 mai 31 2016 os_netbsd.png
-rwxr-xr-x 1 root root 14836 mai 31 2016 os_network.png
-rwxr-xr-x 1 root root 6572 mai 31 2016 os_opensuse.png
-rwxr-xr-x 1 root root 10041 mai 31 2016 os_redhat.png
-rwxr-xr-x 1 root root 7231 mai 31 2016 os_refind.png
-rwxr-xr-x 1 root root 8484 mai 31 2016 os_refit.png
-rwxr-xr-x 1 root root 9202 mai 31 2016 os_slackware.png
-rwxr-xr-x 1 root root 6572 mai 31 2016 os_suse.png
-rwxr-xr-x 1 root root 12270 mai 31 2016 os_ubuntu.png
-rwxr-xr-x 1 root root 11686 mai 31 2016 os_unknown.png
-rwxr-xr-x 1 root root 3872 mai 31 2016 os_win8.png
-rwxr-xr-x 1 root root 6565 mai 31 2016 os_win.png
-rwxr-xr-x 1 root root 10547 mai 31 2016 os_xubuntu.png
-rwxr-xr-x 1 root root 5188 mai 31 2016 README
-rwxr-xr-x 1 root root 4507 mai 31 2016 tool_apple_rescue.png
-rwxr-xr-x 1 root root 5177 mai 31 2016 tool_fwupdate.png
-rwxr-xr-x 1 root root 3018 mai 31 2016 tool_memtest.png
-rwxr-xr-x 1 root root 1974 mai 31 2016 tool_mok_tool.png
-rwxr-xr-x 1 root root 3785 mai 31 2016 tool_netboot.png
-rwxr-xr-x 1 root root 3446 mai 31 2016 tool_part.png
-rwxr-xr-x 1 root root 13817 mai 31 2016 tool_rescue.png
-rwxr-xr-x 1 root root 2010 mai 31 2016 tool_shell.png
-rwxr-xr-x 1 root root 4313 mai 31 2016 tool_windows_rescue.png
-rwxr-xr-x 1 root root 213 mai 31 2016 transparent.png
-rwxr-xr-x 1 root root 1344 mai 31 2016 vol_external.png
-rwxr-xr-x 1 root root 1418 mai 31 2016 vol_internal.png
-rwxr-xr-x 1 root root 1892 mai 31 2016 vol_net.png
-rwxr-xr-x 1 root root 2423 mai 31 2016 vol_optical.png
/mnt/EFI/BOOT/icons/licenses:
total 52
-rwxr-xr-x 1 root root 22240 mai 31 2016 cc-3.0.txt
-rwxr-xr-x 1 root root 18092 mai 31 2016 gpl-2.0.txt
-rwxr-xr-x 1 root root 7651 mai 31 2016 lgpl-3.0.txt
/mnt/EFI/BOOT/icons-backup:
total 548
-rwxr-xr-x 1 root root 1392 mai 31 2016 arrow_left.png
-rwxr-xr-x 1 root root 1346 mai 31 2016 arrow_right.png
-rwxr-xr-x 1 root root 9077 mai 31 2016 boot_linux.png
-rwxr-xr-x 1 root root 3766 mai 31 2016 boot_win.png
-rwxr-xr-x 1 root root 2479 mai 31 2016 func_about.png
-rwxr-xr-x 1 root root 1761 mai 31 2016 func_csr_rotate.png
-rwxr-xr-x 1 root root 2208 mai 31 2016 func_exit.png
-rwxr-xr-x 1 root root 3772 mai 31 2016 func_firmware.png
-rwxr-xr-x 1 root root 2602 mai 31 2016 func_reset.png
-rwxr-xr-x 1 root root 2760 mai 31 2016 func_shutdown.png
drwxr-xr-x 2 root root 4096 mai 31 2016 licenses
-rwxr-xr-x 1 root root 5555 mai 31 2016 os_arch.png
-rwxr-xr-x 1 root root 15008 mai 31 2016 os_centos.png
-rwxr-xr-x 1 root root 13776 mai 31 2016 os_chakra.png
-rwxr-xr-x 1 root root 10391 mai 31 2016 os_chrome.png
-rwxr-xr-x 1 root root 7229 mai 31 2016 os_clover.png
-rwxr-xr-x 1 root root 8480 mai 31 2016 os_crunchbang.png
-rwxr-xr-x 1 root root 9377 mai 31 2016 os_debian.png
-rwxr-xr-x 1 root root 16482 mai 31 2016 os_elementary.png
-rwxr-xr-x 1 root root 8763 mai 31 2016 os_fedora.png
-rwxr-xr-x 1 root root 5980 mai 31 2016 os_freebsd.png
-rwxr-xr-x 1 root root 11658 mai 31 2016 os_frugalware.png
-rwxr-xr-x 1 root root 7549 mai 31 2016 os_gentoo.png
-rwxr-xr-x 1 root root 7668 mai 31 2016 os_gummiboot.png
-rwxr-xr-x 1 root root 5830 mai 31 2016 os_haiku.png
-rwxr-xr-x 1 root root 14399 mai 31 2016 os_hwtest.png
-rwxr-xr-x 1 root root 12873 mai 31 2016 os_kubuntu.png
-rwxr-xr-x 1 root root 5620 mai 31 2016 os_legacy.png
-rwxr-xr-x 1 root root 6246 mai 31 2016 os_linuxmint.png
-rwxr-xr-x 1 root root 10097 mai 31 2016 os_linux.png
-rwxr-xr-x 1 root root 11232 mai 31 2016 os_lubuntu.png
-rwxr-xr-x 1 root root 10574 mai 31 2016 os_mac.png
-rwxr-xr-x 1 root root 7783 mai 31 2016 os_mageia.png
-rwxr-xr-x 1 root root 12854 mai 31 2016 os_mandriva.png
-rwxr-xr-x 1 root root 12379 mai 31 2016 os_netbsd.png
-rwxr-xr-x 1 root root 14836 mai 31 2016 os_network.png
-rwxr-xr-x 1 root root 6572 mai 31 2016 os_opensuse.png
-rwxr-xr-x 1 root root 10041 mai 31 2016 os_redhat.png
-rwxr-xr-x 1 root root 7231 mai 31 2016 os_refind.png
-rwxr-xr-x 1 root root 8484 mai 31 2016 os_refit.png
-rwxr-xr-x 1 root root 9202 mai 31 2016 os_slackware.png
-rwxr-xr-x 1 root root 6572 mai 31 2016 os_suse.png
-rwxr-xr-x 1 root root 12270 mai 31 2016 os_ubuntu.png
-rwxr-xr-x 1 root root 11686 mai 31 2016 os_unknown.png
-rwxr-xr-x 1 root root 3872 mai 31 2016 os_win8.png
-rwxr-xr-x 1 root root 6565 mai 31 2016 os_win.png
-rwxr-xr-x 1 root root 10547 mai 31 2016 os_xubuntu.png
-rwxr-xr-x 1 root root 5188 mai 31 2016 README
-rwxr-xr-x 1 root root 4507 mai 31 2016 tool_apple_rescue.png
-rwxr-xr-x 1 root root 5177 mai 31 2016 tool_fwupdate.png
-rwxr-xr-x 1 root root 3018 mai 31 2016 tool_memtest.png
-rwxr-xr-x 1 root root 1974 mai 31 2016 tool_mok_tool.png
-rwxr-xr-x 1 root root 3785 mai 31 2016 tool_netboot.png
-rwxr-xr-x 1 root root 3446 mai 31 2016 tool_part.png
-rwxr-xr-x 1 root root 13817 mai 31 2016 tool_rescue.png
-rwxr-xr-x 1 root root 2010 mai 31 2016 tool_shell.png
-rwxr-xr-x 1 root root 4313 mai 31 2016 tool_windows_rescue.png
-rwxr-xr-x 1 root root 213 mai 31 2016 transparent.png
-rwxr-xr-x 1 root root 1344 mai 31 2016 vol_external.png
-rwxr-xr-x 1 root root 1418 mai 31 2016 vol_internal.png
-rwxr-xr-x 1 root root 1892 mai 31 2016 vol_net.png
-rwxr-xr-x 1 root root 2423 mai 31 2016 vol_optical.png
/mnt/EFI/BOOT/icons-backup/licenses:
total 52
-rwxr-xr-x 1 root root 22240 mai 31 2016 cc-3.0.txt
-rwxr-xr-x 1 root root 18092 mai 31 2016 gpl-2.0.txt
-rwxr-xr-x 1 root root 7651 mai 31 2016 lgpl-3.0.txt
/mnt/EFI/BOOT/keys:
total 44
-rwxr-xr-x 1 root root 767 mai 31 2016 altlinux.cer
-rwxr-xr-x 1 root root 1080 mai 31 2016 canonical-uefi-ca.der
-rwxr-xr-x 1 root root 1500 mai 31 2016 centos.cer
-rwxr-xr-x 1 root root 876 mai 31 2016 fedora-ca.cer
-rwxr-xr-x 1 root root 1516 mai 31 2016 microsoft-kekca-public.der
-rwxr-xr-x 1 root root 1499 mai 31 2016 microsoft-pca-public.der
-rwxr-xr-x 1 root root 1556 mai 31 2016 microsoft-uefica-public.der
-rwxr-xr-x 1 root root 1656 mai 31 2016 openSUSE-UEFI-CA-Certificate-4096.cer
-rwxr-xr-x 1 root root 1144 mai 31 2016 openSUSE-UEFI-CA-Certificate.cer
-rwxr-xr-x 1 root root 831 mai 31 2016 refind.cer
-rwxr-xr-x 1 root root 1257 mai 31 2016 SLES-UEFI-CA-Certificate.cer
/mnt/EFI/tools:
total 0
/mnt/EFI/ubuntu:
total 3416
-rwxr-xr-x 1 root root 126 sept. 22 2014 grub.cfg
-rwxr-xr-x 1 root root 956792 sept. 22 2014 grubx64.efi
-rwxr-xr-x 1 root root 1178240 sept. 22 2014 MokManager.efi
-rwxr-xr-x 1 root root 1355736 sept. 22 2014 shimx64.efi
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ efibootmgr
efibootmgr: EFI variables are not supported on this system.
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ sudo efibootmgr -v
efibootmgr: EFI variables are not supported on this system.
kubuntu@kubuntu:~$
Hors ligne
#17 Le 01/06/2016, à 16:01
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Bon déjà deux choses
efibootmgr: EFI variables are not supported on this system.
J'y reviendrais
Le fichier de configuration n'est pas bon
c5c31703-7cf4-4db9-ad86-9bfb96357247 root hd0,gpt2
Tu vas remplacer cette ligne par
c46b03d5-6430-4187-be4b-7047f120a29d root hd0,gpt4
car les partitions sont
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 862D-E237 vfat
/dev/sda2
/dev/sda3 7d6956dc-31a7-4725-872e-4d3d91eca6d6 swap
/dev/sda4 c46b03d5-6430-4187-be4b-7047f120a29d ext4
/dev/sda5 9f940f9d-389e-4e17-8940-5cfd809c315e ext4
et
/dev/sda1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda4 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5 /home ext4 (rw,relatime,data=ordered)
Hors ligne
#18 Le 01/06/2016, à 16:35
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
ok c'est fait
le fichier grub.cfg ;
search.fs_uuid c46b03d5-6430-4187-be4b-7047f120a29d root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Hors ligne
#19 Le 01/06/2016, à 16:43
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Pour ce point-la,
"efibootmgr: EFI variables are not supported on this system".
Je ne comprends pas trop, On croyait que tu n'as pas de version 64bits EFI!
Peux-tu refaire un boot-info
Hors ligne
#20 Le 01/06/2016, à 17:00
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Mais si mais si , tu m'as dit d'installer une 64 bits , je l'ai donc fait depuis hier
ok
Je vais donc installer la version 64 bits.
et j'ai testé des commandes de cette page https://doc.ubuntu-fr.org/uefi?redirect=1 n° 2.4 , 2.5 et 3 et donc le résultat me dit :
kubuntu démarre sur le DVD en mode NON EFI
Kubuntu est installé sur le disque dur en mode NON EFI
Kubuntu est installé en mode classique
je vais relancé un boot repair pour une boot info
Hors ligne
#21 Le 01/06/2016, à 17:13
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
voilà le nouveau bootInfo :
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
1050624 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/BOOT/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/EFI/BOOT/drivers_x64/ext4_x64.efi
sda2: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ 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: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,050,623 1,050,623 ee GPT
/dev/sda2 * 1,050,624 8,863,743 7,813,120 83 Linux
/dev/sda3 968,912,896 976,771,071 7,858,176 82 Linux swap / Solaris
/dev/sda4 8,863,744 206,129,151 197,265,408 83 Linux
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 8,863,743 7,813,120 BIOS Boot partition
/dev/sda3 968,912,896 976,771,071 7,858,176 Swap partition (Linux)
/dev/sda4 8,863,744 206,129,151 197,265,408 Data partition (Linux)
/dev/sda5 206,129,152 968,912,895 762,783,744 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 862D-E237 vfat
/dev/sda2
/dev/sda3 7d6956dc-31a7-4725-872e-4d3d91eca6d6 swap
/dev/sda4 c46b03d5-6430-4187-be4b-7047f120a29d ext4
/dev/sda5 9f940f9d-389e-4e17-8940-5cfd809c315e ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 1 17:06 ata-MATSHITADVD-R_UJ-868_dE25E37D -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 1 17:08 ata-WDC_WD5000BPVT-24HXZT1_WD-WX71A81C7184-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jun 1 17:06 usb-APPLE_SD_Card_Reader_000000009833-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jun 1 17:08 wwn-0x50014ee656f907f1 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 1 17:08 wwn-0x50014ee656f907f1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 1 17:08 wwn-0x50014ee656f907f1-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 1 17:08 wwn-0x50014ee656f907f1-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 1 17:08 wwn-0x50014ee656f907f1-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 1 17:08 wwn-0x50014ee656f907f1-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda4 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5 /home ext4 (rw,relatime,data=ordered)
=========================== sda4/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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
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
#set_background_image "images/tile.png";
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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-c46b03d5-6430-4187-be4b-7047f120a29d' {
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='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-c46b03d5-6430-4187-be4b-7047f120a29d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
echo 'Chargement de Linux 4.4.0-21-generic…'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d 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+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 c46b03d5-6430-4187-be4b-7047f120a29d
else
search --no-floppy --fs-uuid --set=root c46b03d5-6430-4187-be4b-7047f120a29d
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 ###
--------------------------------------------------------------------------------
=============================== sda4/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/sda4 during installation
UUID=c46b03d5-6430-4187-be4b-7047f120a29d / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=9f940f9d-389e-4e17-8940-5cfd809c315e /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=7d6956dc-31a7-4725-872e-4d3d91eca6d6 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda4: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
56.540657043 = 60.710068224 boot/grub/grub.cfg 1
56.542263031 = 60.711792640 boot/grub/i386-pc/core.img 1
5.662780762 = 6.080364544 boot/vmlinuz-4.4.0-21-generic 1
5.662780762 = 6.080364544 vmlinuz 1
57.078121185 = 61.287165952 boot/initrd.img-4.4.0-21-generic 3
57.078121185 = 61.287165952 initrd.img 3
========= Devices which don't seem to have a corresponding hard drive: =========
sdb
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-06-01__17h07 ===================
boot-repair version : 4ppa37
boot-sav version : 4ppa37
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa37
boot-repair 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 root=UUID=c46b03d5-6430-4187-be4b-7047f120a29d ro quiet splash vt.handoff=7
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
=================== os-prober:
/dev/sda4:L'OS actuellement utilisé - Ubuntu 16.04 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="862D-E237" TYPE="vfat" PARTUUID="6f8f75b3-0d05-4da0-b630-b1e23f3ec03e"
/dev/sda3: UUID="7d6956dc-31a7-4725-872e-4d3d91eca6d6" TYPE="swap" PARTUUID="a6d984ad-8254-4c05-9df5-1d3d23df9fe6"
/dev/sda4: UUID="c46b03d5-6430-4187-be4b-7047f120a29d" TYPE="ext4" PARTUUID="f2983e87-7103-4dfb-b8a3-2d8f517da373"
/dev/sda5: UUID="9f940f9d-389e-4e17-8940-5cfd809c315e" TYPE="ext4" PARTUUID="3bba4bca-a5a2-41bc-b858-28c417167bf2"
/dev/sda2: PARTUUID="f1d48ac0-245e-435b-bd1a-d6566d3f7f9f"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avril 21 00:17 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"
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/drivers_x64/ext4_x64.efi
ls /sys/firmware/efi/vars : SmmS3NvsData-8983fd2d-113c-4e2b-8f47-0abfeb20a41a,Setup-4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d,NVPanelData-fe47349a-7f0d-4641-822b-34baa28ecdd0,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootFFFF-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCampHD-7c436110-ab2a-4bbb-a880-fe41995c9f82,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e,
Veuillez indiquer ce message à boot.repair@gmail.com
=================== efibootmgr -v
BootCurrent: 0000
BootOrder: 0000
Boot0000* ubuntu HD(1,GPT,6f8f75b3-0d05-4da0-b630-b1e23f3ec03e,0x800,0x100000)/File(EFIubuntushimx64.efi)
BootFFFF* MemoryMapped(11,0xffcb4000,0xffffbfff)/FvFile(2b0585eb-d8b8-49a9-8b8c-e21b01aef2b7)H.D...
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda4 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, 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, /mnt/boot-sav/sda1.
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, /home.
sda2 : 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, not-far, /mnt/boot-sav/sda2.
sda : GPT, BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD5000BPVT-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 4538MB 4000MB bios_grub
4 4538MB 106GB 101GB ext4
5 106GB 496GB 391GB ext4
3 496GB 500GB 4023MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000BPVT-2:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:4538MB:4000MB:::bios_grub;
4:4538MB:106GB:101GB:ext4::;
5:106GB:496GB:391GB:ext4::;
3:496GB:500GB:4023MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part vfat 512M
sda2 part 3,7G
sda3 part swap 3,8G
sda4 part ext4 94,1G
sda5 part ext4 363,7G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0
sda3 1 0 0 [SWAP]
sda4 1 0 0 /
sda5 1 0 0 /home
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=1872120k,nr_inodes=468030,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=378308k,mode=755)
/dev/sda4 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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/118 type tmpfs (rw,nosuid,nodev,relatime,size=378308k,mode=700,uid=118,gid=126)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=378308k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== 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 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro 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 fb0 fd full fuse fw0 hidraw0 hidraw1 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 iio:device0 initctl input 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 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb 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/sda1
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 37 e2 2d 86 4e 4f 20 4e 41 4d 45 20 20 |..)7.-.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 1.8G 0 1.8G 0% /dev
tmpfs tmpfs 370M 6.1M 364M 2% /run
/dev/sda4 ext4 93G 5.0G 83G 6% /
tmpfs tmpfs 1.9G 92K 1.9G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda5 ext4 358G 309M 340G 1% /home
tmpfs tmpfs 370M 0 370M 0% /run/user/118
tmpfs tmpfs 370M 12K 370M 1% /run/user/1000
/dev/sda1 vfat 511M 5.0M 507M 1% /mnt/boot-sav/sda1
=================== 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: gpt
Disk identifier: 5B29EFB0-D588-40A8-8708-FC303C91DCD0
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 8863743 7813120 3.7G BIOS boot
/dev/sda3 968912896 976771071 7858176 3.8G Linux swap
/dev/sda4 8863744 206129151 197265408 94.1G Linux filesystem
/dev/sda5 206129152 968912895 762783744 363.7G Linux filesystem
Partition table entries are not in disk order.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda4, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems 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 [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
merci
Hors ligne
#22 Le 01/06/2016, à 17:20
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
La proposition de boot-repair est à faire.
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda4, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems use-standard-efi-file rename-ms-efi
Hors ligne
#23 Le 01/06/2016, à 17:22
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
YEAHHHHHHH
MERCIIII :):lol:
IL démarre correctement !!!
un peu long mais c'est ok
Donc ce n'était que le grub.cfg qui n'était pas correct.. lors de l'installation je n'ai pas du indiquer correctement soit "bios boot aerea" et ou doit être installer le boot loader , non ?
en tout cas merci beaucoup pour ta patience, ton temps et de l'effort que tu as fait pour m'expliquer. J'ai encore besoin de comprendre beaucoup de choses.. faut que je me mette à jour avec ces histoires de EFI
Hors ligne
#24 Le 01/06/2016, à 18:01
- Bougron
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
Ce n'est pas cela le problème.
Il provient de cela voir premier boot-info (échange #7)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
SecureBoot disabled.
à partir de cet instant, tout déraille..
Cela commence une installation LEGACY sans logiciel EFI..
Cela t'oblige à avoir une partition bios-boot
sda2: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
et transfert le flag de boot sur cette partition.
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,050,623 1,050,623 ee GPT
/dev/sda2 * 1,050,624 8,863,743 7,813,120 83 Linux
à partir de cet instant, le logiciel va croire que la partition EFI de boot n'existe pas.
et on aura ce message
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda4 into the MBR of sda.
Grub-efi would not be selected by default because: no-win-efi
car le flag de boot n'est plus sur sda1.
Donc pas de mise à jour de cette partition ni du fichier présent.....
Mais, je ne sais pas ce qui vient de se passer. Peut-être le simple fait de redémarrer.
Mais maintenant on voit (second boot-info echange #21 ) que le boot est bien EFI!
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
donc tout enchaîne bien, on voit la liste de boot EFI
=================== efibootmgr -v
BootCurrent: 0000
BootOrder: 0000
Boot0000* ubuntu HD(1,GPT,6f8f75b3-0d05-4da0-b630-b1e23f3ec03e,0x800,0x100000)/File(EFIubuntushimx64.efi)
BootFFFF* MemoryMapped(11,0xffcb4000,0xffffbfff)/FvFile(2b0585eb-d8b8-49a9-8b8c-e21b01aef2b7)H.D..
La liste est très faible mais on sait que c'est HD(1,GPT.... disque dur, partition 1, formatée GPT
avec uuid 6f8f.......... et fichier shimx64.efi
Reste que je ne sais pas si tu peux faire la commande.
efibootmgr
Si tu ne peux pas, ce n'est pas sain. Mais je sais qu'il existe une commande pour installer le package...
Reste qu'il faudra repositionner correctement le flag-boot sur SDA1 et supprimer la partition bios-boot (SDA2).
Dernière modification par Bougron (Le 01/06/2016, à 18:03)
Hors ligne
#25 Le 01/06/2016, à 18:06
- ucem
Re : RESOLU - Ubuntu et MAcbook : prob de grub - RESOLU par Bougron merci !
voilà ce que cela retourne maintenant :
pascal@piripi:~$ efibootmgr
BootCurrent: 0000
BootOrder: 0000
Boot0000* ubuntu
BootFFFF*
pascal@piripi:~$
Hors ligne