#1 Le 21/08/2014, à 00:48
- TEXMAN
[RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
Bonjour ,
ma récupération du GRUB a presque fonctionné. Je peux aller sur ma partition Ubuntu mais pas sur ma partition windows vista.
Il me demande de mettre le cd d'install...que je n'ai pas.
merci pour votre aide.
Dernière modification par TEXMAN (Le 21/08/2014, à 23:40)
Hors ligne
#2 Le 21/08/2014, à 07:49
- malbo
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
Ton Boot-Info ( http://paste.ubuntu.com/8101605/ ) est là :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Dec2013]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: BootPart in the file /NST/nst_grub.mbr is trying to
chainload sector #159364800 on boot drive #1
Operating System: Windows Vista
Boot files: /boot.ini /bootmgr /Boot/BCD
/Windows/System32/winload.exe /ntldr /NTDETECT.COM
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 2,048 3,074,047 3,072,000 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 3,074,048 143,734,783 140,660,736 7 NTFS / exFAT / HPFS
/dev/sda4 143,736,830 312,576,704 168,839,875 5 Extended
/dev/sda5 188,040,888 308,865,689 120,824,802 83 Linux
/dev/sda6 308,865,753 312,576,704 3,710,952 82 Linux swap / Solaris
/dev/sda7 143,736,832 188,039,167 44,302,336 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 DEDE7F71DE7F40B7 ntfs WinRE
/dev/sda2 102A82152A81F7CC ntfs Vista
/dev/sda5 465edc18-af76-4b21-b541-7de579ec302d ext3 /home
/dev/sda6 7caec44a-162c-41b1-abcd-c76ecd02c5e4 swap
/dev/sda7 ac7b3d7d-ff3e-41a7-b525-889314ab6619 ext4
/dev/sr0 iso9660 Ubuntu 14.04.1 LTS i386
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
================================ sda2/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------
=========================== sda7/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_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
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=10
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; 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-ac7b3d7d-ff3e-41a7-b525-889314ab6619' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
fi
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=ac7b3d7d-ff3e-41a7-b525-889314ab6619 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ac7b3d7d-ff3e-41a7-b525-889314ab6619' {
menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-ac7b3d7d-ff3e-41a7-b525-889314ab6619' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=ac7b3d7d-ff3e-41a7-b525-889314ab6619 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-ac7b3d7d-ff3e-41a7-b525-889314ab6619' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=ac7b3d7d-ff3e-41a7-b525-889314ab6619 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-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,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 ac7b3d7d-ff3e-41a7-b525-889314ab6619
else
search --no-floppy --fs-uuid --set=root ac7b3d7d-ff3e-41a7-b525-889314ab6619
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Vista (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-102A82152A81F7CC' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 102A82152A81F7CC
else
search --no-floppy --fs-uuid --set=root 102A82152A81F7CC
fi
parttool ${root} hidden-
chainloader +1
}
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 ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda7/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/sda7 during installation
UUID=ac7b3d7d-ff3e-41a7-b525-889314ab6619 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=7caec44a-162c-41b1-abcd-c76ecd02c5e4 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-AD28vnpq/Tmp_Log: No such file or directory
File descriptor 9 (/proc/6248/mounts) leaked on lvscan invocation. Parent PID 16735: bash
File descriptor 63 (pipe:[51768]) leaked on lvscan invocation. Parent PID 16735: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-08-20__22h33 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
boot-repair is executed in live-session (Ubuntu 14.04.1 LTS, trusty, Ubuntu, i686)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
=================== os-prober:
/dev/sda2:Windows Vista (loader):Windows:chain
/dev/sda7:Ubuntu 14.04.1 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="WinRE" UUID="DEDE7F71DE7F40B7" TYPE="ntfs"
/dev/sda2: LABEL="Vista" UUID="102A82152A81F7CC" TYPE="ntfs"
/dev/sda5: LABEL="/home" UUID="465edc18-af76-4b21-b541-7de579ec302d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="7caec44a-162c-41b1-abcd-c76ecd02c5e4" TYPE="swap"
/dev/sda7: UUID="ac7b3d7d-ff3e-41a7-b525-889314ab6619" TYPE="ext4"
/dev/sr0: LABEL="Ubuntu 14.04.1 LTS i386" TYPE="iso9660"
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.
=================== sda7/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 juil. 22 22:15 grub.d
total 76
-rwxr-xr-x 1 root root 9424 mai 15 19:01 00_header
-rwxr-xr-x 1 root root 6058 mai 8 12:08 05_debian_theme
-rwxr-xr-x 1 root root 11608 mai 15 19:01 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 19:01 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 12:31 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai 15 19:01 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 19:01 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 19:01 40_custom
-rwxr-xr-x 1 root root 216 mai 15 19:01 41_custom
-rw-r--r-- 1 root root 483 mai 15 19:01 README
=================== sda7/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"
=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, 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, recovery-or-hidden, 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, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, ntldr, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
sda7 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /mnt/boot-sav/sda7.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA FUJITSU MHW2160B (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 1574MB 1573MB primary ntfs diag
2 1574MB 73.6GB 72.0GB primary ntfs boot
4 73.6GB 160GB 86.4GB extended
7 73.6GB 96.3GB 22.7GB logical ext4
5 96.3GB 158GB 61.9GB logical ext3
6 158GB 160GB 1900MB logical linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!
=================== parted -lm:
BYT;
/dev/sda:160GB:scsi:512:512:msdos:ATA FUJITSU MHW2160B;
1:1049kB:1574MB:1573MB:ntfs::diag;
2:1574MB:73.6GB:72.0GB:ntfs::boot;
4:73.6GB:160GB:86.4GB:::;
7:73.6GB:96.3GB:22.7GB:ext4::;
5:96.3GB:158GB:61.9GB:ext3::;
6:158GB:160GB:1900MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!
=================== 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/sr0 on /cdrom type iso9660 (ro,noatime)
/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)
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=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext3 (rw)
/dev/sda7 on /mnt/boot-sav/sda7 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 sda4 sda5 sda6 sda7 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): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda4 sda5 sda6 sda7 sg0 sg1 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 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 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff df 2e 00 00 00 00 00 |................|
00000030 ff f3 01 00 00 00 00 00 10 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 b7 40 7f de 71 7f de de |.........@..q...|
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 d2 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 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.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 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
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 e8 2e 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 f8 4f 62 08 00 00 00 00 |.........Ob.....|
00000030 00 00 0c 00 00 00 00 00 10 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 cc f7 81 2a 15 82 2a 10 |...........*..*.|
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 d2 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 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.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 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 497M 103M 395M 21% /
udev devtmpfs 487M 12K 487M 1% /dev
tmpfs tmpfs 100M 1.1M 99M 2% /run
/dev/sr0 iso9660 987M 987M 0 100% /cdrom
/dev/loop0 squashfs 952M 952M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 497M 32K 497M 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 497M 80K 497M 1% /run/shm
none tmpfs 100M 52K 100M 1% /run/user
/dev/sda1 fuseblk 1.5G 198M 1.3G 14% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 68G 53G 15G 79% /mnt/boot-sav/sda2
/dev/sda5 ext3 57G 6.4G 48G 12% /mnt/boot-sav/sda5
/dev/sda7 ext4 21G 3.3G 17G 17% /mnt/boot-sav/sda7
=================== fdisk -l:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 2048 3074047 1536000 27 Hidden NTFS WinRE
/dev/sda2 * 3074048 143734783 70330368 7 HPFS/NTFS/exFAT
/dev/sda4 143736830 312576704 84419937+ 5 Extended
/dev/sda5 188040888 308865689 60412401 83 Linux
/dev/sda6 308865753 312576704 1855476 82 Linux swap / Solaris
/dev/sda7 143736832 188039167 22151168 83 Linux
Partition table entries are not in disk order
Partition outside the disk détecté.
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub2 of sda7 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s
Unhide GRUB boot menu in sda7/etc/default/grub
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
Subsystem: Toshiba America Info Systems Device [1179:ff40]
Kernel driver in use: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
*******
grub-install : information : executing modprobe efivars 2>/dev/null.
grub-install : information : Looking for /sys/firmware/efi ...
grub-install : information : ... not found. Looking for /proc/device-tree ...
grub-install : information : ... not found.
Installing for i386-pc platform.
grub-install : erreur : le périphérique d'installation n'est pas indiqué.
,.
Reinstall the GRUB of sda7 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda7 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Vista (loader) on /dev/sda2
Unhide GRUB boot menu in sda7/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Moi je ne vois pas d'anomalie dans ton install de Vista sauf la partie "Boot File Info" dans cet extrait :
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: BootPart in the file /NST/nst_grub.mbr is trying to
chainload sector #159364800 on boot drive #1
Je ne sais pas si c'est important ou pas et si ça a un rapport avec ton problème.
Des indications pour obtenir un disque de réparation de Vista : http://doc.ubuntu-fr.org/comment_recupe … dows_vista
Dernière modification par malbo (Le 21/08/2014, à 07:55)
Hors ligne
#3 Le 21/08/2014, à 07:59
- ikewdu
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
Salut,
Une chose me semble clocher tout de même dans ce boot-info:
Boot files: /boot.ini /bootmgr /Boot/BCD
/Windows/System32/winload.exe /ntldr /NTDETECT.COM
Ici, tout indique que tu as fait alors un upgrade depuis XP vers Vista (présence de /ntldr et de /ntdetect.com qui sont des fichiers XP)... il est possible que ça ait une incidence. Dis-nous comment était "arrivé" ce Vista sur le pc.
Le problème n'est en tout cas pas dû à la présence de Linux car Grub fait son travail (os-prober voit bel et bien le lanceur de Vista), ça semble plutôt dû à la manière dont cohabitent les traces de XP et ton Vista (s'il est présent... je dirai que oui vu que winload.exe est repéré).
Dernière modification par ikewdu (Le 21/08/2014, à 08:12)
Hors ligne
#4 Le 21/08/2014, à 08:10
- malbo
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
@ikewdu : non, sda2 est bien le disque C: de Vista comme on peut voir dans cet extrait du Boot-Info :
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 497M 103M 395M 21% /
udev devtmpfs 487M 12K 487M 1% /dev
tmpfs tmpfs 100M 1.1M 99M 2% /run
/dev/sr0 iso9660 987M 987M 0 100% /cdrom
/dev/loop0 squashfs 952M 952M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 497M 32K 497M 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 497M 80K 497M 1% /run/shm
none tmpfs 100M 52K 100M 1% /run/user
/dev/sda1 fuseblk 1.5G 198M 1.3G 14% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 68G 53G 15G 79% /mnt/boot-sav/sda2
/dev/sda5 ext3 57G 6.4G 48G 12% /mnt/boot-sav/sda5
/dev/sda7 ext4 21G 3.3G 17G 17% /mnt/boot-sav/sda7
Avec 53 Go occupés sur cette partition sda2, c'est bien le disque C: de Vista.
Par contre, c'est vrai que c'est bizarre de voir les fichiers de démarrage de XP (boot.ini, ntldr et NTDETECT.COM) dans la partition système de Vista : ça sent bon la bidouille.
Dernière modification par malbo (Le 21/08/2014, à 08:11)
Hors ligne
#5 Le 21/08/2014, à 08:11
- ikewdu
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
En effet, j'ai modifié mon message, en lisant la suite du boot-info.
Hors ligne
#6 Le 21/08/2014, à 10:31
- TEXMAN
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
En fait c'est bien vista qui est installé depuis le début.
voila ce qui c'est passé:
-1- j'avais mes partitions comme c'est actuellement (dev/sda1 ....dev/sda6)
-2- sur la sda3 j'avais linux 12.04 LTS j'ai voulu passer en 14.04 LTS mais j'avais pas assez d'espace libre, j'ai fait le ménage et relancé la mise à niveau et là erreur pas possible revevir en arriere et comme j'avais souvent un mlessage d'erreur de manque d'espace, je me suis dit qu'il valait mieux augmenter cette partition.
-3- en utilisant gparted j'ai augmenté la partition dev/sda3 de linux.
-4- pas de pb je pouvais toujours aller sur Vista et bien sur pas sur Linux donc j'ai pu à partir de Vista me faire un live Cd et réinstaller la 14.04.
-5- c'est là après l'install que le boot n'a pas voulu marcher...Pour linux normal puisque j'avais modifié son début de partition ....par contre je ne comprend pas pour Windows.
Quand je boot sur Windows il me dit:
Windows failed to start. A recent hardware or software change might be the cause. To fix the oroblem:
-1- Insert your Windows installation disc and restart your computer
-2- ...
-3- Click "repair your computer"
.....
File \Windows\ystem32\winload.exe
status : 0xc000000e
info: The selected entry could not be loaded because the application is missing or corrupt
Dernière modification par TEXMAN (Le 21/08/2014, à 10:41)
Hors ligne
#7 Le 21/08/2014, à 15:31
- ikewdu
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
Re,
C'est bien ce qu'on a dit plus haut.... le problème est spécifique à Windows.
1. Lorsque tu as choisis l'entrée windows dans le menu grub, dis-moi si en tapotant F8 tu obtiens un menu avancé ? L'entrée "réparer l'ordinateur" s'y trouve-t-elle ?
2. Depuis ton Linux, essaie d'accéder à la partition sda1, puis au dossier windows/system32. Regarde si une copie de winload.exe ne serait pas présente, avec un nom du style winload~1.exe ou quelque chose de proche.
3. Que possèdes-tu comme DVD ou console de réparation côté Windows.... on risque d'en avoir besoin.
Hors ligne
#8 Le 21/08/2014, à 23:39
- TEXMAN
Re : [RESOLU] PB GRUB http://paste.ubuntu.com/8101605/
-1- en faisant F8 j'ai pas l'entrée "réparer l'ordinateur"
-2- dans Sd2 ( c'est là qu'est mon Vista) j'ai pas de backup de winload.exe mais dans boot/bcd j'ai des backup.
-3- mon Dvd de restauration est "restauration du système pour distribution avec nouveau TOSHIBA PC." et j'ai essayé et j'ai pas doption réparation du système il veut tout remettre en effaçant tout.
Finalement j'ai fait ça : reparation vista
en faisant réparation ( j'ai pas fait par les commandes
bootrec /fixboot
et
bootrec /FixMbr
je peux booter sur Vista il a pas mal "mouliné" sur les disque dur vérification??....
et je peux booter sur Linux... Hourra!
merci
Hors ligne