#1 Le 19/04/2013, à 13:22
- Cara-bosse
[RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
Je suis nouvelle sur ce forum et je débute avec ubuntu. J'ai découvert le monde de linux en voulant apprendre à utiliser Python, ou encore GIMP et Synfig. L'ambiance sur les forums d'entraide est vraiment différente de celle de certains programmes "windows only", et j'avoue que j'aime beaucoup cette idée du libre !! Linuxienne dans l'âme je suppose, mais pas encore linuxienne en ligne de commande (un jour peut-être!).
Je me tourne vers vous aujourd'hui car je pense avoir mal installé Ubuntu, ou alors je n'arrive pas à programmer correctement mon Bios pour qu'Ubuntu soit reconnu au démarrage, malgré les nombreux tutos que j'ai pu lire, et meme la doc ubuntu UEFI...
J'ai tout d'abord fait sagement mes sauvegardes : 1 sur clé usb via le programme de création d'une USB de restauration de windows), et une image de mon disque dur à l'achat (ou presque) sur un DD externe (note : ce DD externe possède un disque C et un disque D car c'est un DD de récup (celui de mon ancien pc). J'ai utilisé clonezilla sur parted magic via le tutoriel de nobru, tout s'est bien passé, j'ai mis cette sauvegarde sur sdb3 (qui correspond au disque D de feu mon netbook).
Voici ma démarche : j'ai tout d'abord voulu installer ubuntu en dual boot avec windows 8 sur mon nouveau toshiba satellite z950 (EDIT : z930!!) (il n'a qu'un seul disque dur SSD, je ne sais pas si ça joue (?)). J'ai donc créé une usb bootable avec linux secure remix, jusque là, aucun problème. Je règle mon Bios en UEFI enabled/ secure boot disabled (fastboot disabled sous windows) et l'"installeur" ne reconnait pas windows 8 (il ne le "voit pas").
Je fais donc un boot repair recommandé. J'ai l'URL que boot repair m'a donné à ce moment là au besoin mais comme bcp de choses ont changé depuis je ne suis pas sûre que ce soit utile.
Je redémarre pour faire une installation en me disant "là l'installeur va peut-être voir mon windows", mais non.
Du coup je me dis : "bon ok, let's try windows 8 again..., au moins il marche",et bien non. Le pc se fige sur l'écran Toshiba et ne fait rien. "Bon ok" me dis-je, on va restaurer l'image du pc avant, et tout redeviendra comme avant...
Je mets le tuto de nobru sur un pc à côté du mien et hop, c'est parti! Tout se passe bien, sauf qu'à la fin clonezilla m'annonce que la partition ntfs n'est pas reconnue... Bon.. Je rallume mon pc... "Insert drive disk and press any key" (oups...)
Bon au moins il boot bien sur les usb.. J'ai finalement décidé de dire adieu à windows (ça aurait été plus confortable au début de la transition je pense, encore que, windows 8 et moi, on n'était pas franchement amis).
J'installe donc Ubuntu en écrasant ce qu'il y a sur le disque (de toute façon je n'avais aucune donnée importante, je ne m'en suis presque pas servi depuis l'achat). Ok. Une fois la clé retirée, je rallume et là... "insert drive disk and press any key".... Il ne voit donc pas qu'ubuntu est installé.. Et pourtant, lorsque je fais mine de vouloir réinstaller ubuntu à partir de la live USB, là, l'installeur me propose de le réinstaller à côté de ubuntu secure remix!!! (j'en déduis qu'il est installé et je ferme l'installeur avant de toucher à quoi que ce soit pour ne pas faire plus de dégats).
J'ai fait un dernier boot repair, voici ce qu'il me dit :
http://paste.ubuntu.com/5721153
Je ne sais pas le lire, mais je suppose que c'est un peu (bcp ?) le bazar..
Comme le boot repair me dit " Please do not forget to make your bios boot on sda1/EFI/ubuntu/grubx64.efi file" le problème vient peut être de là.. Mais j'ai regardé dans mon bios après ce boot repair et dans boot mode il me propose uniquement UEFI et CSM.. Je ne trouve pas d'endroit où on me propose de choisir le chemin...
EDIT : voici le résultat de la commande sudo fdisk -l (Suite à l'installation d'Ubuntu, je n'ai plus qu'une seule partition apparemment...)
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 500118191 250059095+ ee GPT
Voyez vous le(s) problème(s) ?
En tout cas merci de m'avoir lue et à bientôt j'espère,
Librement vôtre (;-)),
Cara-bosse
Dernière modification par Cara-bosse (Le 19/04/2013, à 16:54)
Hors ligne
#2 Le 19/04/2013, à 16:20
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
Peux-tu vérifier le nom du modèle de ton portable : tu as écrit "mon nouveau toshiba satellite z950" mais en cherchant avec Google, je ne trouve que Toshiba Satellite Z930 (Z950 n'existe pas).
D'autre part, ton Boot-Info a été fait avec une version obsolète de Boot-repair aussi je te prie de refaire un Boot-Info en prenant soin de faire les mises à jour comme je l'explique dans ce post : http://forum.ubuntu-fr.org/viewtopic.ph … #p13154581
Dernière modification par malbo (Le 19/04/2013, à 16:29)
Hors ligne
#3 Le 19/04/2013, à 16:22
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
C'est le satellite z930 mea culpa!
C'est gentil d'y jeter un oeil, merci!
Hors ligne
#4 Le 19/04/2013, à 16:29
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
J'ai complété mon post #2 entre temps.
Hors ligne
#5 Le 19/04/2013, à 16:40
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
J'obtiens désormais ceci :
http://paste.ubuntu.com/5721725
Est-ce la bonne version ?
Hors ligne
#6 Le 19/04/2013, à 16:50
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Ton Boot-Info est là :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/Boot/bootx64.efi /EFI/Boot/bootx64.efi.grb
/EFI/ubuntu/grubx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgfw.efi.grb
/EFI/Microsoft/Boot/bootx64.efi
/EFI/Microsoft/Boot/bootx64.efi.grb
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.10
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.04 2011-04-18
Boot sector info: Syslinux looks at sector 1592784 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi.signed /EFI/BOOT/grubx64.efi
/ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 500,118,191 500,118,191 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 194,559 192,512 EFI System partition
/dev/sda2 194,560 491,945,983 491,751,424 Data partition (Windows/Linux)
/dev/sda3 491,945,984 500,117,503 8,171,520 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 16.0 GB, 16039018496 bytes
93 heads, 32 sectors/track, 10526 cylinders, total 31326208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 32 31,326,206 31,326,175 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 F22A-6B26 vfat
/dev/sda2 8d94302d-778b-4cc4-98f9-6dcd8e4f31de ext4
/dev/sda3 9e96e8e8-7439-45d4-87fc-6bc18aefbca8 swap
/dev/sdb1 1A38-014F vfat USB LESLIE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda2/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
set default="0"
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,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
else
search --no-floppy --fs-uuid --set=root 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
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=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8d94302d-778b-4cc4-98f9-6dcd8e4f31de' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
else
search --no-floppy --fs-uuid --set=root 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
fi
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8d94302d-778b-4cc4-98f9-6dcd8e4f31de ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8d94302d-778b-4cc4-98f9-6dcd8e4f31de' {
menuentry 'Ubuntu, with Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-8d94302d-778b-4cc4-98f9-6dcd8e4f31de' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
else
search --no-floppy --fs-uuid --set=root 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8d94302d-778b-4cc4-98f9-6dcd8e4f31de ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Ubuntu, with Linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-8d94302d-778b-4cc4-98f9-6dcd8e4f31de' {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
else
search --no-floppy --fs-uuid --set=root 8d94302d-778b-4cc4-98f9-6dcd8e4f31de
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=8d94302d-778b-4cc4-98f9-6dcd8e4f31de ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda2/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/sda2 during installation
UUID=8d94302d-778b-4cc4-98f9-6dcd8e4f31de / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=F22A-6B26 /boot/efi vfat defaults 0 1
# swap was on /dev/sda3 during installation
UUID=9e96e8e8-7439-45d4-87fc-6bc18aefbca8 none swap sw 0 0
UUID=F22A-6B26 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
188.226913452 = 202.107109376 boot/grub/grub.cfg 1
188.226528168 = 202.106695680 boot/vmlinuz-3.5.0-17-generic 1
188.226528168 = 202.106695680 vmlinuz 1
150.638206482 = 161.746542592 boot/initrd.img-3.5.0-17-generic 1
150.638206482 = 161.746542592 initrd.img 1
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi.signed file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi.signed file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi.signed file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi.signed boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
========================= sdb1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux/syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)
=============================== StdErr Messages: ===============================
File descriptor 8 (/proc/4273/mounts) leaked on lvscan invocation. Parent PID 11409: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-19__14h38 ===================
boot-repair version : 3.198~ppa11~quantal
boot-sav version : 3.198~ppa11~quantal
glade2script version : 3.2.2~ppa45~quantal
boot-sav-extra version : 3.198~ppa11~quantal
boot-repair is executed in live-session (Linux-Secure-Remix 12.10 28feb2013, quantal, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi.signed file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda2:Linux-Secure-Remix 12.10 28feb2013 (12.10):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F22A-6B26" TYPE="vfat"
/dev/sda2: UUID="8d94302d-778b-4cc4-98f9-6dcd8e4f31de" TYPE="ext4"
/dev/sda3: UUID="9e96e8e8-7439-45d4-87fc-6bc18aefbca8" TYPE="swap"
/dev/sdb1: LABEL="USB LESLIE" UUID="1A38-014F" TYPE="vfat"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
=================== sda2/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"
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Oct 17 2012 grub.d
total 72
-rwxr-xr-x 1 root root 7541 Oct 14 2012 00_header
-rwxr-xr-x 1 root root 5488 Oct 4 2012 05_debian_theme
-rwxr-xr-x 1 root root 10891 Oct 14 2012 10_linux
-rwxr-xr-x 1 root root 10258 Oct 14 2012 20_linux_xen
-rwxr-xr-x 1 root root 1688 Oct 11 2012 20_memtest86+
-rwxr-xr-x 1 root root 10976 Oct 14 2012 30_os-prober
-rwxr-xr-x 1 root root 1426 Oct 14 2012 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 14 2012 40_custom
-rwxr-xr-x 1 root root 216 Oct 14 2012 41_custom
-rw-r--r-- 1 root root 483 Oct 14 2012 README
/boot/efi detected in the fstab of sda2: UUID=F22A-6B26 (sda1)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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.
sda2 : sda, not-sepboot, grubenv-ok grub2, grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA THNSNF25 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 99.6MB 98.6MB fat32 boot
2 99.6MB 252GB 252GB ext4
3 252GB 256GB 4184MB linux-swap(v1)
Model: Sony Storage Media (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 16.4kB 16.0GB 16.0GB primary fat32 boot, lba
=================== parted -lm:
BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA TOSHIBA THNSNF25;
1:1049kB:99.6MB:98.6MB:fat32::boot;
2:99.6MB:252GB:252GB:ext4::;
3:252GB:256GB:4184MB:linux-swap(v1)::;
BYT;
/dev/sdb:16.0GB:scsi:512:512:msdos:Sony Storage Media;
1:16.4kB:16.0GB:16.0GB:fat32::boot, lba;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
ls /mnt/boot-sav/sda1:
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 4d 53 57 49 4e 34 2e 31 00 02 02 20 00 |.X.MSWIN4.1... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 f0 02 00 ed 02 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 00 29 26 6b 2a f2 4e 4f 20 4e 41 4d 45 20 20 |..)&k*.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 74 7e ac | FAT32 ...t~.|
00000060 22 c0 74 06 b4 0e cd 10 eb f5 b4 00 cd 16 b4 00 |".t.............|
00000070 cd 19 eb fe 54 68 69 73 20 70 61 72 74 69 74 69 |....This partiti|
00000080 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 |on does not have|
00000090 20 61 6e 20 6f 70 65 72 61 74 69 6e 67 20 73 79 | an operating sy|
000000a0 73 74 65 6d 20 6c 6f 61 64 65 72 20 69 6e 73 74 |stem loader inst|
000000b0 61 6c 6c 65 64 20 6f 6e 20 69 74 2e 0a 0d 50 72 |alled on it...Pr|
000000c0 65 73 73 20 61 20 6b 65 79 20 74 6f 20 72 65 62 |ess a key to reb|
000000d0 6f 6f 74 2e 2e 2e 00 00 00 00 00 00 00 00 00 00 |oot.............|
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
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.9G 65M 1.9G 4% /
udev devtmpfs 1.9G 8.0K 1.9G 1% /dev
tmpfs tmpfs 770M 836K 769M 1% /run
/dev/sdb1 vfat 15G 762M 15G 5% /cdrom
/dev/loop0 squashfs 717M 717M 0 100% /rofs
tmpfs tmpfs 1.9G 12K 1.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 76K 1.9G 1% /run/shm
none tmpfs 100M 48K 100M 1% /run/user
/dev/sda1 vfat 94M 846K 93M 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 231G 2.9G 217G 2% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 500118191 250059095+ ee GPT
Disk /dev/sdb: 16.0 GB, 16039018496 bytes
93 heads, 32 sectors/track, 10526 cylinders, total 31326208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 32 31326206 15663087+ c W95 FAT32 (LBA)
EFI detected. Please check the options.
=================== Final advice in case of recommended repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
=================== Default settings
Recommended-Repair
This setting would reinstall the grub-efi of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s backup-and-rename-efi-files
=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.
No change has been performed on your computer.
Là ça devient bon. On voit que Boot-Repair est à jour (version 3.198~ppa11~quantal) :
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-19__14h38 ===================
boot-repair version : 3.198~ppa11~quantal
boot-sav version : 3.198~ppa11~quantal
glade2script version : 3.2.2~ppa45~quantal
boot-sav-extra version : 3.198~ppa11~quantal
et on voit que tu as fait le nécessaire pour démarrer en mode EFI sur la liveUSB (ce qui n'était pas le cas dans le Boot-Info du post #1) :
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
Pour moi, Ubuntu est bien installé en mode EFI et tu devrais pouvoir démarrer sur lui en l'état actuel, en restant comme tu es en UEFI boot (et non pas en CSM boot)
CETTE PARTIE DU POST CI-DESSOUS n'a pas été mise en œuvre par Cara-bosse :
Cependant, je te suggère de refaire exactement la même chose que tu viens de faire (les mises à jour avant de de lancer Boot-Repair) mais au lieu de cliquer sur Boot-Info à la fin, cliquer sur "Réparation recommandée" ce qui va faire ce qui est indiqué dans ton dernier Boot-Info :
=================== Default settings
Recommended-Repair
This setting would reinstall the grub-efi of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s backup-and-rename-efi-files
Ton noteras l'URL du Boot-Info pour le poster ici afin que je puisse vérifier.
Dernière modification par malbo (Le 20/04/2013, à 06:58)
Hors ligne
#7 Le 19/04/2013, à 16:54
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Ca alors!
Effectivement (je passe le post en résolu), mais que s'est-il passé ? C'était un simple problème de mise à jour?
Merci mille fois!!
Hors ligne
#8 Le 19/04/2013, à 17:01
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
J'avais complété mon post entre temps mais on va se poser si tu veux bien : jusqu'ici, je ne t'ai demandé que de faire un Boot-Info et il n'y a pas eu de réparation de faite. La seule chose que je constate, c'est que dans le Boot-Info de ton post #1 (log of boot-repair 2013-04-19__10h14), ton Bios devait être configuré en "CSM boot" alors que dans le dernier Boot-Info (log of boot-repair 2013-04-19__14h38), manifestement il était configuré en "UEFI boot". Tu peux confirmer mon hypothèse à savoir que tu es passé en "UEFI Boot" dans le Bios (au lieu de"CSM boot") pour faire le dernier Boot-Info ?
Dernière modification par malbo (Le 19/04/2013, à 17:05)
Hors ligne
#9 Le 24/04/2013, à 16:15
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonsoir,
Désolée Malbo, je n'avais pas vu ton post.
Il y a du nouveau depuis, car j'ai eu des soucis de "kernel panic" un peu aléatoires à l'utilisation.
On m'a conseillé sur le forum de faire un upgrade du noyau (vers 3.8), mais j'ai eu quelques soucis, et comme on m'a conseillé par la suite de redescendre vers Ubuntu 12.04 LTS, c'est ce que j'ai fait. (Mais je ne l'ai pas encore assez utilisé pour savoir si mon problème de kernel panic est résolu).
Je suis donc désormais sous ubuntu 12.04 LTS. Pour ce faire, j'ai installé 12.04 en écrasant 12.10 (j'avais sauvegardé le peu de données qui étaient dessus au préalable, bien entendu).
Comme je n'ai pas réussi à trouver 12.04 en secure remix, j'ai pris la version 12.04.2. J'ai tenté une installation telle quelle, mais au boot, le PC a affiché un message me disant qu'il ne trouvait pas "(sda1)/EFI/ubuntu/grubx64.efi". J'ai relancé mon pc sur la live USB et j'ai ajouté le boot-repair en ligne de commande grace à la doc ubuntu sur le boot repair. J'ai ensuite fait la mise à jour conseillée dans le post #2, mais la version était déjà à jour (du moins c'est ce j'ai cru comprendre).
J'ai fait un boot-repair (réparation recommandée) dont voici le boot info :
http://paste.ubuntu.com/5598394
Ubuntu a 12.04 a l'air de très bien tourner pour l'instant.
Je suis sincèrement désolée de ne pas avoir vu ton post plus tôt, j'aurais dû y jeter un oeil en rentrant.
Merci en tout cas,
Hors ligne
#10 Le 24/04/2013, à 18:23
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Ton Boot-Info du poste précédent est là :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/grubx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.06 2012-10-23
Boot sector info: Syslinux looks at sector 59920 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 500,118,191 500,118,191 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 194,559 192,512 EFI System partition
/dev/sda2 194,560 491,945,983 491,751,424 Data partition (Windows/Linux)
/dev/sda3 491,945,984 500,117,503 8,171,520 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7885 MB, 7885291520 bytes
255 heads, 63 sectors/track, 958 cylinders, total 15400960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 128 15,390,269 15,390,142 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 F22A-6B26 vfat
/dev/sda2 10e93fcc-8a74-4a68-b135-34f14983f7d8 ext4
/dev/sda3 9e96e8e8-7439-45d4-87fc-6bc18aefbca8 swap
/dev/sdb1 16EC-272D vfat PENDRIVE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda2/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
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
}
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.5.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-23-generic
}
menuentry 'Ubuntu, with Linux 3.5.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
echo 'Loading Linux 3.5.0-23-generic ...'
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-23-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,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
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 ###
menuentry 'System setup' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda2/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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=F22A-6B26 /boot/efi vfat defaults 0 1
# swap was on /dev/sda3 during installation
UUID=9e96e8e8-7439-45d4-87fc-6bc18aefbca8 none swap sw 0 0
UUID=F22A-6B26 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
132.223861694 = 141.974290432 boot/grub/grub.cfg 1
0.628856659 = 0.675229696 boot/vmlinuz-3.5.0-23-generic 1
0.628856659 = 0.675229696 vmlinuz 1
2.404125214 = 2.581409792 boot/initrd.img-3.5.0-23-generic 1
2.404125214 = 2.581409792 initrd.img 1
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
========================= sdb1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux/syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/menu.c32 1
?? = ?? syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/menu.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-24__13h50 ===================
boot-repair version : 3.198~ppa11~precise
boot-sav version : 3.198~ppa11~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.198~ppa11~precise
boot-repair is executed in live-session (Ubuntu 12.04.2 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda2:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F22A-6B26" TYPE="vfat"
/dev/sda2: UUID="10e93fcc-8a74-4a68-b135-34f14983f7d8" TYPE="ext4"
/dev/sda3: UUID="9e96e8e8-7439-45d4-87fc-6bc18aefbca8" TYPE="swap"
/dev/sdb1: LABEL="PENDRIVE" UUID="16EC-272D" TYPE="vfat"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
=================== sda2/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"
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 13 22:10 grub.d
total 60
-rwxr-xr-x 1 root root 6743 Jan 22 19:18 00_header
-rwxr-xr-x 1 root root 5522 Jan 22 19:05 05_debian_theme
-rwxr-xr-x 1 root root 7780 Jan 22 19:18 10_linux
-rwxr-xr-x 1 root root 6335 Jan 22 19:18 20_linux_xen
-rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
-rwxr-xr-x 1 root root 7603 Jan 22 19:18 30_os-prober
-rwxr-xr-x 1 root root 1388 Jan 22 19:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jan 22 19:18 40_custom
-rwxr-xr-x 1 root root 95 Jan 22 19:18 41_custom
-rw-r--r-- 1 root root 483 Jan 22 19:18 README
/boot/efi detected in the fstab of sda2: UUID=F22A-6B26 (sda1)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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.
sda2 : sda, not-sepboot, grubenv-ok grub2, grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA THNSNF25 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 99.6MB 98.6MB fat32 boot
2 99.6MB 252GB 252GB ext4
3 252GB 256GB 4184MB linux-swap(v1)
Model: Sony Storage Media (scsi)
Disk /dev/sdb: 7885MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 65.5kB 7880MB 7880MB primary fat32 boot, lba
=================== parted -lm:
BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA TOSHIBA THNSNF25;
1:1049kB:99.6MB:98.6MB:fat32::boot;
2:99.6MB:252GB:252GB:ext4::;
3:252GB:256GB:4184MB:linux-swap(v1)::;
BYT;
/dev/sdb:7885MB:scsi:512:512:msdos:Sony Storage Media;
1:65.5kB:7880MB:7880MB:fat32::boot, lba;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
ls /mnt/boot-sav/sda1:
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 4d 53 57 49 4e 34 2e 31 00 02 02 20 00 |.X.MSWIN4.1... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 f0 02 00 ed 02 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 00 29 26 6b 2a f2 4e 4f 20 4e 41 4d 45 20 20 |..)&k*.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 74 7e ac | FAT32 ...t~.|
00000060 22 c0 74 06 b4 0e cd 10 eb f5 b4 00 cd 16 b4 00 |".t.............|
00000070 cd 19 eb fe 54 68 69 73 20 70 61 72 74 69 74 69 |....This partiti|
00000080 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 |on does not have|
00000090 20 61 6e 20 6f 70 65 72 61 74 69 6e 67 20 73 79 | an operating sy|
000000a0 73 74 65 6d 20 6c 6f 61 64 65 72 20 69 6e 73 74 |stem loader inst|
000000b0 61 6c 6c 65 64 20 6f 6e 20 69 74 2e 0a 0d 50 72 |alled on it...Pr|
000000c0 65 73 73 20 61 20 6b 65 79 20 74 6f 20 72 65 62 |ess a key to reb|
000000d0 6f 6f 74 2e 2e 2e 00 00 00 00 00 00 00 00 00 00 |oot.............|
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
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.9G 108M 1.8G 6% /
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 770M 860K 769M 1% /run
/dev/sdb1 vfat 7.4G 695M 6.7G 10% /cdrom
/dev/loop0 squashfs 655M 655M 0 100% /rofs
tmpfs tmpfs 1.9G 32K 1.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 208K 1.9G 1% /run/shm
/dev/sda1 vfat 94M 843K 93M 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 231G 2.9G 217G 2% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 500118191 250059095+ ee GPT
Disk /dev/sdb: 7885 MB, 7885291520 bytes
255 heads, 63 sectors/track, 958 cylinders, total 15400960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 128 15390269 7695071 c W95 FAT32 (LBA)
EFI detected. Please check the options.
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda2, using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s backup-and-rename-efi-files
/boot/efi added in sda2/fstab
rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
ls /mnt/boot-sav/sda2/boot/efi: /*/*/*/*
Unhide GRUB boot menu in sda2/etc/default/grub
grub-install (GRUB) 1.99-21ubuntu3.9,grub-install (GRUB) 1.
Reinstall the grub-efi of sda2
grub-install : BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000,0002,0001
Boot0000* HDD/SSD
Boot0001* LAN2
Boot0002* LAN1
Boot0003* USB Memory
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0004,0003,0000,0002,0001
Boot0000* HDD/SSD
Boot0001* LAN2
Boot0002* LAN1
Boot0003* USB Memory
Boot0004* ubuntu
Installation finished. No error reported.
exit code of grub-install :0
(debug) beglsefi1 ubuntu/grubx64.efi ; ubuntu , /mnt/boot-sav/sda2/boot/efi .
ls /mnt/boot-sav/sda2/boot/efi: /*/*/*/*
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
ls /mnt/boot-sav/sda2/boot/efi:
Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
chroot /mnt/boot-sav/sda2 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-23-generic
Found initrd image: /boot/initrd.img-3.5.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/grubx64.efi file!
pastebinit packages needed
W: Duplicate sources.list entry cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)/ precise/main i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04.2%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20130213)_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)/ precise/restricted i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04.2%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20130213)_dists_precise_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Il est parfait. Tu as bien installé Ubuntu 12.04.2 en mode EFI. Pourrais-tu renommer comme je l'indique les fichiers suivants qui se trouvent dans /boot/efi//EFI/Microsoft/Boot/ :
bootmgfw.efi à renommer en bootmgfw_efi
bootx64.efi à renommer en bootx64_efi
Et renommer le fichier /boot/efi/EFI/Boot/bootx64.efi en /boot/efi/EFI/Boot/bootx64_efi
Je te propose ce renommage parce que ces fichiers sont des résidus de ton ancienne installation de Windows : après ce renommage, il ne seront plus reconnus comme des chargeurs d'amorçage. Il ne restera comme chargeur d'amorçage actif que /boot/efi/EFI/ubuntu/grubx64.efi
Dernière modification par malbo (Le 24/04/2013, à 18:26)
Hors ligne
#11 Le 24/04/2013, à 19:25
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Avant que je puisse modifier ces fichiers (juste après être entrée dans le terminal, avant d'avoir tapé ma commande "gksudo nautilus"), j'ai de nouveau eu un kernel panic (un peu différent des précédents sous la 12.10 cependant), pourrait-il y avoir un lien ? J'en doute mais bon.. sait-on jamais.
J'ai rallumé mon pc et j'ai renommé ces fichiers. J'ai ensuite éteint de nouveau mon pc et en le rallumant, (avant le grub) j'ai un message : "Insert drive disk and press any key"..
Du coup je pensais booter sur la live usb, remettre Boot repair et faire une réparation recommandée. Mais je ne suis pas sûre, faut il faire autre chose ?
Hors ligne
#12 Le 24/04/2013, à 20:23
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Peux-tu refaire un Boot-Info seulement (pas la réparation recommandée, seulement le Boot-Info) que je puisse voir ce qui se passe ?
Hors ligne
#13 Le 24/04/2013, à 22:29
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Le voilà (juste le boot info, sans réparation aucune):
Hors ligne
#14 Le 25/04/2013, à 06:27
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Ton Boot-Info est correct : tu as bien seulement le fichier .efi pour Ubuntu dans la partition EFI :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grubx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.06 2012-10-23
Boot sector info: Syslinux looks at sector 59920 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 500,118,191 500,118,191 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 194,559 192,512 EFI System partition
/dev/sda2 194,560 491,945,983 491,751,424 Data partition (Windows/Linux)
/dev/sda3 491,945,984 500,117,503 8,171,520 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7885 MB, 7885291520 bytes
255 heads, 63 sectors/track, 958 cylinders, total 15400960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 128 15,390,269 15,390,142 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 F22A-6B26 vfat
/dev/sda2 10e93fcc-8a74-4a68-b135-34f14983f7d8 ext4
/dev/sda3 9e96e8e8-7439-45d4-87fc-6bc18aefbca8 swap
/dev/sdb1 16EC-272D vfat PENDRIVE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda2/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
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
}
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, avec Linux 3.5.0-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
linux /boot/vmlinuz-3.5.0-27-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-27-generic
}
menuentry 'Ubuntu, avec Linux 3.5.0-27-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
echo 'Chargement de Linux 3.5.0-27-generic…'
linux /boot/vmlinuz-3.5.0-27-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.5.0-27-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 3.5.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-23-generic
}
menuentry 'Ubuntu, avec Linux 3.5.0-23-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
echo 'Chargement de Linux 3.5.0-23-generic…'
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.5.0-23-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,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 10e93fcc-8a74-4a68-b135-34f14983f7d8
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 ###
menuentry 'System setup' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda2/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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=F22A-6B26 /boot/efi vfat defaults 0 1
# swap was on /dev/sda3 during installation
UUID=9e96e8e8-7439-45d4-87fc-6bc18aefbca8 none swap sw 0 0
UUID=F22A-6B26 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
64.335815430 = 69.080055808 boot/grub/grub.cfg 1
0.628856659 = 0.675229696 boot/vmlinuz-3.5.0-23-generic 1
1.804630280 = 1.937707008 boot/vmlinuz-3.5.0-27-generic 1
1.804630280 = 1.937707008 vmlinuz 1
0.628856659 = 0.675229696 vmlinuz.old 1
2.404125214 = 2.581409792 boot/initrd.img-3.5.0-23-generic 1
0.787014008 = 0.845049856 boot/initrd.img-3.5.0-27-generic 1
2.404125214 = 2.581409792 initrd.img.old 1
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
========================= sdb1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux/syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/menu.c32 1
?? = ?? syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/menu.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-24__20h25 ===================
boot-repair version : 3.198~ppa11~precise
boot-sav version : 3.198~ppa11~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.198~ppa11~precise
boot-repair is executed in live-session (Ubuntu 12.04.2 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda2:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F22A-6B26" TYPE="vfat"
/dev/sda2: UUID="10e93fcc-8a74-4a68-b135-34f14983f7d8" TYPE="ext4"
/dev/sda3: UUID="9e96e8e8-7439-45d4-87fc-6bc18aefbca8" TYPE="swap"
/dev/sdb1: LABEL="PENDRIVE" UUID="16EC-272D" TYPE="vfat"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== sda2/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"
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 13 22:10 grub.d
total 60
-rwxr-xr-x 1 root root 6743 Jan 22 19:18 00_header
-rwxr-xr-x 1 root root 5522 Jan 22 19:05 05_debian_theme
-rwxr-xr-x 1 root root 7780 Jan 22 19:18 10_linux
-rwxr-xr-x 1 root root 6335 Jan 22 19:18 20_linux_xen
-rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
-rwxr-xr-x 1 root root 7603 Jan 22 19:18 30_os-prober
-rwxr-xr-x 1 root root 1388 Jan 22 19:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jan 22 19:18 40_custom
-rwxr-xr-x 1 root root 95 Jan 22 19:18 41_custom
-rw-r--r-- 1 root root 483 Jan 22 19:18 README
/boot/efi detected in the fstab of sda2: UUID=F22A-6B26 (sda1)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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.
sda2 : sda, not-sepboot, grubenv-ok grub2, grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA THNSNF25 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 99.6MB 98.6MB fat32 boot
2 99.6MB 252GB 252GB ext4
3 252GB 256GB 4184MB linux-swap(v1)
Model: Sony Storage Media (scsi)
Disk /dev/sdb: 7885MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 65.5kB 7880MB 7880MB primary fat32 boot, lba
=================== parted -lm:
BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA TOSHIBA THNSNF25;
1:1049kB:99.6MB:98.6MB:fat32::boot;
2:99.6MB:252GB:252GB:ext4::;
3:252GB:256GB:4184MB:linux-swap(v1)::;
BYT;
/dev/sdb:7885MB:scsi:512:512:msdos:Sony Storage Media;
1:65.5kB:7880MB:7880MB:fat32::boot, lba;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
ls /mnt/boot-sav/sda1:
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 4d 53 57 49 4e 34 2e 31 00 02 02 20 00 |.X.MSWIN4.1... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 f0 02 00 ed 02 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 00 29 26 6b 2a f2 4e 4f 20 4e 41 4d 45 20 20 |..)&k*.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 74 7e ac | FAT32 ...t~.|
00000060 22 c0 74 06 b4 0e cd 10 eb f5 b4 00 cd 16 b4 00 |".t.............|
00000070 cd 19 eb fe 54 68 69 73 20 70 61 72 74 69 74 69 |....This partiti|
00000080 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 |on does not have|
00000090 20 61 6e 20 6f 70 65 72 61 74 69 6e 67 20 73 79 | an operating sy|
000000a0 73 74 65 6d 20 6c 6f 61 64 65 72 20 69 6e 73 74 |stem loader inst|
000000b0 61 6c 6c 65 64 20 6f 6e 20 69 74 2e 0a 0d 50 72 |alled on it...Pr|
000000c0 65 73 73 20 61 20 6b 65 79 20 74 6f 20 72 65 62 |ess a key to reb|
000000d0 6f 6f 74 2e 2e 2e 00 00 00 00 00 00 00 00 00 00 |oot.............|
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
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.9G 206M 1.7G 11% /
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 770M 856K 769M 1% /run
/dev/sdb1 vfat 7.4G 695M 6.7G 10% /cdrom
/dev/loop0 squashfs 655M 655M 0 100% /rofs
tmpfs tmpfs 1.9G 24K 1.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 176K 1.9G 1% /run/shm
/dev/sda1 vfat 94M 474K 93M 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 231G 7.1G 213G 4% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 500118191 250059095+ ee GPT
Disk /dev/sdb: 7885 MB, 7885291520 bytes
255 heads, 63 sectors/track, 958 cylinders, total 15400960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 128 15390269 7695071 c W95 FAT32 (LBA)
EFI detected. Please check the options.
=================== Final advice in case of recommended repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
=================== Default settings
Recommended-Repair
This setting would reinstall the grub-efi of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s backup-and-rename-efi-files
=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.
No change has been performed on your computer.
Ce n'est pas utile de faire la "Réparation recommandée" de Boot-Repair. Il faut juste que tu configures ton système UEFI pour qu'il démarre sur "ubuntu" (tu dois avoir une entrée - une entrée de ton système UEFI, pas une entrée de Grub - qui contient le terme "ubuntu")
Edit : à la page 4-14 du manuel de ton ordi (Satellite Z930) : http://cdn.cnetcontent.com/6d/7a/6d7ace … e579f2.pdf
Je lis :
1. Hold down F12 and boot the computer. when the TOSHIBA Leading Innovation screen appears, release the F12 key.
2. Use the up and down cursor keys to select the boot device you want and press ENTER
Peux-tu essayer de faire ça et voir si ça te permet de démarrer sur Ubuntu ?
Dernière modification par malbo (Le 25/04/2013, à 07:32)
Hors ligne
#15 Le 25/04/2013, à 09:38
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
Quand j'appuie sur F12 j'ai "boot menu" :
Il me propose :
HDD/ SSD : Toshiba (suivi d'une succession de chiffres et lettres)
LAN 1
LAN 2
Enter setup
Je peux juste appuyer sur entrée, je ne peux pas changer les valeurs de ce boot menu avec les flèches.
Quand on clique sur Enter Setup, on entre dans le BIOS. J'ai regardé dedans et je ne trouve pas d'entrée qui me permette de sélectionner Ubuntu..
Si ça peut aider : Dans l'onglet "Main" j'ai : System Bios version 6.5
Sinon dans "advanced" j'ai :
Execute- Disable Bit Compatibility
Virtualization Technology
Intel (R) AT
Intel (R) AT Suspend
Intel (R) Rapid start technology
...
Beep sound
(plusieurs entrées au sujet de la charge pendant la veille)
USB legacy emulation <Enabled>
Boot order
System configuration
Quand j'entre dans system configuration, une nouvelle page s'affiche:
Plusieurs entrées (bluetooth, built in Lan, wireless Lan etc)
Puis "Boot Mode" qui me propose UEFI ou CSM (je suis sur UEFI), et dans CSM, une entrée au dessus apparait "SATA controller mode" et me propose AHCI ou compatibility .
Power on Display <Auto selected> (l'autre possibilité est System LCD only)
Dernière modification par Cara-bosse (Le 25/04/2013, à 09:46)
Hors ligne
#16 Le 25/04/2013, à 10:12
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
Quand j'appuie sur F12 j'ai "boot menu" :
Il me propose :HDD/ SSD : Toshiba (suivi d'une succession de chiffres et lettres)
LAN 1
LAN 2
Enter setupJe peux juste appuyer sur entrée, je ne peux pas changer les valeurs de ce boot menu avec les flèches.
C'est normal que tu ne puisses pas changer les valeurs : tu es dans ce qu'on appelle un "Boot Menu" dont le principal intérêt consiste justement dans la possibilité de sélectionner "à la volée" le support sur lequel tu souhaites démarrer l'ordi, quelque soit l'ordre de démarrage prévu par ailleurs dans le "Bios".
Si tu sélectionnes HDD/ SSD et que tu valides par la touche Entrée, qu'est-ce qui se passe (avec précision s'il te plaît) ?
Intel (R) Rapid start technology
Il faut désactiver cette saloperie de "Intel (R) Rapid start technology" qui ne peut fonctionner qu'avec Windows. Peux-tu la désactiver (si tu y parviens, dis ce qu'il y avait comme "valeur" et par quoi tu as pu le remplacer)
Puis "Boot Mode" qui me propose UEFI ou CSM (je suis sur UEFI)
Oui, il faut rester en UEFI
Dernière modification par malbo (Le 25/04/2013, à 10:13)
Hors ligne
#17 Le 25/04/2013, à 10:36
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Quand je démarre sur HDD/SSD : l'écran d'accueil Toshiba (le même que celui qu'on voit au boot et pendant lequel on appuie sur F12) réapparaît pendant quelques secondes puis un message apparaît en haut à gauche de l'écran :
"Insert system disk in drive.
Press any key when ready...."
Quand j'appuie sur une touche il se passe la même chose : écran d'accueil toshiba puis même message en haut à gauche de l'écran.
Pour Intel Rapid Start Technology : il me propose "Enabled/Disabled", il était sur "Disabled", je l'ai laissé tel quel.
Hors ligne
#18 Le 25/04/2013, à 14:26
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Il faut que je me rende à l'évidence : le pb doit être dû au renommage que je t'ai demandé de faire dans le post #10. Je te propose de rétablir le fichier bootmgfw.efi parce que d'expérience je sais que c'est lui qui est utilisé (si ça ne marchait pas, tu pourrais rétablir le nom des deux autres fichiers ultérieurement)
Depuis ta session live de Ubuntu, il faut que tu montes la partition sda1 avec l'utilitaire de disques
Tu notes quel est le point de montage : il est indiqué en bas à droite de la fenêtre de l'utilitaire de disque (dans cet exemple, on voit que c'est dans le champ "En service Oui, monté sur...."
Ensuite, sans fermer l'utilitaire de disques, tu lances nautilus avec pouvoir administrateur en passant cette commande dans un terminal :
gksudo nautilus
et tu navigues jusqu'au point de montage de sda1 noté plus haut, tu vas dans EFI/Microsoft/Boot/ et tu renommes le fichier bootmgfw_efi en bootmgfw.efi
Quand c'est fait, tu peux fermer nautilus et le terminal et tu peux démonter la partition sda1 avec l'utilitaire de disques (ce n'est peut-être pas indispensable mais bon...)
Dernière modification par malbo (Le 25/04/2013, à 14:30)
Hors ligne
#19 Le 25/04/2013, à 16:14
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Je lirai tout ça tranquillement ce soir tard.
Je te tiens au courant.
Merci
Hors ligne
#20 Le 26/04/2013, à 10:26
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
J'ai essayé de ne renommer que bootmgfw.efi mais malheureusement ça n'a pas suffi ("Insert drive disk and press any key" au boot). J'ai donc rebooté sur la live USB et j'ai renommé les 2 autres fichiers. Ca marche.
Au moins maintenant j'ai une idée de ce que c'est que "monter un disque" (ce n'est pas la première fois que je vois ce terme sur les forums et je ne comprenais pas bien ce que ça voulait dire, mais j'avais passé cette doc là à la trappe en me disant que d'autres étaient, pour le moment, et pour une débutante, bien plus importantes dans l'immédiat). Par contre je ne suis pas sûre de bien comprendre ce que ça fait.. C'est un genre "d'installation" non ? Est-ce que c'est ce qui se passe automatiquement quand on branche une clef usb sur un pc (en gros ce qui se passe "pendant que le pc cherche à reconnaître la clef"?)
Si je comprends bien, comme mon pc a besoin de fichiers de boot Microsoft, ça veut dire qu'il reste un peu de Windows dans mon Ubuntu ? Et si oui, c'est normal ? (ou alors j'ai oublié qqch à l'installation ?)
Désolée pour toutes ces questions, mais j'aime bien comprendre ce que je fais (je me dis que ça pourra toujours me servir, peut être dans d'autres circonstances).
Dernière modification par Cara-bosse (Le 26/04/2013, à 10:35)
Hors ligne
#21 Le 26/04/2013, à 17:00
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Est-ce que c'est ce qui se passe automatiquement quand on branche une clef usb sur un pc
Oui et non.
Sous Windows, toutes les partitions que Windows découvre quand il démarre sont montés automatiquement, c'est pour cette raison que quelqu'un qui ne connaît que Windows ne connaît pas le montage d'une partition.
Sous Ubuntu, seules les partitions dont le montage est décrit dans le fichier fstab sont montées : il n'y a pas de montage automatique des autres partitions. Je ne dis pas que c'est mieux ou moins bien : c'est comme ça.
Si on regarde ton fstab (extrait du post plus haut) :
=============================== sda2/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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=10e93fcc-8a74-4a68-b135-34f14983f7d8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=F22A-6B26 /boot/efi vfat defaults 0 1
# swap was on /dev/sda3 during installation
UUID=9e96e8e8-7439-45d4-87fc-6bc18aefbca8 none swap sw 0 0
UUID=F22A-6B26 /boot/efi vfat defaults 0 1
Il n'y a que ce qui est strictement utile à Ubuntu pour fonctionner :
la ligne pour le montage de ta partition racine
la ligne pour le montage de la partition EFI
la ligne pour le montage de la swap
Si tu voulais obtenir le montage automatique au démarrage d'une autre partition (ce pourrait être une partition de stockage de données) qui serait sur un autre disque dur (en supposant que tu en aies un), il faudrait qu'une ligne supplémentaire soit créée dans ce fichier fstab pour cela. C'est faisable soit en manuel (c'est toi qui doit écrire toute la ligne) soit avec l'aide d'outils de configuration.
Pour revenir à nos moutons, je voudrais te demander de passer les commandes suivantes depuis ta session normale de Ubuntu et de poster le résultat obtenu pour chacune des commandes suivantes :
md5sum /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
md5sum /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
Le but est de savoir quels sont les fichiers identiques (ceux qui ont le même md5sum)
Dernière modification par malbo (Le 26/04/2013, à 17:24)
Hors ligne
#22 Le 27/04/2013, à 11:46
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
Alors j'obtiens :
md5sum /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
547f361aeff9179b580e65eeda743821 /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
547f361aeff9179b580e65eeda743821 /boot/efi/EFI/Microsoft/Boot/bootx64.efi
md5sum /boot/efi/EFI/Boot/bootx64.efi
547f361aeff9179b580e65eeda743821 /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
547f361aeff9179b580e65eeda743821 /boot/efi/EFI/ubuntu/grubx64.efi
Hors ligne
#23 Le 27/04/2013, à 12:09
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Alors là, c'est clair : tous les fichiers .efi en question sont identiques bien que leur nom soit différent. C'est Boot-Repair qui réalise cela : son concepteur a imaginé de remplacer les fichiers d'origine de Windows par une copie du fichier grubx64.efi. Chacun des ces 4 fichiers ne peut démarrer que Ubuntu.
A l'heure actuelle, le Bios de ton ordi est configuré pour démarrer sur l'un des deux fichiers /boot/efi/EFI/Microsoft/Boot/bootx64.efi ou /boot/efi/EFI/Boot/bootx64.efi : on ne sait pas lequel des deux (*) mais on sait que ce n'est pas /boot/efi/EFI/ubuntu/grubx64.efi ni /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi. A la limite, tu t'en moques un peu de savoir sur lequel ça démarre. Ce qui est important, c'est de comprendre que ton ordi devrait être capable de démarrer sur /boot/efi/EFI/ubuntu/grubx64.efi. Ce serait bien que tu fouilles un peu dans ton Bios pour voir si tu ne trouves pas une option de boot qui s'appelle "Boot from file". Cette option sert à démarrer sur n'importe quel fichier efi mais elle nécessite de connaître à l'avance le chemin pour y aller. Toi, le chemin, tu le connais c'est EFI > ubuntu > grubx64.efi Peux-tu essayer de trouver cette option "Boot from file" ?
Edit : j'ai ajouté le modèle "Satellite Z930" dans la liste des portables Toshiba
(*) ajouté le 15 sept 2015 : à la lumière des manips de Trymy sur le même modèle d'ordi dans cette autre discussion, on sait que c'est le fichier /boot/efi/EFI/Boot/bootx64.efi qui est effectivement utilisé.
Dernière modification par malbo (Le 15/09/2015, à 11:08)
Hors ligne
#24 Le 30/04/2013, à 11:14
- Cara-bosse
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bonjour,
J'ai bien regardé dans mon BIOS et je ne trouve rien qui ressemble à "boot from file" malheureusement..
Hors ligne
#25 Le 30/04/2013, à 11:48
- malbo
Re : [RESOLU] Débutante, ubuntu installé, pb de grub malgré boot repair
Bon et bien je n'ai plus rien à te proposer. C'est quand même rageant que cette fonctionnalité basique de UEFI ("boot from file") ne soit pas disponible dans ton "Bios" (j'en parle de cette fonctionnalité dans le nota en bas de ce post)
Hors ligne