#1 Le 23/03/2015, à 17:20
- pj074
[Résolu] Windows me supprime grub2
Bonjour, j'ai essayé d'installé windows alors que j'avais déjà uniquement ubuntu, j'ai partitionné mon HD, installé windows et essayé de faire un boot-repair depuis un live-cd sans succès, c'est là que j'ai desactivé boot-secure dans mon bios.
J'ai donc du réinstallé ubuntu et il m'a installé grub2, lequel proposait ubuntu et le loader windows (8.1), mais quand j'ai choisi windows et que j'ai redémarré ma machine, windows bootait sans grub2, je suppose que windows l'a éffacé.
A votre avis est-ce du au fait que j'avais désactivé boot-secure dans le bios ?(je l'ai remis depuis mais j'ose plus lancer windows, car j'ai du ré-installé ubuntu une deuxième fois ...)
Merci.
Dernière modification par pj074 (Le 24/03/2015, à 12:02)
Hors ligne
#2 Le 23/03/2015, à 17:38
- malbo
Re : [Résolu] Windows me supprime grub2
pj074,
Ton ordi doit avoir été acheté avec Windows 8.1 préinstallé. Si c'est le cas, la cohabitation avec Ubuntu demande parfois quelques aménagements. Quand on tu as démarré sur Windows, ce dernier s'est remis automatiquement en priorité de démarrage et au démarrage suivant il s'est lancé par défaut. Cela a pu te faire croire qu'il avait supprimé Ubuntu mais il n'en est rien : tu n'aurais pas dû réinstaller Ubuntu mais seulement intervenir - avec notre aide - pour agir sur le démarrage afin de remettre Ubuntu en priorité de démarrage. Peux-tu donner le nom COMPLET de ton modèle d'ordi et son fabricant ? Suivant le fabricant de l'ordi, les astuces à adopter pour une cohabitation agréable peuvent être différentes.
Dernière modification par malbo (Le 23/03/2015, à 17:40)
Hors ligne
#3 Le 23/03/2015, à 18:11
- pj074
Re : [Résolu] Windows me supprime grub2
pj074,
Ton ordi doit avoir été acheté avec Windows 8.1 préinstallé. Si c'est le cas, la cohabitation avec Ubuntu demande parfois quelques aménagements. Quand on tu as démarré sur Windows, ce dernier s'est remis automatiquement en priorité de démarrage et au démarrage suivant il s'est lancé par défaut. Cela a pu te faire croire qu'il avait supprimé Ubuntu mais il n'en est rien : tu n'aurais pas dû réinstaller Ubuntu mais seulement intervenir - avec notre aide - pour agir sur le démarrage afin de remettre Ubuntu en priorité de démarrage. Peux-tu donner le nom COMPLET de ton modèle d'ordi et son fabricant ? Suivant le fabricant de l'ordi, les astuces à adopter pour une cohabitation agréable peuvent être différentes.
J'avais windows pré installé mais je l'avais supprimé, j'ai été obligé de le réinstaller via un DVD d'installation.
Mon ordi et un HP Pavilion 500-263ef.
Merci.
Hors ligne
#4 Le 23/03/2015, à 20:49
- malbo
Re : [Résolu] Windows me supprime grub2
Dans le cas d'un ordi HP, en général on n'essaie pas de forcer l'ordi à démarrer par défaut sur Ubuntu : on laisse le démarrage par défaut sur Windows (c'est ton cas actuellement) et lorsqu'on veut démarrer sur Ubuntu, on presse la touche F9 au démarrage pour faire apparaître le Boot Menu et on sélectionne Ubuntu dans ce menu. Essaie ça. Si ça ne fonctionne pas, je te prie de faire un Boot-Info et de donner l'URL de ce Boot-Info dans ta réponse.
Dernière modification par malbo (Le 23/03/2015, à 20:49)
Hors ligne
#5 Le 23/03/2015, à 22:46
- pj074
Re : [Résolu] Windows me supprime grub2
Dans le cas d'un ordi HP, en général on n'essaie pas de forcer l'ordi à démarrer par défaut sur Ubuntu : on laisse le démarrage par défaut sur Windows (c'est ton cas actuellement) et lorsqu'on veut démarrer sur Ubuntu, on presse la touche F9 au démarrage pour faire apparaître le Boot Menu et on sélectionne Ubuntu dans ce menu. Essaie ça. Si ça ne fonctionne pas, je te prie de faire un Boot-Info et de donner l'URL de ce Boot-Info dans ta réponse.
J'avais déjà essayé de le lancer depuis le bios mais celui-ci m'a rejeté en me disant que ce n'était pas possible.
voici mon url boot info : http://paste.ubuntu.com/10664118
Merci !
Hors ligne
#6 Le 24/03/2015, à 05:41
- malbo
Re : [Résolu] Windows me supprime grub2
Ton Boot-Info est là :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
============================= 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: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/extlinux/extlinux.conf
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.05 20140113
Boot sector info: Syslinux looks at sector 2708048 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.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 1,027,037,183 1,025,986,560 Data partition (Linux)
/dev/sda3 1,027,037,184 1,027,299,327 262,144 EFI System partition
/dev/sda4 1,027,299,328 1,829,373,951 802,074,624 Data partition (Windows/Linux)
/dev/sda5 1,829,373,952 1,953,523,711 124,149,760 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 4127 MB, 4127195136 bytes
127 heads, 62 sectors/track, 1023 cylinders, total 8060928 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 * 62 8,055,101 8,055,040 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 7F1A-1A0F vfat
/dev/sda2 0669c172-6f5d-423c-9490-52f0e0f89cdc ext4
/dev/sda3 dd05f33c-b425-4a42-810e-1f5227af2025 ext4
/dev/sda4 30D25CC5D25C90C8 ntfs
/dev/sda5 417f8134-c1d8-48b4-ab4b-a670784e334b swap
/dev/sdb1 E080-56C5 vfat
/dev/zram0 e0c1070d-e8a3-47af-b700-427d73c83906 swap
/dev/zram1 5a9762f5-2a2b-4e2d-b65e-1d442322d482 swap
/dev/zram2 7303f8b8-6a0b-470b-940b-3f0329a81351 swap
/dev/zram3 5ae27152-6fbc-4449-8dab-d3c6b78073ab swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 23 2015 ata-ST1000DM003-1CH162_Z1DA1VAF -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 23 2015 ata-ST1000DM003-1CH162_Z1DA1VAF-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 23 2015 ata-ST1000DM003-1CH162_Z1DA1VAF-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 23 2015 ata-ST1000DM003-1CH162_Z1DA1VAF-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 23 21:40 ata-ST1000DM003-1CH162_Z1DA1VAF-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 23 2015 ata-ST1000DM003-1CH162_Z1DA1VAF-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 23 2015 ata-hp_CDDVDW_SH-216DB_R96F6YBDC00XNJ -> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 23 2015 usb-PNY_ATTACHE_OPTIMA_077A13904B3B-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 23 2015 usb-PNY_ATTACHE_OPTIMA_077A13904B3B-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Mar 23 2015 wwn-0x5000c50066365708 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 23 2015 wwn-0x5000c50066365708-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 23 2015 wwn-0x5000c50066365708-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 23 2015 wwn-0x5000c50066365708-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 23 21:40 wwn-0x5000c50066365708-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 23 2015 wwn-0x5000c50066365708-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,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
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
recordfail
load_video
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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
linux /boot/vmlinuz-3.16.0-31-generic.efi.signed root=UUID=0669c172-6f5d-423c-9490-52f0e0f89cdc ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-31-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
menuentry 'Ubuntu, avec Linux 3.16.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-31-generic-advanced-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
recordfail
load_video
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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
echo 'Chargement de Linux 3.16.0-31-generic…'
linux /boot/vmlinuz-3.16.0-31-generic.efi.signed root=UUID=0669c172-6f5d-423c-9490-52f0e0f89cdc ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-31-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-31-generic-recovery-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
recordfail
load_video
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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
echo 'Chargement de Linux 3.16.0-31-generic…'
linux /boot/vmlinuz-3.16.0-31-generic.efi.signed root=UUID=0669c172-6f5d-423c-9490-52f0e0f89cdc ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-31-generic
}
menuentry 'Ubuntu, avec Linux 3.16.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-advanced-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
recordfail
load_video
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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
echo 'Chargement de Linux 3.16.0-30-generic…'
linux /boot/vmlinuz-3.16.0-30-generic root=UUID=0669c172-6f5d-423c-9490-52f0e0f89cdc ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-30-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-recovery-0669c172-6f5d-423c-9490-52f0e0f89cdc' {
recordfail
load_video
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 0669c172-6f5d-423c-9490-52f0e0f89cdc
else
search --no-floppy --fs-uuid --set=root 0669c172-6f5d-423c-9490-52f0e0f89cdc
fi
echo 'Chargement de Linux 3.16.0-30-generic…'
linux /boot/vmlinuz-3.16.0-30-generic root=UUID=0669c172-6f5d-423c-9490-52f0e0f89cdc ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-30-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 ###
menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-7F1A-1A0F' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 7F1A-1A0F
else
search --no-floppy --fs-uuid --set=root 7F1A-1A0F
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
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=0669c172-6f5d-423c-9490-52f0e0f89cdc / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=7F1A-1A0F /boot/efi vfat defaults 0 1
# swap was on /dev/sda5 during installation
UUID=417f8134-c1d8-48b4-ab4b-a670784e334b none swap sw 0 0
--------------------------------------------------------------------------------
====================== sda2/boot/extlinux/extlinux.conf: =======================
--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update
default l0
prompt 1
timeout 50
include themes/debian/theme.cfg
--------------------------------------------------------------------------------
============== sda2: Version of COM32(R) files used by Syslinux: ===============
boot/extlinux/chain.c32 : COM32R module (v4.xx)
=========================== 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 "Boot-Repair-Disk session" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
--------------------------------------------------------------------------------
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
menu.c32 : COM32R module (v4.xx)
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/2041/mounts) leaked on lvs invocation. Parent PID 11191: bash
File descriptor 63 (pipe:[29179]) leaked on lvs invocation. Parent PID 11191: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-03-23__22h39 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/2041/mounts) leaked on lvs invocation. Parent PID 4580: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
mount -r /dev/sda3 : Error code 32
GRUB detected inside Windows partition. Rename /mnt/boot-sav/sda4/boot/grub into boot/grub_old
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda2:Ubuntu 14.04.2 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="7F1A-1A0F" TYPE="vfat"
/dev/sda2: UUID="0669c172-6f5d-423c-9490-52f0e0f89cdc" TYPE="ext4"
/dev/sda3: UUID="dd05f33c-b425-4a42-810e-1f5227af2025" TYPE="ext4"
/dev/sda4: UUID="30D25CC5D25C90C8" TYPE="ntfs"
/dev/sda5: UUID="417f8134-c1d8-48b4-ab4b-a670784e334b" TYPE="swap"
/dev/sdb1: UUID="E080-56C5" TYPE="vfat"
/dev/zram0: UUID="e0c1070d-e8a3-47af-b700-427d73c83906" TYPE="swap"
/dev/zram1: UUID="5a9762f5-2a2b-4e2d-b65e-1d442322d482" TYPE="swap"
/dev/zram2: UUID="7303f8b8-6a0b-470b-940b-3f0329a81351" TYPE="swap"
/dev/zram3: UUID="5ae27152-6fbc-4449-8dab-d3c6b78073ab" TYPE="swap"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
mount -r /dev/sda3 : Error code 32
Windows not detected by os-prober on sda4.
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/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== 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"
/boot/efi detected in the fstab of sda2: UUID=7F1A-1A0F (sda1)
=================== No kernel in /mnt/boot-sav/sda4/boot:
boot-isos
grub_old
efibootmgr -v
BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0000,0006,0005,0001,0002,0007
Boot0000* ubuntu HD(1,800,100000,8dd46bd6-f3fb-494d-a9c2-08d43a4bee3c)File(EFIubuntushimx64.efi)
Boot0001* USB Floppy/CD Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* USB Hard Drive Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0005* UEFI: IPv4 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0..BO
Boot0006* UEFI: IPv6 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0007* UEFI: PNY ATTACHE OPTIMA PMAP ACPI(a0341d0,0)PCI(14,0)USB(8,0)HD(1,3e,7ae900,0007f239)..BO
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-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, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot
2 538MB 526GB 525GB ext4
3 526GB 526GB 134MB ext4 Microsoft reserved partition boot
4 526GB 937GB 411GB ntfs Basic data partition msftdata
5 937GB 1000GB 63.6GB linux-swap(v1)
Model: PNY ATTACHE OPTIMA (scsi)
Disk /dev/sdb: 4127MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 31.7kB 4124MB 4124MB primary fat32 boot
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-1CH1;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:526GB:525GB:ext4::;
3:526GB:526GB:134MB:ext4:Microsoft reserved partition:boot;
4:526GB:937GB:411GB:ntfs:Basic data partition:msftdata;
5:937GB:1000GB:63.6GB:linux-swap(v1)::;
BYT;
/dev/sdb:4127MB:scsi:512:512:msdos:PNY ATTACHE OPTIMA;
1:31.7kB:4124MB:4124MB:fat32::boot;
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
=================== 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=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
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)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
=================== 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 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 0f 1a 1a 7f 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda4
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 58 3b 3d |........?....X;=|
00000020 00 00 00 00 80 00 80 00 ff af ce 2f 00 00 00 00 |.........../....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 c8 90 5c d2 c5 5c d2 30 |.............0|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 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 3.9G 6.3M 3.9G 1% /
udev devtmpfs 3.9G 12K 3.9G 1% /dev
tmpfs tmpfs 793M 1.1M 792M 1% /run
/dev/sdb1 vfat 3.9G 2.3G 1.6G 60% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 8.0K 3.9G 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 3.9G 0 3.9G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda1 vfat 511M 41M 471M 9% /mnt/boot-sav/sda1
/dev/sda2 ext4 482G 9.5G 448G 3% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 383G 17G 367G 5% /mnt/boot-sav/sda4
=================== fdisk -l:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xbef5c47a
Device Boot Start End Blocks Id System
/dev/sda1 1 1953525167 976762583+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 4127 MB, 4127195136 bytes
127 heads, 62 sectors/track, 1023 cylinders, total 8060928 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: 0x0007f239
Device Boot Start End Blocks Id System
/dev/sdb1 * 62 8055101 4027520 b W95 FAT32
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems fix-windows-boot
=================== Advice in case of suggested repair
Please disable SecureBoot in the BIOS. Then try again.Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\...\grub*.efi
=================== User settings
The settings chosen by the user will not act on the boot.
On voit dans cet extrait que l'entrée pour Ubuntu existe bien dans l'UEFI :
efibootmgr -v
BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0000,0006,0005,0001,0002,0007
Boot0000* ubuntu HD(1,800,100000,8dd46bd6-f3fb-494d-a9c2-08d43a4bee3c)File(EFIubuntushimx64.efi)
Boot0001* USB Floppy/CD Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* USB Hard Drive Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0005* UEFI: IPv4 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0..BO
Boot0006* UEFI: IPv6 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0007* UEFI: PNY ATTACHE OPTIMA PMAP ACPI(a0341d0,0)PCI(14,0)USB(8,0)HD(1,3e,7ae900,0007f239)..BO
D'après la ligne BootOrder, Ubuntu devrait être en priorité de démarrage mais le constructeur HP bride le démarrage sur Windows, c'est à dire que cette priorité théorique n'est pas respectée et que le démarrage par défaut se fait toujours sur Windows.
Je te prie de vérifier si tu peux démarrer sur Ubuntu en passant par Windows 8.1 comme expliqué par kokotx dans ce post : http://forum.ubuntu-fr.org/viewtopic.ph … #p17730601
EDIT : je viens de tomber sur cette discussion qui concerne un HP Pavilion 500 mais un modèle différent du tien : http://forum.ubuntu-fr.org/viewtopic.php?pid=19006961
Tu y verras la solution dans le post #11 : tu peux essayer de l'appliquer.
Dernière modification par malbo (Le 24/03/2015, à 06:39)
Hors ligne
#7 Le 24/03/2015, à 12:00
- pj074
Re : [Résolu] Windows me supprime grub2
Merci Malbo ! Tu me sauves la vie ! ;-)
Cette solution fonctionne chez moi, je la reposte ici, au cas ou quelqu'un chercherait via ce post :
-démarrer Windows
- Ouvrir l'invite de commandes en tant qu'Administrateur
- Saisir la commande :
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
- Redémarrer
Répéter cette procédure si le problème revient.
Dernière modification par pj074 (Le 24/03/2015, à 12:01)
Hors ligne
#8 Le 24/03/2015, à 15:28
- malbo
Re : [Résolu] Windows me supprime grub2
Depuis une session de ton Ubuntu installé, peux-tu passer la commande suivante et coller le résultat obtenu dans ta réponse :
sudo efibootmgr -v
De plus, peux-tu confirmer qu'après cela, ton ordi démarre par défaut sur le menu Grub ?
Peux-tu confirmer également que "Secure Boot" est sur "Enabled" dans ton Bios (dans ton système UEFI) ?
Dernière modification par malbo (Le 24/03/2015, à 15:30)
Hors ligne
#9 Le 24/03/2015, à 17:07
- pj074
Re : [Résolu] Windows me supprime grub2
$ sudo efibootmgr -v
[sudo] password for xx:
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0003,0006,0005,0001,0002,0000,0004,0007,0008
Boot0000* ubuntu Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0001* USB Floppy/CD Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* USB Hard Drive Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0003* Windows Boot Manager HD(1,800,100000,8dd46bd6-f3fb-494d-a9c2-08d43a4bee3c)File(\EFI\ubuntu\shimx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0004* UEFI:CD/DVD Drive BIOS(81,0,00)
Boot0005* UEFI: IPv4 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0..BO
Boot0006* UEFI: IPv6 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,6)PCI(0,0)MAC(0c54a5184016,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0007* UEFI:Removable Device BIOS(82,0,00)
Boot0008* UEFI:Network Device BIOS(83,0,00)
[je reboot]
ça reboot bien sur grub2 et secure boot est activé.
Dernière modification par pj074 (Le 24/03/2015, à 17:10)
Hors ligne
#10 Le 24/03/2015, à 18:22
- malbo
Re : [Résolu] Windows me supprime grub2
Merci. Le résultat que tu as collé dans le post #9 est lumineux :
"BootCurrent: 0003" indique que le démarrage s'est fait sur l'entrée "Boot0003* Windows Boot Manager". Et on peut constater que cette entrée est en priorité de démarrage dans la ligne BootOrder :
BootOrder: 0003,0006,0005,0001,0002,0000,0004,0007,0008
Donc le démarrage par défaut de ton ordi se fait bien sur l'entrée Windows Boot Manager que tu as créée de toute pièce en passant la commande que tu as redonnée dans le post #7 (bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi). On voit bien dans la ligne de l'entrée en question qu'elle "pointe" bien sur le chargeur d'amorçage de Ubuntu shimx64.efi :
Boot0003* Windows Boot Manager HD(1,800,100000,8dd46bd6-f3fb-494d-a9c2-08d43a4bee3c)File(\EFI\ubuntu\shimx64.efi
Peux-tu confirmer que tu arrives à démarrer Windows 8.1 en sélectionnant l'entrée "Windows Boot Manager (sur /dev/sda1)" dans le menu Grub ?
Dernière modification par malbo (Le 24/03/2015, à 18:22)
Hors ligne
#11 Le 24/03/2015, à 18:35
- pj074
Re : [Résolu] Windows me supprime grub2
Oui quand je clic sur "Windows Boot Manager (sur /dev/sda1)" dans grub ça lance windows sans problème, puis je redémarre j'ai de nouveau grub et je peux retourner sur ubuntu sans problème aussi.
Hors ligne
#12 Le 24/03/2015, à 19:03
- malbo
Re : [Résolu] Windows me supprime grub2
On dirait bien que la réparation est solide. Tant mieux pour toi.
Si un jour tu veux rétablir le démarrage par défaut sur Windows, il faudra juste défaire ce qui a été fait comme j'indique dans ce post : http://forum.ubuntu-fr.org/viewtopic.ph … #p17756581
C'est à dire passer la commande depuis Windows 8.1 (invite de commande en tant qu'Administrateur) :
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
Dernière modification par malbo (Le 24/03/2015, à 19:04)
Hors ligne