#1 Le 26/10/2013, à 09:11
- ursu
Grub après installation Windows
Bonjour à tous,
Ce post a été commencé dans la section "[Boot-Repair] Réparer le démarrage du PC (GRUB, MBR) en 1 clic !", post #1055
En vacances à la Réunion (j'ai de la chance..., oui je sais!), j'ai décidé d'acheter un portable Pavilion équipé d'Ubuntu 12.04 LTS;
déçu par le manque de certains drivers, plus une VirtualBox déficiente, je décide d'installer un W$ 7 de dépannage et capable d'héberger CartoExplorer (randos obligent...)
Et paf, bien sûr, la MBR est touchée par la manip' et impossible de booter sur une Voyager 12.04 installée à la suite... .
J'ai essayé plusieurs manip' avec Boot Repair mais niet...!
D'autres options sont proposées mais j'ai peur de griller totalement la MBR et de plus avoir accès à W$....
Voici le fichier:
Boot Info Script 0.61-git-patched [23 April 2012]
============================= Boot Info Summary: ===============================
=>
Windows 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: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot
Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX
4.05 20120131
Boot sector info: Syslinux looks at sector 9980720 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
/efi/boot/bootx64.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 * 2,048 211,118,079 211,116,032 7 NTFS / exFAT / HPFS
/dev/sda2 968,423,424 1,953,523,711 985,100,288 5 Extended
/dev/sda5 968,425,472 1,941,702,655 973,277,184 83
Linux
/dev/sda6 1,941,704,704 1,953,523,711 11,819,008 82 Linux swap / Solaris
/dev/sda3 211,118,080 968,423,423 757,305,344 7 NTFS / exFAT / HPFS
Drive: sdb
_____________________________________________________________________
Disk /dev/sdb: 8021 MB, 8021606400 bytes
247 heads, 62 sectors/track, 1023 cylinders, total 15667200 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 15,666,221 15,666,160 b W95 FAT32
"blkid"
output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1
017B5D445BC24510 ntfs
/dev/sda3 563493E403C468B3 ntfs
/dev/sda5 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3 ext4
/dev/sda6 027f7c56-8f6d-4639-
8f3c-7a436b33c00f swap
/dev/sdb1 D876-C175 vfat
================================ 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)
=========================== sda5/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_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
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
### 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.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
linux /boot/vmlinuz-
3.2.0-23-generic root=UUID=8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-23-generic
}
menuentry 'Ubuntu, avec Linux 3.2.0-23-generic (mode de
dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root
8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
echo 'Chargement de Linux 3.2.0-23-generic ...'
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3 ro recovery
nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.2.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_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-
floppy --fs-uuid --set=root 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
###
END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set
root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 017B5D445BC24510
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda5/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/sda5 during installation
UUID=8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3 /
ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=027f7c56-8f6d-4639-8f3c-7a436b33c00f none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File
Fragment(s)
779.939758301 = 837.453938688 boot/grub/grub.cfg 1
462.420925140 = 496.520687616 boot/initrd.img-3.2.0-23-generic 2
883.914775848 = 949.096263680
boot/vmlinuz-3.2.0-23-generic 1
462.420925140 = 496.520687616 initrd.img 2
883.914775848 = 949.096263680 vmlinuz 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 Xubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Xubuntu" {
set
gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set
gfxpayload=keep
linux /casper/vmlinuz 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)
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32
1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/syslinux.cfg 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)
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-10-23__17h14 ===================
boot-repair version : 3.18-0ppa7~precise
boot-sav version :
3.18-0ppa7~precise
glade2script version : 0.3.2.1-0ppa7~precise
internet: no-internet
boot-repair is executed in live-session (Ubuntu 12.04 LTS , precise , Ubuntu , x86_64)
=================== OSPROBER:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda5:Ubuntu 12.04 LTS (12.04):Ubuntu:linux
=================== BLKID:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="017B5D445BC24510" TYPE="ntfs"
/dev/sda3: UUID="563493E403C468B3" TYPE="ntfs"
/dev/sda5: UUID="8e02ddbe-51c8-43c9-a5cd-22cc276ba0f3" TYPE="ext4"
/dev/sda6: UUID="027f7c56-8f6d-4639-8f3c-7a436b33c00f" TYPE="swap"
/dev/sdb1: UUID="D876-C175" TYPE="vfat"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret
the contents differently.
=================== /mnt/boot-sav/sda5/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"
=================== dmesg | grep EFI :
[
0.000000] EFI v2.31 by INSYDE Corp.
[ 0.000000] Kernel-defined memdesc doesn't match the one from EFI!
[ 0.000000] EFI: mem00: type=3, attr=0xf, range=[0x0000000000000000-0x0000000000001000)
(0MB)
[ 0.000000] EFI: mem01: type=7, attr=0xf, range=[0x0000000000001000-0x000000000000e000) (0MB)
[ 0.000000] EFI: mem02: type=3, attr=0xf, range=[0x000000000000e000-0x0000000000010000)
(0MB)
[ 0.000000] EFI: mem03: type=7, attr=0xf, range=[0x0000000000010000-0x000000000002e000) (0MB)
[ 0.000000] EFI: mem04: type=3, attr=0xf, range=[0x000000000002e000-0x000000000002f000)
(0MB)
[ 0.000000] EFI: mem05: type=4, attr=0xf, range=[0x000000000002f000-0x0000000000030000) (0MB)
[ 0.000000] EFI: mem06: type=3, attr=0xf, range=[0x0000000000030000-0x000000000006f000)
(0MB)
[ 0.000000] EFI: mem07: type=4, attr=0xf, range=[0x000000000006f000-0x0000000000070000) (0MB)
[ 0.000000] EFI: mem08: type=3, attr=0xf, range=[0x0000000000070000-0x0000000000088000)
(0MB)
[ 0.000000] EFI: mem09: type=6, attr=0x800000000000000f, range=[0x0000000000088000-0x00000000000a0000) (0MB)
[ 0.000000] EFI: mem10: type=2, attr=0xf, range=[0x0000000000100000-
0x00000000005b9000) (4MB)
[ 0.000000] EFI: mem11: type=7, attr=0xf, range=[0x00000000005b9000-0x0000000020000000) (506MB)
[ 0.000000] EFI: mem12: type=0, attr=0xf, range=
[0x0000000020000000-0x0000000020200000) (2MB)
[ 0.000000] EFI: mem13: type=7, attr=0xf, range=[0x0000000020200000-0x0000000036008000) (350MB)
[ 0.000000] EFI: mem14: type=2, attr=0xf,
range=[0x0000000036008000-0x0000000036ffc000) (15MB)
[ 0.000000] EFI: mem15: type=7, attr=0xf, range=[0x0000000036ffc000-0x0000000040004000) (144MB)
[ 0.000000] EFI: mem16: type=0,
attr=0xf, range=[0x0000000040004000-0x0000000040005000) (0MB)
[ 0.000000] EFI: mem17: type=7, attr=0xf, range=[0x0000000040005000-0x0000000068c13000) (652MB)
[ 0.000000] EFI: mem18:
type=2, attr=0xf, range=[0x0000000068c13000-0x000000008e6c0000) (602MB)
[ 0.000000] EFI: mem19: type=4, attr=0xf, range=[0x000000008e6c0000-0x000000008e6e0000) (0MB)
[ 0.000000] EFI:
mem20: type=7, attr=0xf, range=[0x000000008e6e0000-0x0000000090f24000) (40MB)
[ 0.000000] EFI: mem21: type=4, attr=0xf, range=[0x0000000090f24000-0x00000000916b0000) (7MB)
[ 0.000000] EFI:
mem22: type=7, attr=0xf, range=[0x00000000916b0000-0x0000000091857000) (1MB)
[ 0.000000] EFI: mem23: type=1, attr=0xf, range=[0x0000000091857000-0x00000000918bf000) (0MB)
[ 0.000000] EFI:
mem24: type=7, attr=0xf, range=[0x00000000918bf000-0x0000000096fbc000) (86MB)
[ 0.000000] EFI: mem25: type=4, attr=0xf, range=[0x0000000096fbc000-0x00000000973cf000) (4MB)
[ 0.000000] EFI:
mem26: type=7, attr=0xf, range=[0x00000000973cf000-0x00000000973d0000) (0MB)
[ 0.000000] EFI: mem27: type=4, attr=0xf, range=[0x00000000973d0000-0x00000000978b8000) (4MB)
[ 0.000000] EFI:
mem28: type=7, attr=0xf, range=[0x00000000978b8000-0x0000000097a4e000) (1MB)
[ 0.000000] EFI: mem29: type=4, attr=0xf, range=[0x0000000097a4e000-0x0000000097a7d000) (0MB)
[ 0.000000] EFI:
mem30: type=7, attr=0xf, range=[0x0000000097a7d000-0x0000000097a85000) (0MB)
[ 0.000000] EFI: mem31: type=4, attr=0xf, range=[0x0000000097a85000-0x0000000097f14000) (4MB)
[ 0.000000] EFI:
mem32: type=7, attr=0xf, range=[0x0000000097f14000-0x0000000097f15000) (0MB)
[ 0.000000] EFI: mem33: type=4, attr=0xf, range=[0x0000000097f15000-0x0000000097f86000) (0MB)
[ 0.000000] EFI:
mem34: type=7, attr=0xf, range=[0x0000000097f86000-0x0000000097f87000) (0MB)
[ 0.000000] EFI: mem35: type=4, attr=0xf, range=[0x0000000097f87000-0x0000000097fc1000) (0MB)
[ 0.000000] EFI:
mem36: type=7, attr=0xf, range=[0x0000000097fc1000-0x0000000097fc7000) (0MB)
[ 0.000000] EFI: mem37: type=4, attr=0xf, range=[0x0000000097fc7000-0x0000000097fd1000) (0MB)
[ 0.000000] EFI:
mem38: type=7, attr=0xf, range=[0x0000000097fd1000-0x0000000097fd2000) (0MB)
[ 0.000000] EFI: mem39: type=4, attr=0xf, range=[0x0000000097fd2000-0x0000000097ffc000) (0MB)
[ 0.000000] EFI:
mem40: type=7, attr=0xf, range=[0x0000000097ffc000-0x0000000097ffe000) (0MB)
[ 0.000000] EFI: mem41: type=4, attr=0xf, range=[0x0000000097ffe000-0x00000000981bb000) (1MB)
[ 0.000000] EFI:
mem42: type=7, attr=0xf, range=[0x00000000981bb000-0x00000000981be000) (0MB)
[ 0.000000] EFI: mem43: type=4, attr=0xf, range=[0x00000000981be000-0x00000000981c1000) (0MB)
[ 0.000000] EFI:
mem44: type=7, attr=0xf, range=[0x00000000981c1000-0x00000000981c3000) (0MB)
[ 0.000000] EFI: mem45: type=4, attr=0xf, range=[0x00000000981c3000-0x0000000098271000) (0MB)
[ 0.000000] EFI:
mem46: type=7, attr=0xf, range=[0x0000000098271000-0x0000000098272000) (0MB)
[ 0.000000] EFI: mem47: type=4, attr=0xf, range=[0x0000000098272000-0x00000000985da000) (3MB)
[ 0.000000] EFI:
mem48: type=7, attr=0xf, range=[0x00000000985da000-0x00000000985e3000) (0MB)
[ 0.000000] EFI: mem49: type=4, attr=0xf, range=[0x00000000985e3000-0x0000000098604000) (0MB)
[ 0.000000] EFI:
mem50: type=7, attr=0xf, range=[0x0000000098604000-0x0000000098605000) (0MB)
[ 0.000000] EFI: mem51: type=4, attr=0xf, range=[0x0000000098605000-0x000000009860c000) (0MB)
[ 0.000000] EFI:
mem52: type=7, attr=0xf, range=[0x000000009860c000-0x000000009860d000) (0MB)
[ 0.000000] EFI: mem53: type=4, attr=0xf, range=[0x000000009860d000-0x00000000998bf000) (18MB)
[ 0.000000]
EFI: mem54: type=7, attr=0xf, range=[0x00000000998bf000-0x0000000099d12000) (4MB)
[ 0.000000] EFI: mem55: type=2, attr=0xf, range=[0x0000000099d12000-0x0000000099d18000) (0MB)
[ 0.000000]
EFI: mem56: type=3, attr=0xf, range=[0x0000000099d18000-0x000000009a0bf000) (3MB)
[ 0.000000] EFI: mem57: type=5, attr=0x800000000000000f, range=[0x000000009a0bf000-0x000000009a4bf000)
(4MB)
[ 0.000000] EFI: mem58: type=6, attr=0x800000000000000f, range=[0x000000009a4bf000-0x000000009a6bf000) (2MB)
[ 0.000000] EFI: mem59: type=0, attr=0xf, range=[0x000000009a6bf000-
0x000000009aebf000) (8MB)
[ 0.000000] EFI: mem60: type=10, attr=0xf, range=[0x000000009aebf000-0x000000009afbf000) (1MB)
[ 0.000000] EFI: mem61: type=9, attr=0xf, range=[0x000000009afbf000-
0x000000009afff000) (0MB)
[ 0.000000] EFI: mem62: type=4, attr=0xf, range=[0x000000009afff000-0x000000009b000000) (0MB)
[ 0.000000] EFI: mem63: type=7, attr=0xf, range=[0x0000000100000000-
0x00000001df600000) (3574MB)
[ 0.000000] EFI: mem64: type=0, attr=0x0, range=[0x00000000000a0000-0x00000000000c0000) (0MB)
[ 0.000000] EFI: mem65: type=0, attr=0x0, range=
[0x000000009b000000-0x000000009fa00000) (74MB)
[ 0.000000] EFI: mem66: type=11, attr=0x8000000000000001, range=[0x00000000e0000000-0x00000000f0000000) (256MB)
[ 0.000000] EFI: mem67:
type=11, attr=0x8000000000000001, range=[0x00000000feb00000-0x00000000feb04000) (0MB)
[ 0.000000] EFI: mem68: type=11, attr=0x8000000000000001, range=[0x00000000fec00000-
0x00000000fec01000) (0MB)
[ 0.000000] EFI: mem69: type=11, attr=0x8000000000000001, range=[0x00000000fed10000-0x00000000fed1a000) (0MB)
[ 0.000000] EFI: mem70: type=11,
attr=0x8000000000000001, range=[0x00000000fed1c000-0x00000000fed20000) (0MB)
[ 0.000000] EFI: mem71: type=11, attr=0x8000000000000001, range=[0x00000000fee00000-0x00000000fee01000)
(0MB)
[ 0.000000] EFI: mem72: type=11, attr=0x8000000000000000, range=[0x00000000ffd80000-0x0000000100000000) (2MB)
[ 0.000000] ACPI: UEFI 000000009affd000 00236 (v01 HPQOEM 1970
00000001 HP 00040000)
[ 5.572764] fb0: EFI VGA frame buffer device
[ 5.864445] EFI Variables Facility v0.08 2004-May-17
[ 7.302831] fb: conflicting fb hw usage inteldrmfb vs EFI VGA - removing generic
driver
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not-
on-gpt-disk, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, no-grldr, Boot/BCD, nopakmgr, nogrubinstall, /mnt/boot-sav/sda1.
sda3 : sda,
maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not-on-gpt-disk, part-has-no-fstab, no-nt, no-winload, no-
recov-nor-hid, no-bmgr, no-grldr, no-b-bcd, nopakmgr, nogrubinstall, /mnt/boot-sav/sda3.
sda5 : sda, not-sepboot, grubenv-ok grub2, grub-efi, update-grub,
64, with-boot, is-os, not-on-gpt-disk, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, no-grldr, no-b-bcd, apt-get, grub-install, /mnt/boot-
sav/sda5.
sda : MSDos, not-GPT, BIOSboot-not-needed, has-no-EFIpart, 2048 sectors * 512 bytes
=================== PARTED:
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda:
1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 108GB 108GB primary ntfs boot
3 108GB 496GB
388GB primary ntfs
2 496GB 1000GB 504GB extended
5 496GB 994GB 498GB logical ext4
6 994GB 1000GB 6051MB logical linux-swap(v1)
Model: Kingston DT 101 II (scsi)
Disk /dev/sdb:
8022MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 31.7kB 8021MB 8021MB primary fat32 boot
===================
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)
gvfs-fuse-daemon on /home/xubuntu/.gvfs type
fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=xubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk
(rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/sys/block/sda: 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 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb: 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: 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: agpgart autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency
disk dri dvd dvdrw ecryptfs fb0 fd freefall full fuse hpet input kmsg 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
sda5 sda6 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uinput urandom usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 v4l vga_arbiter video0 zero
/dev/mapper: control
=================== DF:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 2.9G 144M 2.8G 5% /
udev devtmpfs 2.9G 12K 2.9G 1% /dev
tmpfs tmpfs 1.2G 824K 1.2G 1% /run
/dev/sdb1
vfat 7.5G 6.2G 1.4G 83% /cdrom
/dev/loop0 squashfs 923M 923M 0 100% /rofs
tmpfs tmpfs 2.9G 24K 2.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs
2.9G 84K 2.9G 1% /run/shm
/dev/sda1 fuseblk 101G 52G 50G 52% /mnt/boot-sav/sda1
/dev/sda3 fuseblk 362G 9.7G 352G 3% /mnt/boot-sav/sda3
/dev/sda5 ext4 464G 9.9G 431G 3%
/mnt/boot-sav/sda5
=================== FDISK:
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: 0x0005b42f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048
211118079 105558016 7 HPFS/NTFS/exFAT
/dev/sda2 968423424 1953523711 492550144 5 Extended
/dev/sda3 211118080 968423423 378652672 7 HPFS/NTFS/exFAT
/dev/sda5
968425472 1941702655 486638592 83 Linux
/dev/sda6 1941704704 1953523711 5909504 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 8021 MB, 8021606400 bytes
247 heads, 62 sectors/track, 1023 cylinders, total 15667200 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: 0x0000a07d
Device Boot Start End Blocks Id System
/dev/sdb1 * 62 15666221 7833080 b W95 FAT32
=================== Before mainwindow
FSCK no PASTEBIN yes
WUBI no WINBOOT no
recommendedrepair, purge, QTY_OF_PART_FOR_REINSTAL 1 no-kernel-purge
UNHIDEBOOT_ACTION yes (10s), noflag (sda1)
PART_TO_REINSTALL_GRUB sda5, FORCE_GRUB
no (sda) REMOVABLEDISK no
USE_SEPARATEBOOTPART no (sda3) grub2 ()
UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no (acpi=off)
MBR_TO_RESTORE ( )
=================== Actions
FSCK no PASTEBIN yes WUBI no WINBOOT no
bootinfo, nombraction, QTY_OF_PART_FOR_REINSTAL 1 no-kernel-purge
UNHIDEBOOT_ACTION no (10s), noflag
(sda1)
PART_TO_REINSTALL_GRUB sda5, FORCE_GRUB no (sda) REMOVABLEDISK no
USE_SEPARATEBOOTPART no (sda3) grub2 ()
UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no
(acpi=off)
MBR_TO_RESTORE ( )
No change has been performed on your computer. See you soon!
internet: no-internet
inte
J'ose une autre question:
est-ce que formater le disque entièrement et installer une Linux restaure la MBR?
En espérant une aide substantielle, je vous remercie d'avance,
L'Ursu_
Suite....:
Par contre as-tu bien décoché la case GRUB isn't installed to the bootsector ?
Tu parles d'une case présente dans l'installation de Voyager ou dans EasyBCD?
Je te retourne la commande après reboot...
A+,
L'Ursu_
Dernière modification par ursu (Le 26/10/2013, à 12:36)
Hors ligne
#2 Le 26/10/2013, à 09:19
- ursu
Re : Grub après installation Windows
Re-
Retour de la commande:
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─> sudo dd if=/dev/sda5 bs=512 count=1 | hexdump -C
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0188864 s, 27.1 kB/s
00000200
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─>
Merci et à+,
L'Ursu_
Hors ligne
#3 Le 26/10/2013, à 09:46
- Compte anonymisé
Re : Grub après installation Windows
Donc grub n'est pas installé sur /dev/sda5. As-tu refais les instructions :
En liveUsb
sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
tu "bascules" la partition root LiveCD sur celle de ton install.
sudo chroot /mnt
puis
grub-install --force /dev/sda5
Et ensuite faire un :
dd if=/dev/sda5 bs=512 count=1 | hexdump -C
Et donner le retour.
PS dans ton premier post, il serait mieux de mettre le boot-info entre balises Code.
Dernière modification par Compte anonymisé (Le 26/10/2013, à 09:48)
#4 Le 26/10/2013, à 12:56
- ursu
Re : Grub après installation Windows
Re-
Premier post édité....
Retour de la commande:
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─> sudo mount /dev/sda5 /mnt
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─> sudo mount --bind /dev /mnt/dev
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─> sudo mount --bind /proc /mnt/proc
┌─( xubuntu ) - ( 3.2.0-23-generic ) - ( ~ )
└─> sudo chroot /mnt
root@xubuntu:/# grub-install --force /dev/sda5
Installation finished. No error reported.
root@xubuntu:/# dd if=/dev/sda5 bs=512 count=1 | hexdump -C
1+0 records in
1+0 records out
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
512 bytes (512 B) copied*
00000200
, 3.9085e-05 s, 13.1 MB/s
root@xubuntu:/#
Pas de changement, non?
Merci et à +,
L'Ursu_
Hors ligne
#5 Le 26/10/2013, à 15:38
- Compte anonymisé
Re : Grub après installation Windows
Le problème est que grub ne s'installe pas.
Il faudrait peut être tenter d'installer une 12.04 "normale" pour voir.
@+
#6 Le 26/10/2013, à 16:10
- ursu
Re : Grub après installation Windows
Re-
Plus tôt, tu parlais d'une case à (dé)cocher concernant grub; il s'agissait d'une manip' dans EasyBCD ou lors de
l'installation de Voyager?
Sinon, une question déjà posée bien avant, le formatage complet avec l'installation de Linux restaurait-il totalement
la MBR?
Merci, à +,
L'Ursu_
Hors ligne
#7 Le 26/10/2013, à 16:14
- Compte anonymisé
Re : Grub après installation Windows
Pour la case c'était dans EasyBcd.
Non je pense qu'il faudrait installer une 12.04 "classique" et mettre grub sur le MBR. Car ta version actuelle n'installe pas grub. Pourquoi ? je ne sais pas.
#8 Le 26/10/2013, à 16:34
- ursu
Re : Grub après installation Windows
Re-
Et une réinstallation complète, y a un risque?
Hors ligne
#9 Le 26/10/2013, à 16:39
- Compte anonymisé
Re : Grub après installation Windows
Oui une réinstallation complète c'est bien ce que je préconise. Mais avec une 12.04 classique et non une version Voyager qui semble "merder" sur l'install grub.
#10 Le 27/10/2013, à 14:50
- ursu
Re : Grub après installation Windows
Bonjour à tous!
Salute jeanjd63,
Mais avec une 12.04 classique et non une version Voyager qui semble "merder" sur l'install grub.
Ouais...., le hic, c'est que j'ai peur que l'installation d'une iso foire sur ma clef usb (là, où j'amorce la Voyager....).
Pour la Voyager, je suis assez étonné car je l'ai installée sur mon PC, ainsi que sur mon ancien portable et tout tournait parfaitement... .
Je pense que je formaterai tout ça à mon retour en métropole... .
Merci encore pour ton aide et ta patience...
L'Ursu_
Hors ligne