Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 06/02/2016, à 18:43

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

Ca se présente pas mal du tout, refais un bootinfoscript et malbo t'indiqueras la procédure à suivre pour rebooter ton  linux, je pourrais t'indiquer la procédure par chroot pour remettre le chargeur dans le mbr, mais comme tu es ici chez les spécialistes, ils vont te conseiller boot repair ou superGrub pour redémarrer...

avec gparted, tu combleras l'espace non alloué de 29 Go entre sda6 et sda7 en une nouvelle partition pour en faire ce que tu en veux ou rapatrier la config de ton /home.

#27 Le 06/02/2016, à 19:06

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

GParted

gpated.th.jpgimagik

Et bootinfoScript

  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Syslinux MBR (4.04 and higher) 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:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /Windows/System32/winload.exe

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:        

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 17.2 Rafaela
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf

sda7: __________________________________________________________________________

    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 20140113
    Boot sector info:  Syslinux looks at sector 3251616 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 
                       /efi/BOOT/grubx64.efi /ldlinux.sys

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848    60,930,047    60,723,200   7 NTFS / exFAT / HPFS
/dev/sda3          60,930,048    61,851,647       921,600   7 NTFS / exFAT / HPFS
/dev/sda4          61,851,648   488,396,799   426,545,152   f W95 Extended (LBA)
/dev/sda5          61,853,696    68,474,879     6,621,184  82 Linux swap / Solaris
/dev/sda6          68,476,928   109,488,127    41,011,200  83 Linux
/dev/sda7         166,131,712   488,390,655   322,258,944   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 3880 MB, 3880452096 bytes
235 heads, 20 sectors/track, 1612 cylinders, total 7579008 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    *          2,048     7,565,311     7,563,264   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        36C0AA45C0AA0B67                       ntfs       Réservé au système
/dev/sda2        6C46FFF946FFC1BE                       ntfs       
/dev/sda3        103092A8309293F6                       ntfs       
/dev/sda5        ef704d7b-cc23-4159-bad6-b00d906e6067   swap       
/dev/sda6        1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7   ext4       
/dev/sda7        4F694BAB0CD5E3BE                       ntfs       
/dev/sdb1        9DF1-193B                              vfat       Clé USB

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda1        /media/mint/Réservé au système fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda2        /media/mint/6C46FFF946FFC1BE fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3        /media/mint/103092A8309293F6 fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda6        /media/mint/1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda7        /media/mint/4F694BAB0CD5E3BE fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda6/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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
else
  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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 'Linux Mint 17.2 Cinnamon 32-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7' {
	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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	else
	  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	fi
	linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-38-generic
}
submenu 'Options avancées pour Linux Mint 17.2 Cinnamon 32-bit' $menuentry_id_option 'gnulinux-advanced-1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7' {
	menuentry 'Linux Mint 17.2 Cinnamon 32-bit, avec Linux 3.16.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-38-generic-advanced-1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7' {
		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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
		else
		  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
		fi
		echo	'Chargement de Linux 3.16.0-38-generic…'
		linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-38-generic
	}
	menuentry 'Linux Mint 17.2 Cinnamon 32-bit, with Linux 3.16.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-38-generic-recovery-1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7' {
		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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
		else
		  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
		fi
		echo	'Chargement de Linux 3.16.0-38-generic…'
		linux	/boot/vmlinuz-3.16.0-38-generic root=UUID=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-38-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### 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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	else
	  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	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  1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	else
	  search --no-floppy --fs-uuid --set=root 1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-36C0AA45C0AA0B67' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36C0AA45C0AA0B67
	else
	  search --no-floppy --fs-uuid --set=root 36C0AA45C0AA0B67
	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 ###
--------------------------------------------------------------------------------

=============================== sda6/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=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda8 during installation
UUID=e00ab720-230a-4271-af49-4bfa000874d2 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=ef704d7b-cc23-4159-bad6-b00d906e6067 none            swap    sw              0       0
--------------------------------------------------------------------------------

====================== sda6/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

display boot.txt
include linux.cfg
include memdisk.cfg
include os-prober.cfg
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sda6: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sda6: 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 "Start Linux Mint 17.2 Cinnamon 64-bit" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Start Linux Mint 17.2 Cinnamon 64-bit (compatibility mode)" {
	linux	/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper xforcevesa iso-scan/filename=${iso_path} ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --
	initrd	/casper/initrd.lz
}
menuentry "Check the integrity of the medium" {
	linux	/casper/vmlinuz  boot=casper integrity-check iso-scan/filename=${iso_path} 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/linuxmint.seed boot=casper quiet splash --

label ubnentry0
menu label Start Linux Mint
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper  quiet splash --

label ubnentry1
menu label Start in compatibility mode
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper xforcevesa nomodeset b43.blacklist=yes  ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --

label ubnentry2
menu label Integrity check
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry3
menu label Memory test
kernel /casper/memtest
append initrd=/ubninit 

label ubnentry4
menu label Boot from local drive
kernel /ubnkern
append initrd=/ubninit hd0

label ubnentry5
menu label Start Linux Mint 17.2 Cinnamon 64-bit
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash --

label ubnentry6
menu label Start Linux Mint 17.2 Cinnamon 64-bit (compatibility mode)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper xforcevesa iso-scan/filename=${iso_path} ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --

label ubnentry7
menu label Check the integrity of the medium
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check iso-scan/filename=${iso_path} quiet splash --

--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  55 62 75 6e 74 75 20 44  65 76 65 6c 6f 70 65 72  |Ubuntu Developer|
00000010  73 20 3c 75 62 75 6e 74  75 2d 64 65 76 65 6c 2d  |s <ubuntu-devel-|
00000020  64 69 73 63 75 73 73 40  6c 69 73 74 73 2e 75 62  |discuss@lists.ub|
00000030  75 6e 74 75 2e 63 6f 6d  3e 0a 41 72 63 68 69 74  |untu.com>.Archit|
00000040  65 63 74 75 72 65 3a 20  69 33 38 36 0a 53 6f 75  |ecture: i386.Sou|
00000050  72 63 65 3a 20 6c 69 62  61 76 0a 56 65 72 73 69  |rce: libav.Versi|
00000060  6f 6e 3a 20 34 3a 30 2e  37 2e 33 2d 30 75 62 75  |on: 4:0.7.3-0ubu|
00000070  6e 74 75 30 2e 31 31 2e  31 30 2e 31 0a 44 65 70  |ntu0.11.10.1.Dep|
00000080  65 6e 64 73 3a 20 6c 69  62 63 36 20 28 3e 3d 20  |ends: libc6 (>= |
00000090  32 2e 34 29 0a 44 65 73  63 72 69 70 74 69 6f 6e  |2.4).Description|
000000a0  3a 20 4c 69 62 61 76 20  75 74 69 6c 69 74 79 20  |: Libav utility |
000000b0  6c 69 62 72 61 72 79 0a  20 54 68 69 73 20 69 73  |library. This is|
000000c0  20 74 68 65 20 63 6f 6d  6d 6f 6e 20 75 74 69 6c  | the common util|
000000d0  69 74 79 20 6c 69 62 72  61 72 79 20 66 72 6f 6d  |ity library from|
000000e0  20 4c 69 62 61 76 2e 20  49 74 20 63 6f 6e 74 61  | Libav. It conta|
000000f0  69 6e 73 20 73 68 61 72  65 64 20 63 6f 64 65 0a  |ins shared code.|
00000100  20 75 73 65 64 20 62 79  20 61 6c 6c 20 6f 74 68  | used by all oth|
00000110  65 72 20 4c 69 62 61 76  20 6c 69 62 72 61 72 69  |er Libav librari|
00000120  65 73 2e 0a 48 6f 6d 65  70 61 67 65 3a 20 68 74  |es..Homepage: ht|
00000130  74 70 3a 2f 2f 6c 69 62  61 76 2e 6f 72 67 2f 0a  |tp://libav.org/.|
00000140  4f 72 69 67 69 6e 61 6c  2d 4d 61 69 6e 74 61 69  |Original-Maintai|
00000150  6e 65 72 3a 20 44 65 62  69 61 6e 20 6d 75 6c 74  |ner: Debian mult|
00000160  69 6d 65 64 69 61 20 70  61 63 6b 61 67 65 73 20  |imedia packages |
00000170  6d 61 69 6e 74 61 69 6e  65 72 73 20 3c 70 6b 67  |maintainers <pkg|
00000180  2d 6d 75 6c 74 69 6d 65  64 69 61 2d 6d 61 69 6e  |-multimedia-main|
00000190  74 61 69 6e 65 72 73 40  6c 69 73 74 73 2e 61 6c  |tainers@lists.al|
000001a0  69 6f 74 68 2e 64 65 62  69 61 6e 2e 6f 72 67 3e  |ioth.debian.org>|
000001b0  0a 0a 50 61 63 6b 61 67  65 3a 20 6c 69 62 00 fe  |..Package: lib..|
000001c0  ff ff 82 fe ff ff 00 08  00 00 00 08 65 00 00 fe  |............e...|
000001d0  ff ff 05 fe ff ff aa 17  65 00 56 c8 71 02 00 00  |........e.V.q...|
000001e0  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


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-6oONE7u6/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-6oONE7u6/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-6oONE7u6/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-6oONE7u6/Tmp_Log: No such file or directory
  No volume groups found

Hors ligne

#28 Le 06/02/2016, à 19:43

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

alors ça doit y aller ... windows n'a rien touché dans le mbr, vérifie  avec: sudo dd if=/dev/sda bs=512 count=1 | hexdump -C

(mais comment l'avais tu redémarré sans plus avoir  de GRUB RESCUE ?)   bref dans ce cas tu n'as que cette ligne à commenter dans /etc/fstab comme ceci:

#UUID=e00ab720-230a-4271-af49-4bfa000874d2 /home           ext4    defaults        0       2

le UUID sera à modifier par la suite.....

Dernière modification par Compte anonymisé (Le 06/02/2016, à 19:47)

#29 Le 06/02/2016, à 19:52

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

je suis sur une live CD
j'ai rien dans le dossier /etc/fstab et je ne comprends pas ce qu'il faut faire.
J'ai essayé de récupérer ma partition home avec Gpart mais ça me donne :

mint@mint ~ $ gpart /dev/hdc

*** Fatal error: open(/dev/hdc): No such file or directory.

Hors ligne

#30 Le 06/02/2016, à 20:00

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

wa_hy a écrit :

je suis sur une live CD
j'ai rien dans le dossier /etc/fstab et je ne comprends pas ce qu'il faut faire.
J'ai essayé de récupérer ma partition home avec Gpart mais ça me donne :

mint@mint ~ $ gpart /dev/hdc

*** Fatal error: open(/dev/hdc): No such file or directory.

ton fstab est là en regardant les points de montage:

sudo nano /media/mint/1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7/etc/fstab

gpart /dev/hdc   il me semble que l'as déjà utilisé gparted..

Dernière modification par Compte anonymisé (Le 06/02/2016, à 20:05)

#31 Le 06/02/2016, à 20:19

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

j'ai lancé repair boot et j'ai de nouveau le menu Grub.
mais je n'ai pas réussi à lancer linux car il ne trouve pas la partition home.
donc je vais faire copie les données sur un disque dur externe ensuite je vais utiliser gparted pour créer à nouveau cette partition.
je voulais utiliser Gpart pour récupérer la partition home

Hors ligne

#32 Le 06/02/2016, à 21:08

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

wa_hy a écrit :

j'ai lancé repair boot et j'ai de nouveau le menu Grub.
mais je n'ai pas réussi à lancer linux car il ne trouve pas la partition home.
donc je vais faire copie les données sur un disque dur externe ensuite je vais utiliser gparted pour créer à nouveau cette partition.
je voulais utiliser Gpart pour récupérer la partition home

drwxr-xr-x  1000  1000      4096 31-Jan-2016 14:11 wael

c'est parceque tu n'avais pas recrée le répertoire wael   dans /home avec uid 1000  et  gid 1000.

sur le live:
sudo mount /dev/sda6 /mnt
sudo mkdir /mnt/home/wael
sudo chown 1000:1000 /mnt/home/wael

et modifie la ligne du  fstab:
sudo nano /mnt/etc/fstab  commenter avec #

#UUID=e00ab720-230a-4271-af49-4bfa000874d2 /home           ext4    defaults        0       2

ainsi tu peux tester de suite...et refaire ensuite tranquillement avec gparted une nouvelle partition de l'espace non alloué.

ps:  tu avais utilisé testdisk sous windows,  peut être fonctionnera t'il mieux sous Linux...(simple supposition, j'en sais rien..)

Dernière modification par Compte anonymisé (Le 06/02/2016, à 21:12)

#33 Le 07/02/2016, à 14:04

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

Bonjour Localhost  et merci pour ton aide,
Maintenant j'arrive à démarrer sur mint mais j'ai essayé de changer mon home vers la nouvelle partition comme ici https://doc.ubuntu-fr.org/tutoriel/deplacer_home
mais ça ne marche pas de plus j'ai un message d'erreur de montage au démarrage.
Est ce que c'est possible de récupérer mon ancien home?
Merci

Dernière modification par wa_hy (Le 07/02/2016, à 14:04)

Hors ligne

#34 Le 07/02/2016, à 14:06

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

ps:  tu avais utilisé testdisk sous windows,  peut être fonctionnera t'il mieux sous Linux...(simple supposition, j'en sais rien..)

même résultat que sur Windows

Hors ligne

#35 Le 07/02/2016, à 14:43

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

bonjour,  ce que je ferais:

-sauvegarde des données avec testdisk (..P..) de l'ancien home   (ainsi que .config et compagnie ) et je rapatrie vers le home actuel.
-je ne change donc pas l'emplacement du home, je ne touche plus à rien.
-l'espace non alloué est sur la droite de sda6, ainsi gparted n'aura aucun déplacement de données à effectuer, il suffit de réagrandir sda6 par la droite (alors très rapide puisque aucun déplacement de données)
1454849507.jpg


c'est mieux d'avoir une seule  partition de 47 Gio    que  deux  (27 Gio + 20 Gio) 

après tu fais ce que tu veux..

bonne journée.

et n'oublie pas !!       postes ici   lorsque tout sera terminé    sudo  sfdisk -d /dev/sda   son contenu sera ton joker si Windows remet le bazar...

Dernière modification par Compte anonymisé (Le 07/02/2016, à 14:52)

#36 Le 07/02/2016, à 15:13

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

A partir du live j'ai augmenté la taille de la partition sda6 à 47G,mais au démarrage j'ai toujours un message d'erreur pour le montage, je dois cliquer sur S pour ignorer, es ce que je copie l'ancien home ou je dois résoudre ce problème avant?

Hors ligne

#37 Le 07/02/2016, à 15:20

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

wael@Toshiba-Satellite-Pro-S300 ~ $ sudo  sfdisk -d /dev/sda
[sudo] password for wael: 
Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=     2048, size=   204800, Id= 7, bootable
/dev/sda2 : start=   206848, size= 60723200, Id= 7
/dev/sda3 : start= 60930048, size=   921600, Id= 7
/dev/sda4 : start= 61851648, size=426545152, Id= f
/dev/sda5 : start= 61853696, size=  6621184, Id=82
/dev/sda6 : start= 68476928, size= 97652736, Id=83
/dev/sda7 : start=166131712, size=322258944, Id= 7

Hors ligne

#38 Le 07/02/2016, à 15:26

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

Est ce que je dois mettre un # devant la ligne UUID=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 /               ext4    errors=remount-ro 0       1

cat /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=1dcdfd6e-8320-46a3-9bff-bc8baad5a0e7 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda8 during installation
#UUID=e00ab720-230a-4271-af49-4bfa000874d2 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=ef704d7b-cc23-4159-bad6-b00d906e6067 none            swap    sw              0       0


/dev/disk/by-uuid/71197682-36b9-4ac5-ac83-0d6db39feadf /home auto nosuid,nodev,nofail,x-gvfs-show 0 0

Hors ligne

#39 Le 07/02/2016, à 15:37

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

non surtout pas, après utilisation avec gparted, vérifie bien que l'uid n'a pas changé

faut virer ça:
/dev/disk/by-uuid/71197682-36b9-4ac5-ac83-0d6db39feadf /home auto nosuid,nodev,nofail,x-gvfs-show 0 0

#40 Le 07/02/2016, à 15:42

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

Super ça marche,
Maintenant pour copier l'ancien home qui se trouve sur mon disque externe, est ce que je fais une copie normale ou je dois utiliser la commande gksudo nemo

Hors ligne

#41 Le 07/02/2016, à 15:50

Compte anonymisé

Re : Récupération des partitions perdu suite à la mise à jour de windows

wa_hy a écrit :

Super ça marche,
Maintenant pour copier l'ancien home qui se trouve sur mon disque externe, est ce que je fais une copie normale ou je dois utiliser la commande gksudo nemo


sudo cp -a  wael   /home     devrait faire l'affaire (les proprios ne changeront pas avec l'option a et c'est récursif)
ls -l  pour vérifier que c'est bien wael le proprio.

Dernière modification par Compte anonymisé (Le 07/02/2016, à 15:56)

#42 Le 07/02/2016, à 20:55

wa_hy

Re : Récupération des partitions perdu suite à la mise à jour de windows

Merci beaucoup Localhost, j'ai enfin réussi à récupérer mon home.

Hors ligne