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.

#1 Le 17/01/2018, à 18:33

marc_ch

[Résolu] Ubuntu ne reconnait plus mon mot de passe

Bonjour,
Ubuntu 16.04.3 en dual boot avec Windows 10
J'ai demandé de l'aide pour mettre à jour mon VPN à PIA
On m'a dit d'exécuter dans un terminal   rm -rf ~ /.pia_manager /   pour désinstaller la version existante.
La commande affichait des messages d'erreur que je n'ai malheureusement pas retenus.
Pensant qu'il fallait lancer la commande ci-dessus en sudo, je l'ai fait et :
La commande a planté et plus rien sur mon écran.
J'ai arrêté mon PC avec le bouton ON/OFF
Avec Clonezilla, j'ai restauré une image.
Redémarrage, saisie du mot de passe, l'écran s'éteint, se rallume un peu plus tard, re-saisie du mot de passe etc. sans activation d'Ubuntu
Je boote avec ma clé USB et lance Ubuntu sans installation.
Installe et lance Boot-Repair et là surprise au lieu de se lancer à la fin du processus, il ne démarre pas.
Dans le terminal je le lance avec sudo boot-repair qui démarre.
J'accède au menu "avancé", mais que pour voir, sans rien changer et lance Boot-Repair.
Redémarrage : même situation qu plus haut.
Que faire ?

  
 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdh.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi 
                       /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi 
                       /EFI/ubuntu/fbx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /boot-repair/log/20171211_171318/sda1/bootx64.efi 
                       /boot-repair/log/20171212_082913/sda1/bootx64.efi 
                       /boot-repair/log/20171213_141830/sda1/bootx64.efi 
                       /boot-sav/log/2017-06-30__13h00boot-repair48/sda1/bootx
                       64.efi 
                       /boot-sav/log/2017-07-05__08h33boot-repair46/sda1/bootx
                       64.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi

sdb3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb5: __________________________________________________________________________

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

sdh1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 16400 of /dev/sdh1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sda1 ends after the last sector of /dev/sda

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1   +             2,048       206,847       204,800 EFI System partition
/dev/sda2   +           206,848       239,615        32,768 Microsoft Reserved Partition (Windows)
/dev/sda3               239,616   233,416,703   233,177,088 Data partition (Windows/Linux)
/dev/sda4   +  R    233,416,704   234,440,703     1,024,000 Windows Recovery Environment (Windows)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 3,907,029,167 3,907,029,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1         2,867,759,104 3,907,028,991 1,039,269,888 Data partition (Windows/Linux)
/dev/sdb2                 2,048       309,247       307,200 EFI System partition
/dev/sdb3               309,248    51,508,466    51,199,219 Data partition (Linux)
/dev/sdb4            60,547,072 2,867,759,103 2,807,212,032 Data partition (Linux)
/dev/sdb5            51,509,248    60,547,071     9,037,824 Swap partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdh _____________________________________________________________________
Disk /dev/sdh: 3.8 GiB, 4027580416 bytes, 7866368 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
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdh1    *          2,048     7,866,367     7,864,320   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        4F0C-EA13                              vfat       SYSTEM
/dev/sda2                                                          
/dev/sda3        B45354C406B95F55                       ntfs       Windows
/dev/sda4        1F02E26D36EEF48B                       ntfs       Recovery
/dev/sdb1        5476139BC34781AF                       ntfs       Daten
/dev/sdb2        C617-DB08                              vfat       ESP
/dev/sdb3        6397f580-4b51-481d-91e2-b80ac9491222   ext4       
/dev/sdb4        eed9949d-21ec-4b42-94ab-0a6e061dff10   ext4       U_Donnees
/dev/sdb5        ab94c0d6-6c44-4a7b-93dc-ceb43276b3e7   swap       
/dev/sdh1        4C25-6F23                              vfat       UBUNTU 16_0

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Jan 17 15:51 ata-HL-DT-ST_DVDRAM_GH24NSD1_K3IF9O95612 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan 17 15:53 ata-Samsung_SSD_850_EVO_120GB_S21UNXAGA69026E -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-Samsung_SSD_850_EVO_120GB_S21UNXAGA69026E-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-Samsung_SSD_850_EVO_120GB_S21UNXAGA69026E-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 17 15:55 ata-Samsung_SSD_850_EVO_120GB_S21UNXAGA69026E-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 17 15:55 ata-Samsung_SSD_850_EVO_120GB_S21UNXAGA69026E-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Jan 17 15:53 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 17 15:55 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Jan 17 15:53 ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4N2NPPCFF-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Jan 17 15:51 usb-Generic_STORAGE_DEVICE_000000009744-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Jan 17 15:51 usb-Generic_STORAGE_DEVICE_000000009744-0:1 -> ../../sdd
lrwxrwxrwx 1 root root  9 Jan 17 15:51 usb-Generic_STORAGE_DEVICE_000000009744-0:2 -> ../../sde
lrwxrwxrwx 1 root root  9 Jan 17 15:51 usb-Generic_STORAGE_DEVICE_000000009744-0:3 -> ../../sdf
lrwxrwxrwx 1 root root  9 Jan 17 15:51 usb-Generic_STORAGE_DEVICE_000000009744-0:4 -> ../../sdg
lrwxrwxrwx 1 root root  9 Jan 17 15:53 usb-Generic_USB_Flash_Disk-0:0 -> ../../sdh
lrwxrwxrwx 1 root root 10 Jan 17 15:53 usb-Generic_USB_Flash_Disk-0:0-part1 -> ../../sdh1
lrwxrwxrwx 1 root root  9 Jan 17 15:51 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan 17 15:53 wwn-0x50014ee261b694d3 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 17 15:55 wwn-0x50014ee261b694d3-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x50014ee261b694d3-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x50014ee261b694d3-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x50014ee261b694d3-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x50014ee261b694d3-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Jan 17 15:53 wwn-0x5002538d406beded -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x5002538d406beded-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 17 15:53 wwn-0x5002538d406beded-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 17 15:55 wwn-0x5002538d406beded-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 17 15:55 wwn-0x5002538d406beded-part4 -> ../../sda4

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdh1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 6397f580-4b51-481d-91e2-b80ac9491222 root hd1,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

========================== sdb2/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 6397f580-4b51-481d-91e2-b80ac9491222 root hd1,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sdb3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6397f580-4b51-481d-91e2-b80ac9491222
else
  search --no-floppy --fs-uuid --set=root 6397f580-4b51-481d-91e2-b80ac9491222
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6397f580-4b51-481d-91e2-b80ac9491222' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6397f580-4b51-481d-91e2-b80ac9491222
	else
	  search --no-floppy --fs-uuid --set=root 6397f580-4b51-481d-91e2-b80ac9491222
	fi
	linux	/boot/vmlinuz-4.4.0-71-generic.efi.signed root=UUID=6397f580-4b51-481d-91e2-b80ac9491222 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-71-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-6397f580-4b51-481d-91e2-b80ac9491222' {
	menuentry 'Ubuntu, with Linux 4.4.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-advanced-6397f580-4b51-481d-91e2-b80ac9491222' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6397f580-4b51-481d-91e2-b80ac9491222
		else
		  search --no-floppy --fs-uuid --set=root 6397f580-4b51-481d-91e2-b80ac9491222
		fi
		echo	'Loading Linux 4.4.0-71-generic ...'
		linux	/boot/vmlinuz-4.4.0-71-generic.efi.signed root=UUID=6397f580-4b51-481d-91e2-b80ac9491222 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-71-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-71-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-init-upstart-6397f580-4b51-481d-91e2-b80ac9491222' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6397f580-4b51-481d-91e2-b80ac9491222
		else
		  search --no-floppy --fs-uuid --set=root 6397f580-4b51-481d-91e2-b80ac9491222
		fi
		echo	'Loading Linux 4.4.0-71-generic ...'
		linux	/boot/vmlinuz-4.4.0-71-generic.efi.signed root=UUID=6397f580-4b51-481d-91e2-b80ac9491222 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-71-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-recovery-6397f580-4b51-481d-91e2-b80ac9491222' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6397f580-4b51-481d-91e2-b80ac9491222
		else
		  search --no-floppy --fs-uuid --set=root 6397f580-4b51-481d-91e2-b80ac9491222
		fi
		echo	'Loading Linux 4.4.0-71-generic ...'
		linux	/boot/vmlinuz-4.4.0-71-generic.efi.signed root=UUID=6397f580-4b51-481d-91e2-b80ac9491222 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-71-generic
	}
}

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

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root C617-DB08
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root C617-DB08
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 4F0C-EA13
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 4F0C-EA13
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/ubuntu/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 4F0C-EA13
chainloader (${root})/EFI/ubuntu/fbx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi sda1" {
search --fs-uuid --no-floppy --set=root 4F0C-EA13
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 4F0C-EA13
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-4F0C-EA13' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  4F0C-EA13
	else
	  search --no-floppy --fs-uuid --set=root 4F0C-EA13
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb3/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/sda3 during installation
UUID=6397f580-4b51-481d-91e2-b80ac9491222 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
#UUID=C617-DB08  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=eed9949d-21ec-4b42-94ab-0a6e061dff10 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=ab94c0d6-6c44-4a7b-93dc-ceb43276b3e7 none            swap    sw              0       0
UUID=C617-DB08	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   2.286621094 = 2.455240704    boot/grub/grub.cfg                             1
  11.879318237 = 12.755320832   boot/vmlinuz-4.4.0-71-generic                  1
   7.849369049 = 8.428195840    boot/vmlinuz-4.4.0-71-generic.efi.signed       1
  11.879318237 = 12.755320832   vmlinuz.old                                    1
   3.151744843 = 3.384160256    boot/initrd.img-4.4.0-71-generic               3
   3.151744843 = 3.384160256    initrd.img.old                                 3

=========================== sdh1/boot/grub/grub.cfg: ===========================

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

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdh1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

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


/dev/sda1: unknown GPT attributes
8000000000000000

/dev/sda2: unknown GPT attributes
8000000000000000

/dev/sda4: unknown GPT attributes
8000000000000001

========= Devices which don't seem to have a corresponding hard drive: =========

sdc sdd sde sdf sdg 

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

File descriptor 9 (/proc/8198/mounts) leaked on lvs invocation. Parent PID 24697: bash
File descriptor 63 (pipe:[59702]) leaked on lvs invocation. Parent PID 24697: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20180117_1553 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: failed to translate partition name
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sdb3:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="SYSTEM" UUID="4F0C-EA13" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="55e1538f-5fbc-4cd0-85f5-16ba7e1b1806"
/dev/sda3: LABEL="Windows" UUID="B45354C406B95F55" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8c19ee47-f548-44e8-bd42-dfefd69a3337"
/dev/sda4: LABEL="Recovery" UUID="1F02E26D36EEF48B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6d729083-e328-4354-9936-f502e2398b1f"
/dev/sdb1: LABEL="Daten" UUID="5476139BC34781AF" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="9c538911-1362-4cba-b7ac-767718d2e154"
/dev/sdb2: LABEL="ESP" UUID="C617-DB08" TYPE="vfat" PARTUUID="5d6ab471-91f2-401d-9c5d-af9b41f27d23"
/dev/sdb3: UUID="6397f580-4b51-481d-91e2-b80ac9491222" TYPE="ext4" PARTUUID="368c8867-3748-403a-bf12-088687d604af"
/dev/sdb4: LABEL="U_Donnees" UUID="eed9949d-21ec-4b42-94ab-0a6e061dff10" TYPE="ext4" PARTUUID="1d992b34-ec1e-44e2-be9e-a044d71214a7"
/dev/sdh1: LABEL="UBUNTU 16_0" UUID="4C25-6F23" TYPE="vfat" PARTUUID="000ecddb-01"
/dev/loop0: TYPE="squashfs"
/dev/sdb5: UUID="ab94c0d6-6c44-4a7b-93dc-ceb43276b3e7" TYPE="swap" PARTUUID="887f4960-587d-421e-af75-fbe0d10ea2dd"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="c504634b-54e1-46bc-a16b-da530a8ad0b4"


2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Windows not detected by os-prober on sda3.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of bkp file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi

=================== sdb3/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Dec 13 15:56 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Apr 15  2016 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar  1  2017 10_linux
-rwxr-xr-x 1 root root 11082 Apr 15  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Apr 15  2016 30_os-prober
-rwxr-xr-x 1 root root  1418 Apr 15  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15  2016 40_custom
-rwxr-xr-x 1 root root   216 Apr 15  2016 41_custom
-rw-r--r-- 1 root root   483 Apr 15  2016 README




=================== sdb3/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sdb3: UUID=C617-DB08   (sdb2)

=================== efibootmgr -v
BootCurrent: 000C
Timeout: 1 seconds
BootOrder: 000C,000A,0001,0006
Boot0001* Windows Boot Manager	HD(1,GPT,55e1538f-5fbc-4cd0-85f5-16ba7e1b1806,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0006  Windows Boot Manager	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot000A* ubuntu	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIUBUNTUSHIMX64.EFI)..BO
Boot000C* UEFI: Generic USB Flash Disk 0.00, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/USB(3,0)/HD(1,MBR,0x4294967259,0x800,0x780000)..BO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda3	: 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,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda3.
sda4	: 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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.
sdb1	: sdb,	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,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb1.
sdb2	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdb2.
sdb3	: sdb,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdb3.
sdb4	: sdb,	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,	notbiosboot, /mnt/boot-sav/sdb4.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:120GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:120GB:119GB:ntfs:Basic data partition:msftdata;
4:120GB:120GB:524MB:ntfs::hidden, diag;

BYT;
/dev/sdb:2000GB:scsi:512:4096:gpt:ATA WDC WD20EZRZ-00Z:;
2:1049kB:158MB:157MB:fat32::boot, esp;
3:158MB:26.4GB:26.2GB:ext4::;
5:26.4GB:31.0GB:4627MB:linux-swap(v1)::;
4:31.0GB:1468GB:1437GB:ext4::;
1:1468GB:2000GB:532GB:ntfs:Basic data partition:msftdata;

BYT;
/dev/sdh:4028MB:scsi:512:512:msdos:Generic USB Flash Disk:;
1:1049kB:4028MB:4027MB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sdb   disk            1.8T
sdb4  part ext4       1.3T U_Donnees
sdb2  part vfat       150M ESP
sdb5  part swap       4.3G
sdb3  part ext4      24.4G
sdb1  part ntfs     495.6G Daten
sr0   rom            1024M
loop0 loop squashfs   1.4G
sda   disk          111.8G
sda4  part ntfs       500M Recovery
sda2  part             16M
sda3  part ntfs     111.2G Windows
sda1  part vfat       100M SYSTEM
sdh   disk            3.8G
sdh1  part vfat       3.8G UBUNTU 16_0

KNAME ROTA RO RM STATE   MOUNTPOINT
sdb      1  0  0 running
sdb4     1  0  0         /mnt/boot-sav/sdb4
sdb2     1  0  0         /mnt/boot-sav/sdb2
sdb5     1  0  0         [SWAP]
sdb3     1  0  0         /mnt/boot-sav/sdb3
sdb1     1  0  0         /mnt/boot-sav/sdb1
sr0      1  0  1 running
loop0    1  1  0         /rofs
sda      0  0  0 running
sda4     0  0  0         /mnt/boot-sav/sda4
sda2     0  0  0
sda3     0  0  0         /mnt/boot-sav/sda3
sda1     0  0  0         /mnt/boot-sav/sda1
sdh      1  0  1 running
sdh1     1  0  1         /cdrom


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4032868k,nr_inodes=1008217,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=809784k,mode=755)
/dev/sdh1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=b8aa9b19bb5057e0)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16485)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=809784k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb3 on /mnt/boot-sav/sdb3 type ext4 (rw,relatime,data=ordered)
/dev/sdb4 on /mnt/boot-sav/sdb4 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 sdb4 sdb5 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdf (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdg (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdh (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdh1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sdb2 sdb3 sdb4 sdb5 sdc sdd sde sdf sdg sdh sdh1 sg0 sg1 sg2 sg3 sg4 sg5 sg6 sg7 sg8 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 03 00 01 03 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 13 ea 0c 4f 4e  4f 20 4e 41 4d 45 20 20  |..)...ONO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
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 a8 03 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff ff e5 0d 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  55 5f b9 06 c4 54 53 b4  |........U_...TS.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 e9 0d  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 9f 0f 00 00 00 00 00  |................|
00000030  aa a6 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  8b f4 ee 36 6d e2 02 1f  |...........6m...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
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 88 ee aa  |........?.......|
00000020  00 00 00 00 80 00 80 00  f8 ff f1 3d 00 00 00 00  |...........=....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  af 81 47 c3 9b 13 76 54  |..........G...vT|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb2
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 01 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 b0 04 00 3b 09 00 00  00 00 00 00 02 00 00 00  |....;...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 08 db 17 c6 45  53 50 20 20 20 20 20 20  |..)....ESP      |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     791M  9.5M  782M   2% /run
/dev/sdh1      vfat      3.8G  1.5G  2.3G  40% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      3.9G   75M  3.8G   2% /
tmpfs          tmpfs     3.9G  224K  3.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G  256K  3.9G   1% /tmp
tmpfs          tmpfs     791M   68K  791M   1% /run/user/999
/dev/sda1      vfat       96M   86M   11M  90% /mnt/boot-sav/sda1
/dev/sda3      fuseblk   112G   74G   38G  67% /mnt/boot-sav/sda3
/dev/sda4      fuseblk   500M  394M  107M  79% /mnt/boot-sav/sda4
/dev/sdb1      fuseblk   496G   53G  443G  11% /mnt/boot-sav/sdb1
/dev/sdb2      vfat      148M  4.5M  144M   4% /mnt/boot-sav/sdb2
/dev/sdb3      ext4       24G  8.1G   15G  36% /mnt/boot-sav/sdb3
/dev/sdb4      ext4      1.3T   70M  1.3T   1% /mnt/boot-sav/sdb4

=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 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 /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: gpt
Disk identifier: 14096313-EB29-4B24-A964-E40C32A3B84F

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 233416703 233177088 111.2G Microsoft basic data
/dev/sda4  233416704 234440703   1024000   500M Windows recovery environment


Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: gpt
Disk identifier: B03EC635-825F-4D2E-BB3C-6F47ECDAA0C4

Device          Start        End    Sectors   Size Type
/dev/sdb1  2867759104 3907028991 1039269888 495.6G Microsoft basic data
/dev/sdb2        2048     309247     307200   150M EFI System
/dev/sdb3      309248   51508466   51199219  24.4G Linux filesystem
/dev/sdb4    60547072 2867759103 2807212032   1.3T Linux filesystem
/dev/sdb5    51509248   60547071    9037824   4.3G Linux swap

Partition table entries are not in disk order.




Disk /dev/sdh: 3.8 GiB, 4027580416 bytes, 7866368 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
Disklabel type: dos
Disk identifier: 0x000ecddb

Device     Boot Start     End Sectors  Size Id Type
/dev/sdh1  *     2048 7866367 7864320  3.8G  c W95 FAT32 (LBA)




=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdb3, using the following options:        sdb2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file  restore-efi-backups


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sdb2/efi/.../grub*.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


=================== User settings
The settings chosen by the user will reinstall the grub-efi-amd64-signed of sdb3, using the following options:        sdb2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s    use-standard-efi-file  restore-efi-backups


/boot/efi added in sdb3/fstab
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
rm /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi.grb
Mount sdb2 on /mnt/boot-sav/sdb3/boot/efi
efi files in sdb2/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
Unhide GRUB boot menu in sdb3/etc/default/grub
lspci: Unable to load libkmod resources: error -12

*******lspci -nnk | grep -iA3 vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208 [GeForce GT 730] [10de:1287] (rev a1)
Subsystem: ASUSTeK Computer Inc. GK208 [GeForce GT 730] [1043:8589]
Kernel driver in use: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.14,grub-install (GRUB) 2.

chroot /mnt/boot-sav/sdb3 efibootmgr -v
error[00000000]: Unknown opened directory on descriptor 3
BootCurrent: 000C
Timeout: 1 seconds
BootOrder: 000C,000A,0001,0006
Boot0001* Windows Boot Manager	HD(1,GPT,55e1538f-5fbc-4cd0-85f5-16ba7e1b1806,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0006  Windows Boot Manager	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot000A* ubuntu	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIUBUNTUSHIMX64.EFI)..BO
Boot000C* UEFI: Generic USB Flash Disk 0.00, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/USB(3,0)/HD(1,MBR,0x4294967259,0x800,0x780000)..BO

chroot /mnt/boot-sav/sdb3 uname -r
Kernel: 4.10.0-28-generic

Reinstall the grub-efi-amd64-signed of sdb3
Installing for x86_64-efi platform.
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fbx64.efi /Boot/bootx64.efi
efi files in sdb2/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
df /dev/sdb2
cp /mnt/boot-sav/sdb3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sdb3/boot/efi/EFI/Boot/bootx64.efi (& .grb)
efi files in sdb2/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /Boot/bootx64.efi
Add /mnt/boot-sav/sdb3/boot/efi efi entries in /mnt/boot-sav/sdb3/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sdb3/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/sdb3/boot/efi/EFI/ubuntu/mmx64.efi
df /dev/sda1
Save and rename /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sdb3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fbx64.efi /Boot/bootx64.efi /Boot/bkpbootx64.efi
Add /mnt/boot-sav/sda1 efi entries in /mnt/boot-sav/sdb3/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
sda1/bkpbootx64.efi already added
Adding custom /mnt/boot-sav/sda1/EFI/ubuntu/fbx64.efi
Adding custom /mnt/boot-sav/sda1/EFI/ubuntu/mmx64.efi
Adding custom /mnt/boot-sav/sda1/EFI/ubuntu/MokManager.efi
sda1/bootmgfw.efi already added
Installing for x86_64-efi platform.
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
error[00000000]: Unknown opened directory on descriptor 3
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

chroot /mnt/boot-sav/sdb3 efibootmgr -v
error[00000000]: Unknown opened directory on descriptor 3
BootCurrent: 000C
Timeout: 1 seconds
BootOrder: 0000,000C,0001,0006
Boot0000* ubuntu	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,55e1538f-5fbc-4cd0-85f5-16ba7e1b1806,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0006  Windows Boot Manager	HD(2,GPT,5d6ab471-91f2-401d-9c5d-af9b41f27d23,0x800,0x4b000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot000C* UEFI: Generic USB Flash Disk 0.00, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/USB(3,0)/HD(1,MBR,0x4294967259,0x800,0x780000)..BO

chroot /mnt/boot-sav/sdb3 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sdb3/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sdb2/EFI/ubuntu/shimx64.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

Dernière modification par marc_ch (Le 01/02/2018, à 18:04)

Hors ligne

#2 Le 18/01/2018, à 11:00

malbo

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

marc_ch a écrit :

Avec Clonezilla, j'ai restauré une image.

Si tu n'as restauré qu'une image de ta partition racine sans restaurer l'image de ta partition /home, je ne suis pas du tout sûr que ça peut marcher.

Hors ligne

#3 Le 18/01/2018, à 12:04

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Merci malbo de m'apporter ton soutien.
Je l'ai déjà restauré la partition racine à plusieurs reprises et ça a toujours marché. Mes sauvegarde du /home je les faits par simple copie sur un disque externe, ça me parait plus sûr et plus simple à restaurer.
cette commande     rm -rf ~ /.pia_manager /    aurait-elle pu corrompre le BIOS ?
En tout cas Windows 10 démarre en le priorisant dans le BIOS.

Hors ligne

#4 Le 18/01/2018, à 12:17

cqfd93

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Bonjour,

marc_ch a écrit :

On m'a dit d'exécuter dans un terminal   rm -rf ~ /.pia_manager /   pour désinstaller la version existante.
La commande affichait des messages d'erreur que je n'ai malheureusement pas retenus.
Pensant qu'il fallait lancer la commande ci-dessus en sudo, je l'ai fait et :
La commande a planté et plus rien sur mon écran.

Si tu as tapé la commande comme tu la mets dans ton message :

rm -rf ~ /.pia_manager /

avec une espace entre ~ et / et une autre avant le / final, pas étonnant que tu aies eu des messages d'erreur !!! Parce que là, avec ces deux espaces, elle signifie :

  • supprimer tout ce qui est dans le dossier de l'utilisateur courant (~ ton home)

  • supprimer le dossier /.pia_manager et tout ce qu'il contient (pas grave, il n'existe pas)

  • supprimer le dossier racine et tout son contenu (/) impossible si tu n'es pas en root

Donc, je ne testerai pas, mais je pense qu'il a dû y avoir déjà pas mal de dégâts dans ton home.

Mais comme ça ne te suffisait pas, tu en as repassé une couche avec sudo et là, c'est carrément la racine / qui a trinqué…

Pas étonnant après tout ça que tu aies dû restaurer une image !!!

Moralité : fais gaffe à ce que tu tapes dans le terminal et ne réutilise plus jamais la commande rm !

N'oublie pas que sudo = j'ai tous les droits y compris celui de faire des conneries !

Dernière modification par cqfd93 (Le 18/01/2018, à 12:21)


cqfd93

En ligne

#5 Le 18/01/2018, à 12:28

malbo

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

marc_ch a écrit :

Je l'ai déjà restauré la partition racine à plusieurs reprises et ça a toujours marché.

Dans ce cas, oublie ma remarque.

Hors ligne

#6 Le 18/01/2018, à 12:38

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

cqfd93 a malheureusement raison mon  /home est vide !!!!
Effectivement s'il n'y plus de /home de démarrage ne peut pas se faire.
Ayant une sauvegarde de mon /home sur une partition d'un disque externe, je souhaite recopier sur la partition effacée depuis un live Ubuntu.
Mais je ne peut pas voir cette partition car je n'ai pas les droits d'accès.
Comment monter cette partition ?
Merci

Hors ligne

#7 Le 18/01/2018, à 13:50

malbo

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Moi, je ne suis pas du tout à l'aise avec les manips sur /home. Je laisse intervenir ceux qui savent.

Hors ligne

#8 Le 18/01/2018, à 13:56

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

This location could not be displayed.
You do not have the permissions necessary to view the contents of “USB3-linux”.

malbo, je souhaite savoir comment monter un disque externe si l'on a pas les droits d'accès depuis un live Ubuntu.
Le sais-tu ?

Dernière modification par marc_ch (Le 18/01/2018, à 13:59)

Hors ligne

#9 Le 18/01/2018, à 14:06

moko138

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

@malbo et cqfd93 :

marc_ch a écrit :

On m'a dit d'exécuter dans un terminal   rm -rf ~ /.pia_manager /   pour désinstaller la version existante. (...)
Pensant qu'il fallait lancer la commande ci-dessus en sudo, je l'ai fait

Si j'ai bien suivi, tout ce qui était monté à ce moment-là a été supprimé, donc /boot/efi aussi.
Pourtant le boot-info montre :

UUID=C617-DB08	/boot/efi	vfat	defaults	0	1
df -Th:
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sdb2      vfat      148M  4.5M  144M   4% /mnt/boot-sav/sdb2

"4,5M used" : je ne comprends pas pourquoi.

  - -

@marc_ch :

Mais je ne peut pas voir cette partition car je n'ai pas les droits d'accès.
Comment monter cette partition ?

Procéder en live
1) Créer les points de montage

sudo mkdir /tmp/Hsource  /tmp/Hdestination

2) Identifier les partitions
Tu montreras :

sudo lsblk -o name,fstype,size,label,mountpoint,uuid

Tu devras reconnaître le home source qui sera, disons, /dev/sdXN

3) Le monter

sudo mount /dev/sdXN  /tmp/Hsource

en remplaçant XN par la bonne lettre du moment et le bon chiffre.


4) Monter aussi monter le home de destination
Le home de destination sera sur la partition dont l'UUID est :
eed9949d-21ec-4b42-94ab-0a6e061dff10

sudo mount /dev/sdYP  /tmp/Hdestination

(toujours en remplaçant YP par la bonne lettre du moment et le bon chiffre).


6) Enfin la commande de copie ressemblera à ceci :

sudo cp -av /tmp/Hsource/.  /tmp/Hdestination

L'option -a est très importante, puisque c'est elle qui permet de conserver tous les attributs (propriétaire, droits et date, principalement) des fichiers, répertoires et liens, pendant la copie.


Mais AVANT de lancer la copie, tu t'arrêteras pour
5) nous montrer impérativement :

ls -sl /tmp/Hsource | head

pour affiner la commande définitive.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#10 Le 18/01/2018, à 14:20

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

ubuntu@ubuntu:~$ ls -sl /tmp/Hsource | head
ls: cannot open directory '/tmp/Hsource': Permission denied

et

ubuntu@ubuntu:~$ sudo ls -sl /tmp/Hsource/
total 32628
    4 drwxr-xr-x  2 root root     4096 Jul  5  2017 2017-04-03-11-img
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_A
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_R
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_S
    4 -rw-rw-r--  1 1000 1000     1806 Nov  4 09:25 Autre Base de données.7z
  100 -rw-------  1 1000 1000    99354 Feb 23  2015 bookmarks-2015-02-22.html
   92 -rw-------  1 1000 1000    94114 Feb 28  2015 bookmarks-2015-02-28.json
32284 -rw-rw-r--  1 1000 1000 33058267 Dec 14 15:56 ELECTRUM.7z
    4 drwxr-xr-x  4 1000 1000     4096 Apr 10  2014 HOME_ROXANE
   48 -rw-r--r--  1 1000 1000    48154 Dec 27 10:05 KeePassX.7z
   16 drwxrwx---  2 root 1000    16384 Dec 20  2015 lost+found
    4 drwxrwxr-x 40 1000 1000     4096 Dec  8  2016 MusiqueTiguan
    4 drwxrwxr-x  2 1000 1000     4096 Nov 24 17:26 REINSTALLATION APPLICATIONS
    4 drwxrwxr-x  8 1000 1000     4096 Jan 17 15:13 Sdb3_sys_linux_UEFI
   44 -rw-rw-r--  1 1000 1000    42999 Dec 27 10:10 Sos.odt.7z
    4 -rw-rw-r--  1 1000 1000      194 Dec 29  2015 Synaptic bloqué
    4 drwxrwxr-x  2 1000 1000     4096 Nov 10  2013 Ubuntu 13.10 et suivants

/temp/Hdestination -> 25 items Tous ce qui est nécessaire à Ubuntu semble-t-il.
/temp/Hsource -> 0 items
mais :

sudo ls -sl /tmp/Hsource/ARCHIVE_HOME_A/marc
total 15096
   4 drwxrwxr-x   2 1000 1000    4096 Jul 30  2016 ASSURA
   4 drwxrwxr-x   2 1000 1000    4096 Jun  1  2016 Assurance bâtiment
   4 drwxrwxr-x  33 1000 1000    4096 Jan  1 09:34 Bibliothèque calibre
  12 drwxrwxr-x  12 1000 1000   12288 Jan  9 09:53 BQE
   4 drwxr-xr-x  11 1000 1000    4096 Jan  9 13:06 Bureau
   4 drwxrwxr-x   2 1000 1000    4096 Jan  3 10:39 CALCULS
  96 -rw-rw-r--   1 1000 1000   95947 Dec 19  2015 Carnet adresses.vcf
 308 -rw-rw-r--   1 1000 1000  312401 Oct 11  2014 CarrossiersFully.pdf
   4 drwxrwxr-x   2 1000 1000    4096 Jan  7 12:48 CHAT
   4 drwxr-xr-x   2 1000 1000    4096 Dec 18 10:52 CLIMAT
   4 drwxrwxr-x   2 1000 1000    4096 Jan  6 15:09 COMMANDES
 100 -rw-rw-r--   1 1000 1000  100831 Jul  6  2017 Composants.html
  36 -rw-rw-r--   1 1000 1000   32937 Jul 15  2017 Compte Eropcar.pdf
   4 drwxrwxr-x   2 1000 1000    4096 Aug 15 06:51 CORSE 2017
   4 drwxrwxr-x   4 1000 1000    4096 Jan  9 14:52 DAO béta
   4 drwxrwxr-x   4 1000 1000    4096 Dec 31 10:36 DIVERS
   4 drwxrwxr-x  70 1000 1000    4096 Jan  6 15:50 DOCUMENTATION
   4 drwxr-xr-x  24 1000 1000    4096 Jan  9 10:15 Documents
   4 drwxrwxr-x   5 1000 1000    4096 Dec 22 14:45 Downloads
  12 drwxr-xr-x   3 1000 1000   12288 Dec 31 08:48 dwhelper
  12 -rw-r--r--   1 1000 1000    8980 Dec 22  2015 examples.desktop
   4 drwxrwxr-x   2 1000 1000    4096 Dec 28 13:02 FACTURES-RESERVATIONS
   4 drwxrwxr-x   2 1000 1000    4096 Jul  7  2017 FACTURES-RESRVATIONS
   4 drwxrwxr-x   3 1000 1000    4096 Jan 25  2016 GALENOS
   4 drwxrwxr-x   5 1000 1000    4096 Apr 18  2015 GALLERY
   4 drwxrwxr-x   3 1000 1000    4096 Nov 28 13:51 GeTax2016
   4 drwxrwxr-x   4 1000 1000    4096 Mar  7  2015 GNUstep
  16 drwxr-----  24 1000 1000   16384 Nov 28  2016 hplip-3.16.11
   4 drwxr-xr-x 103 1000 1000    4096 Dec 30 12:42 Images
  12 drwxrwxr-x   2 1000 1000   12288 Mar 23  2014 Importation_iPhone
   4 drwxrwxr-x  29 1000 1000    4096 Dec 18 16:34 IMPOTS
   4 drwxr-xr-x  22 1000 1000    4096 Dec 22 14:26 INSTALLATIONS
   8 -rw-rw-r--   1 1000 1000    5764 Jul  9  2016 install_ubuntu.sh
   8 -rw-rw-r--   1 1000 1000    5847 Oct 13  2016 install_ubuntu.sh.1
   4 drwxrwxr-x   3 1000 1000    4096 Mar 23  2014 ISO
   4 drwxrwxr-x   5 1000 1000    4096 Nov 30 16:00 JARDIN
   4 drwxrwxr-x  18 1000 1000    4096 Nov 18 15:57 kdenlive
  92 -rw-r--r--   1 1000 1000   91595 Feb 25  2011 MarcDecafé.pdf
   4 drwxrwxr-x   2 1000 1000    4096 Jan  4 14:44 MARRAKECH
   4 drwx------   5 1000 1000    4096 Jan  8 11:07 METEO
   4 drwxr-xr-x   2 1000 1000    4096 Dec 22 16:39 Modèles
  12 drwxr-xr-x  36 1000 1000   12288 Aug 12 07:32 Musique
   4 drwxrwxr-x   5 1000 1000    4096 Jan 11  2015 My Digital Editions
   4 -rwxrwxr-x   1 1000 1000      72 Mar 26  2017 pia.sh
   4 drwxrwxr-x   3 1000 1000    4096 Nov 21 15:30 PLUZZ-FR
  12 drwxrwxr-x   6 1000 1000   12288 Dec 31 14:51 POLITIQUE
2400 -rw-------   1 1000 1000 2456787 Oct 17  2014 PQ_Hakle.JPG
   4 drwxr-xr-x   2 1000 1000    4096 Dec 22  2015 Public
  32 -rw-rw-r--   1 1000 1000   32107 Dec 27 12:03 rdv passeport Jo.pdf
  32 -rw-rw-r--   1 1000 1000   32469 Dec 27 12:02 RDV passeport.pdf
  16 drwx------   8 1000 1000   16384 Dec 18 10:07 RECETTES
   4 drwxrwxr-x   2 1000 1000    4096 Apr 30  2017 RECUP BUREAU
   4 drwxrwxr-x   2 1000 1000    4096 Sep 24 09:00 REINSTALLATION APPLICATIONS
6700 -rw-rw-r--   1 1000 1000 6857994 Nov 25  2016 Sans nom 1.odg
   4 drwxrwxr-x  13 1000 1000    4096 Dec 31 10:53 SANTE
   4 drwxrwxrwx   3 1000 1000    4096 Jan  9 09:53 SCAN
   4 drwxrwxr-x   4 1000 1000    4096 Dec 31 10:41 Téléchargement BAK
   4 drwxr-xr-x   6 1000 1000    4096 Jan  8 17:51 Téléchargements
   4 -rw-rw-r--   1 1000 1000     510 May  2  2017 Tél serrurier Bender
4976 -rw-rw-r--   1 1000 1000 5094737 Apr 27  2017 Test VLC.mp4
   4 drwxrwxr-x   2 1000 1000    4096 Nov 14  2014 TIGUAN
   4 drwxrwxr-x   3 1000 1000    4096 Dec 25 09:39 tmp
   4 drwxrwxr-x   3 1000 1000    4096 Jan  9 10:53 VACANCES
   4 drwxrwxr-x   8 1000 1000    4096 Oct 12 15:22 VERANDA
   4 drwxrwxr-x   3 1000 1000    4096 Apr  8  2017 Veuillez choisir un dossier
   4 drwxr-xr-x  19 1000 1000    4096 Dec 26 16:24 Vidéos
   4 drwxrwxr-x   2 1000 1000    4096 May 16  2015 VINS PRIX 2015
   4 drwxrwxr-x   6 1000 1000    4096 Feb 28  2017 VSTax
   4 drwxrwxr-x   2 1000 1000    4096 Apr  5  2016 VW
   4 -rw-rw-r--   1 1000 1000     262 Nov 18  2016 zone2.mp4
   4 -rw-rw-r--   1 1000 1000     262 Nov 18  2016 Zone.mp4

Je crains le pire ls /tmp/Hsource/. n'affiche pas les fichiers cachés

Dernière modification par marc_ch (Le 18/01/2018, à 16:35)

Hors ligne

#11 Le 18/01/2018, à 16:49

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Comme suite  à mon précédent post, j'ai édité, puis sauvegardé sur le bureau de live Ubuntu mon bash de sauvegarde. Hormis quelques répertoires les fichiers et dossiers cachés auraient dû être sauvegardés.
gedit /tmp/Hsource/ARCHIVE_HOME_A/marc/Bureau/Sauvegarde.sh

#!/bin/bash
REPERTOIRE_SOURCE="/home/"
# REPERTOIRE_DESTINATION="/media/marc/SAUVEGARDE LINUX/ARCHIVE HOME/"

  REPERTOIRE_DESTINATION_A="/media/marc/USB3-linux/ARCHIVE_HOME_A/"
  REPERTOIRE_DESTINATION_R="/media/marc/USB3-linux/ARCHIVE_HOME_R/"
  REPERTOIRE_DESTINATION_W="/media/marc/USB3_W10/UBUNTU/"
	
# Détecter la présence du volume de destination et interrompre l'opération si nécessaire
if [ ! -e "$REPERTOIRE_DESTINATION_A" ]
	then
	echo 
	echo 
	echo 
	echo "Attention, le disque de sauvegarde n'est pas présent"
	sleep 3s
	exit
fi

#choix et exécution du type de sauvegarde
#----------------------------------------
echo "SAUVEGARDE"
echo -n "mode Ajout ou Remplacement ou Windows A/R/W ? "
read rep

debut=`uptime`

case $rep in
	A | a ) 
	rsync -av --stats --filter "- .thumbnails/" --filter "- .Trash/" --filter "- /marc/dwhelper/.*" --filter "- *.tmp" --filter "- *.bak" --filter "- *.iso" --filter "- lost+found/" --filter "- .cache/" --filter "- .beagle/" $REPERTOIRE_SOURCE "$REPERTOIRE_DESTINATION_A" ;;

	R | r )
	rsync -av --del --stats --filter "- .thumbnails/" --filter "- .Trash/" --filter "- /marc/dwhelper/.*" --filter "- *.tmp" --filter "- *.bak" --filter "- *.iso" --filter "- lost+found/" --filter "- .cache/" --filter "- .beagle/" $REPERTOIRE_SOURCE "$REPERTOIRE_DESTINATION_S" ;;

	W | w ) 
	rsync -av --stats --filter "- .*" --filter "- .Trash/" --filter "- /marc/dwhelper/.*" --filter "- *.tmp" --filter "- *.bak"  $REPERTOIRE_SOURCE "$REPERTOIRE_DESTINATION_W" ;;


	* ) echo "Saisie erronée, recommencer !"
	sleep 5s
	exit;;
esac



# copie tout les nouveaux fichiers
#---------------------------------
# rsync -av --stats --filter "- .thumbnails/" --filter "- .Trash/" --filter "- *.tmp" --filter "- *.bak" --filter "- *.iso" --filter "- lost+found/" --filter "- .cache/" --filter "- .beagle/" $REPERTOIRE_SOURCE "$REPERTOIRE_DESTINATION"


#--del supprime les fichiers destination qui n'existent plus sur source
#----------------------------------------------------------------------
# rsync -av --del --stats --filter "- .thumbnails/" --filter "- .Trash/" --filter "- *.tmp" --filter "- *.bak" --filter "- *.iso" --filter "- lost+found/" --filter "- .cache/" --filter "- .beagle/" $REPERTOIRE_SOURCE "$REPERTOIRE_DESTINATION"  

echo
echo "La commande de sauvegarde a terminé son travail..."
echo "Vérifiez s'il n'y a pas eu d'erreur !"

fin=`uptime`
echo
echo "Début : $debut"
echo "Fin   : $fin"
echo

# calculs durée
#--------------
#début en secondes
let "d =(${debut:4:1}*10 + ${debut:5:1})*60 + ${debut:7:1}*10 + ${debut:8:1}"
#fin en secondes
let "f =(${fin:4:1}*10 + ${fin:5:1})*60 + ${fin:7:1}*10 + ${fin:8:1}"
let "m =(f-d)/60"
let "s =(f-d)%60"
echo "$m minutes $s secondes"

sleep 10s
#read f
echo 0

Dernière modification par marc_ch (Le 19/01/2018, à 11:14)

Hors ligne

#12 Le 18/01/2018, à 19:35

moko138

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Tu as oublié de montrer

sudo lsblk -o name,fstype,size,label,mountpoint,uuid

Je crains le pire ls /tmp/Hsource/. n'affiche pas les fichiers cachés

Ça, c'est normal en l'absence de l'option -a derrière ls. Tu peux vérifier si tu les as sauvegardés, en faisant

ls -la /tmp/Hsource/

  - -

Il faudra que tu montres aussi

ls -la /tmp/Hdestination

pour vérifier s'il faudra ou non y recréer
/home/,             appartenant à root,
/home/marc/,    appartenant à marc
/home/roxane,  appartenant à roxane,
etc.
  - -

Ce qui me soucie davantage, c'est le foutoir régnant dans /tmpHsource, puisqu'on y voit
1) Quatre ou cinq /home/user potentiels

    4 drwxr-xr-x  2 root root     4096 Jul  5  2017 2017-04-03-11-img
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_A
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_R
    4 drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_S
    4 drwxr-xr-x  4 1000 1000     4096 Apr 10  2014 HOME_ROXANE

Si tu ne sais pas ce que contient 2017-04-03-11-img, tu devras le vérifier.
Et

ncdu /tmpHsource

t'aidera à voir ce qui pèse lourd ou pas.


2) Des fichiers et répertoires en vrac, qui devraient être dans un des home/***/ :

    4 -rw-rw-r--  1 1000 1000     1806 Nov  4 09:25 Autre Base de données.7z
  100 -rw-------  1 1000 1000    99354 Feb 23  2015 bookmarks-2015-02-22.html
   92 -rw-------  1 1000 1000    94114 Feb 28  2015 bookmarks-2015-02-28.json
32284 -rw-rw-r--  1 1000 1000 33058267 Dec 14 15:56 ELECTRUM.7z
    4 drwxr-xr-x  4 1000 1000     4096 Apr 10  2014 HOME_ROXANE
   48 -rw-r--r--  1 1000 1000    48154 Dec 27 10:05 KeePassX.7z
    4 drwxrwxr-x 40 1000 1000     4096 Dec  8  2016 MusiqueTiguan
    4 drwxrwxr-x  2 1000 1000     4096 Nov 24 17:26 REINSTALLATION APPLICATIONS
    4 drwxrwxr-x  8 1000 1000     4096 Jan 17 15:13 Sdb3_sys_linux_UEFI
   44 -rw-rw-r--  1 1000 1000    42999 Dec 27 10:10 Sos.odt.7z
    4 -rw-rw-r--  1 1000 1000      194 Dec 29  2015 Synaptic bloqué
    4 drwxrwxr-x  2 1000 1000     4096 Nov 10  2013 Ubuntu 13.10 et suivants

3)    16 drwxrwx---  2 root 1000    16384 Dec 20  2015 lost+found  ## À NE SURTOUT PAS COPIER !


4) Tu nous sors tout à coup un script à base de rsync.
Je ne connais pas rsync.
Il faut choisir : ou ton script ou sudo cp -a..., mais pas les deux.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#13 Le 19/01/2018, à 11:29

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Voilà les points de montage

ubuntu@ubuntu:~$ sudo lsblk -o name,fstype,size,label,mountpoint,uuid
NAME   FSTYPE    SIZE LABEL      MOUNTPOINT UUID
sdb              1.8T                       
├─sdb4 ext4      1.3T U_Donnees  /media/ubu eed9949d-21ec-4b42-94ab-0a6e061dff10
├─sdb2 vfat      150M ESP                   C617-DB08
├─sdb5 swap      4.3G            [SWAP]     ab94c0d6-6c44-4a7b-93dc-ceb43276b3e7
├─sdb3 ext4     24.4G                       6397f580-4b51-481d-91e2-b80ac9491222
└─sdb1 ntfs    495.6G Daten      /media/ubu 5476139BC34781AF
sdi              1.8T                       
├─sdi1 ntfs    685.6G USB3_W10   /media/ubu F474B7AA74B76DCC
└─sdi2 ext4      1.2T USB3-linux /media/ubu 52621226-a99f-43f4-adc5-70e2f804e8a7
sr0             1024M                       
loop0  squashf   1.4G            /rofs      
sda            111.8G                       
├─sda4 ntfs      500M Recovery              1F02E26D36EEF48B
├─sda2            16M                       
├─sda3 ntfs    111.2G Windows               B45354C406B95F55
└─sda1 vfat      100M SYSTEM                4F0C-EA13
sdh              3.8G                       
└─sdh1 vfat      3.8G UBUNTU 16_0
                                 /cdrom     4C25-6F23
ubuntu@ubuntu:~$ sudo mount /dev/sdXN  /tmp/Hsource
mount: special device /dev/sdXN does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdi2 /tmp/Hsource
ubuntu@ubuntu:~$ sudo mount /dev/sdb3  /tmp/Hdestination
ubuntu@ubuntu:~$ ls -sl /tmp/Hsource | head
ls: cannot open directory '/tmp/Hsource': Permission denied


sdb3 = destination
sdb4 = destination
sdi2 = source

Hdestination

ubuntu@ubuntu:~$ ls -la /tmp/Hdestination
total 20
drwxr-xr-x  3 root root  4096 Jan 17 15:22 .
drwxrwxrwt 13 root root   320 Jan 19 12:40 ..
drwx------  2 root root 16384 Dec 22  2015 lost+found

Hsource (racine)

ubuntu@ubuntu:~$ sudo ls -la /tmp/Hsource/
total 32640
drwxrwx--x 14 root 1000     4096 Dec 27 10:10 .
drwxrwxrwt 13 root root      320 Jan 19 08:45 ..
drwxr-xr-x  2 root root     4096 Jul  5  2017 2017-04-03-11-img
drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_A
drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_R
drwxr-xr-x  3 1000 1000     4096 Apr 12  2016 ARCHIVE_HOME_S
-rw-rw-r--  1 1000 1000     1806 Nov  4 09:25 Autre Base de données.7z
-rw-------  1 1000 1000    99354 Feb 23  2015 bookmarks-2015-02-22.html
-rw-------  1 1000 1000    94114 Feb 28  2015 bookmarks-2015-02-28.json
-rw-rw-r--  1 1000 1000 33058267 Dec 14 15:56 ELECTRUM.7z
drwxr-xr-x  4 1000 1000     4096 Apr 10  2014 HOME_ROXANE
-rw-r--r--  1 1000 1000    48154 Dec 27 10:05 KeePassX.7z
drwxrwxr-x  2 1000 1000     4096 Dec 27 13:10 .LINK
drwxrwx---  2 root 1000    16384 Dec 20  2015 lost+found
drwxrwxr-x 40 1000 1000     4096 Dec  8  2016 MusiqueTiguan
drwxrwxr-x  2 1000 1000     4096 Nov 24 17:26 REINSTALLATION APPLICATIONS
drwxrwxr-x  8 1000 1000     4096 Jan 17 15:13 Sdb3_sys_linux_UEFI
-rw-rw-r--  1 1000 1000    42999 Dec 27 10:10 Sos.odt.7z
-rw-rw-r--  1 1000 1000      194 Dec 29  2015 Synaptic bloqué
drwx------  5 1000 1000     4096 Dec 30  2015 .Trash-1000
drwxrwxr-x  2 1000 1000     4096 Nov 10  2013 Ubuntu 13.10 et suivants

Remarques :

Le disque de sauvegarde sdi2 est effectivement un désordre +/- organisé. Il contient des tas de sauvegarde +/- confidentielles.
+Sdb_sys_linux_UEFI+ contient les images du root
+ARCHIVE_HOME_R+ contient une sauvegarde qui exclue de la sauvegarde les fichiers effacés de la source.
+ARCHIVE_HOME_A+ contient une sauvegarde de tous les fichiers, y compris ceux effacés de la source.
+HOME_ROXANE+ est une sauvegarde obsolète d'un ancien PC de mon épouse. Oui, il est à effacer.
+2017-04-03-11-img+ est une image Clonezilla, mais comme je ne sais plus à quoi elle correspond (manque d'information) je la supprimerai.

J'ai trouvé rsync dans un forum, les options me paraissaient intéressantes.

En résumé:
lors de la sauvegarde du /Home
REPERTOIRE_SOURCE="/home/"
REPERTOIRE_DESTINATION_R="/media/marc/USB3-linux/ARCHIVE_HOME_R/"

Sauvegarde proprement dite
l'utilisateur marc c'est moi, le seul utilisateur de ce PC.

ubuntu@ubuntu:~$ sudo ls -la /tmp/Hsource/ARCHIVE_HOME_R/marc/
total 1764
drwxr-xr-x 112 1000 1000   4096 Jan  9 17:26 .
drwxr-xr-x   3 1000 1000   4096 Apr 12  2016 ..
drwx------   3 1000 1000   4096 Mar 23  2014 .adobe
drwxrwxr-x   2 1000 1000   4096 Jul 30  2016 ASSURA
drwxrwxr-x   5 1000 1000   4096 Oct 11 08:41 .audacity-data
-rw-------   1 1000 1000  46211 Jan  9 17:26 .bash_history
-rw-r--r--   1 1000 1000    220 Jan  9  2015 .bash_logout
-rw-r--r--   1 1000 1000   3637 Jan  9  2015 .bashrc
drwxrwxr-x  32 1000 1000   4096 Jan  1 09:34 Bibliothèque calibre
drwx------   2 1000 1000   4096 Dec 23  2015 .bogofilter
drwxrwxr-x  12 1000 1000   4096 Jan  9 09:53 BQE
drwxr-xr-x   9 1000 1000   4096 Jan  9 13:06 Bureau
-rw-rw-r--   1 1000 1000    264 Jan  9 12:41 .cairo-clockrc
drwxrwxr-x   2 1000 1000   4096 Jan  3 10:39 CALCULS
-rw-rw-r--   1 1000 1000  95947 Dec 19  2015 Carnet adresses.vcf
-rw-rw-r--   1 1000 1000 312401 Oct 11  2014 CarrossiersFully.pdf
drwxrwxr-x   2 1000 1000   4096 Jan  7 12:48 CHAT
drwx------   9 1000 1000   4096 Dec 23  2015 .claws-mail
drwxr-xr-x   2 1000 1000   4096 Dec 18 10:52 CLIMAT
drwxrwxr-x   2 1000 1000   4096 Jan  6 15:09 COMMANDES
drwx------   3 1000 1000   4096 Jan 10  2015 .compiz
drwxrwxr-x   3 1000 1000   4096 Dec 23  2015 .compiz-1
-rw-rw-r--   1 1000 1000 100831 Jul  6  2017 Composants.html
drwxrwxr-x   2 1000 1000   4096 Nov  3  2016 .com.privateinternetaccess.vpn
drwx------  61 1000 1000   4096 Jan  9 13:06 .config
drwx------   2 1000 1000   4096 Dec 23  2015 .cups
drwxrwxr-x   4 1000 1000   4096 Jan  9 14:52 DAO béta
drwx------   3 1000 1000   4096 Mar 23  2014 .dbus
drwxrwxr-x   4 1000 1000   4096 Dec 31 10:36 DIVERS
-rw-r--r--   1 1000 1000     25 Jul 20  2016 .dmrc
drwxrwxr-x  65 1000 1000   4096 Jan  6 15:50 DOCUMENTATION
drwxr-xr-x  20 1000 1000   4096 Jan  9 10:15 Documents
drwxrwxr-x   2 1000 1000   4096 Dec 22 14:45 Downloads
drwx------   5 1000 1000   4096 Apr 22  2017 .dropbox
drwxr-xr-x   3 1000 1000   4096 Apr 22  2017 .dropbox-dist
drwxr-xr-x   3 1000 1000  12288 Dec 31 08:48 dwhelper
-rw-rw-r--   1 1000 1000    341 Aug 28 15:55 .easyMP3Gain
drwx------   2 1000 1000   4096 Jan  9 08:54 .esets
-rw-r--r--   1 1000 1000   8980 Dec 22  2015 examples.desktop
drwxrwxr-x   2 1000 1000   4096 Dec 28 13:02 FACTURES-RESERVATIONS
drwxrwxr-x   3 1000 1000   4096 Mar 23  2014 .fltk
drwxr-xr-x   2 1000 1000   4096 Dec 23  2015 .fontconfig
drwxr-xr-x   2 1000 1000   4096 Mar  8  2016 .FontForge
drwxrwxr-x   2 1000 1000   4096 Dec 23  2015 .fonts
drwxr-xr-x   2 1000 1000   4096 Dec 23  2015 .FreeFileSync
drwxrwxr-x   2 1000 1000   4096 Dec 23  2015 .furiusisomount
drwxrwxr-x   3 1000 1000   4096 Jan 25  2016 GALENOS
drwxrwxr-x   5 1000 1000   4096 Apr 18  2015 GALLERY
drwx------   5 1000 1000   4096 Jan  9 08:54 .gconf
drwxrwxr-x   3 1000 1000   4096 Nov 28 13:51 GeTax2016
drwxr-xr-x  25 1000 1000   4096 Jan  6 16:13 .gimp-2.8
-rw-r-----   1 1000 1000      0 Jan  8 17:20 .gksu.lock
drwx------   3 1000 1000   4096 Jan  8  2015 .gnome
drwx------   5 1000 1000   4096 Jul  5  2017 .gnome2
drwx------   2 1000 1000   4096 Mar 23  2014 .gnome2_private
drwx------   3 1000 1000   4096 Jan  9 08:54 .gnupg
drwxrwxr-x   4 1000 1000   4096 Mar  7  2015 GNUstep
drwx------   2 1000 1000   4096 Mar 23  2014 .gphoto
drwx------   2 1000 1000   4096 Dec 23  2015 .grsync
drwxrwxr-x   2 1000 1000   4096 May 16  2016 .gstreamer-0.10
drwxrwxr-x   4 1000 1000   4096 Sep 25  2016 .gtkpod
dr-x------   2 1000 1000   4096 Mar 23  2014 .gvfs
drwxr-xr-x   3 1000 1000   4096 Jan  9 08:54 .hplip
-rw-------   1 1000 1000 356734 Jan  9 08:54 .ICEauthority
drwxrwxr-x   6 1000 1000   4096 Dec 23  2015 .imagej
drwxr-xr-x 102 1000 1000   4096 Dec 30 12:42 Images
drwxrwxr-x   2 1000 1000  12288 Mar 23  2014 Importation_iPhone
drwxrwxr-x  29 1000 1000   4096 Dec 18 16:34 IMPOTS
drwxr-xr-x  21 1000 1000   4096 Dec 22 14:26 INSTALLATIONS
drwxrwxr-x   3 1000 1000   4096 Mar 23  2014 ISO
drwxrwxr-x   5 1000 1000   4096 Nov 30 16:00 JARDIN
drwxrwxr-x   3 1000 1000   4096 Mar 23  2014 .java
drwxrwxr-x   6 1000 1000   4096 Feb 28  2017 .Kanton VS
drwx------   4 1000 1000   4096 Aug  1 12:39 .kde
drwxrwxr-x  17 1000 1000   4096 Nov 18 15:57 kdenlive
drwx------   3 1000 1000   4096 Mar 23  2014 .launchpadlib
-rw-------   1 1000 1000    115 Jan  9 17:26 .lesshst
drwx------   3 1000 1000   4096 Dec 22  2015 .local
drwx------   3 1000 1000   4096 Nov 26  2015 .macromedia
drwxrwxr-x   2 1000 1000   4096 Jan  4 14:44 MARRAKECH
drwx------   5 1000 1000   4096 Jan  8 11:07 METEO
drwx------   3 1000 1000   4096 Mar 23  2014 .mission-control
drwxr-xr-x   2 1000 1000   4096 Dec 22 16:39 Modèles
drwx------   5 1000 1000   4096 Nov 18 08:19 .mozilla
-rw-rw-r--   1 1000 1000      0 Apr 18  2015 .mtab.fuseiso
drwxr-xr-x  36 1000 1000  12288 Aug 12 07:32 Musique
drwxrwxr-x   5 1000 1000   4096 Jan 11  2015 My Digital Editions
drwx------   4 1000 1000   4096 Mar 23  2014 .nv
drwxrwxr-x   2 1000 1000   4096 Feb 28  2017 .oracle_jre_usage
drwx------   3 1000 1000   4096 Dec 23  2015 .osmo
drwxrwxr-x   2 1000 1000   4096 Apr 15  2016 .pdfsam
drwxr-xr-x   2 1000 1000   4096 Mar 23  2014 .photoprint
drwxrwxr-x  10 1000 1000   4096 Mar 26  2017 .pia_manager
-rw-rw-r--   1 1000 1000 244040 Jan  8 21:04 .pia_manager_crash.log
-rwxrwxr-x   1 1000 1000     72 Mar 26  2017 pia.sh
drwx------   3 1000 1000   4096 Mar 23  2014 .pki
drwxrwxr-x   3 1000 1000   4096 Nov 21 15:30 PLUZZ-FR
drwxrwxr-x   6 1000 1000  12288 Dec 31 14:51 POLITIQUE
-rw-r--r--   1 1000 1000    675 Jan  9  2015 .profile
drwxr-xr-x   2 1000 1000   4096 Dec 22  2015 Public
drwx------   2 1000 1000   4096 Jul 20  2016 .pulse
drwxrwxr-x   3 1000 1000   4096 Jan 10  2015 .pyrenamer
-rw-rw-r--   1 1000 1000  32107 Dec 27 12:03 rdv passeport Jo.pdf
-rw-rw-r--   1 1000 1000  32469 Dec 27 12:02 RDV passeport.pdf
drwx------   8 1000 1000  12288 Dec 18 10:07 RECETTES
drwxrwxr-x   2 1000 1000   4096 Sep 24 09:00 REINSTALLATION APPLICATIONS
drwx------   3 1000 1000   4096 Mar 23  2014 .sane
drwxrwxr-x  13 1000 1000   4096 Dec 31 10:53 SANTE
drwx------   2 1000 1000   4096 Apr  7  2017 .sbd
drwxrwxrwx   3 1000 1000   4096 Jan  9 09:53 SCAN
drwx------   2 1000 1000   4096 Dec 23  2015 .searchmonkey
drwxrwxr-x   3 1000 1000   4096 Dec 17 10:14 .shutter
drwx------   2 1000 1000   4096 May 31  2016 .spamassassin
drwx------   2 1000 1000   4096 Jan 20  2015 .ssh
-rw-r--r--   1 1000 1000      0 Dec 23  2015 .sudo_as_admin_successful
drwxrwxr-x   4 1000 1000   4096 Mar 23  2014 .sudoku
drwxrwxr-x   3 1000 1000   4096 Nov 28 13:51 .swt
drwx------   2 1000 1000   4096 Jan  1  2016 .synaptic
drwxrwxr-x   4 1000 1000   4096 Dec 31 10:41 Téléchargement BAK
drwxr-xr-x   6 1000 1000   4096 Jan  8 17:51 Téléchargements
-rw-rw-r--   1 1000 1000    510 May  2  2017 Tél serrurier Bender
drwx------   4 1000 1000   4096 May 27  2016 .thunderbird
drwxrwxr-x   2 1000 1000   4096 Nov 14  2014 TIGUAN
drwxrwxr-x   2 1000 1000   4096 Dec 25 09:39 tmp
drwxrwxr-x   3 1000 1000   4096 Jan  9 10:53 VACANCES
drwxrwxr-x   8 1000 1000   4096 Oct 12 15:22 VERANDA
drwxr-xr-x  19 1000 1000   4096 Dec 26 16:24 Vidéos
drwxrwxr-x   2 1000 1000   4096 May 16  2015 VINS PRIX 2015
drwxrwxr-x   6 1000 1000   4096 Feb 28  2017 VSTax
drwxrwxr-x   2 1000 1000   4096 Apr  5  2016 VW
-rw-rw-r--   1 1000 1000    276 Jan  9 08:54 .wget-hsts
drwxrwxr-x   2 1000 1000   4096 Dec 23  2015 .winff
drwxr-xr-x   2 1000 1000   4096 Dec 23  2015 .wireshark
-rw-------   1 1000 1000    273 Jan  9 08:54 .Xauthority
drwxr-xr-x   2 1000 1000   4096 Dec 23  2015 .xine
-rw-rw-r--   1 1000 1000    131 Mar  1  2015 .xinputrc
-rw-------   1 1000 1000     92 Jan  9 08:54 .xsession-errors
-rw-------   1 1000 1000   1885 Jan  8 21:04 .xsession-errors.old
ubuntu@ubuntu:~$ ls -sl /tmp/Hsource | head
total 0

enfin, le script ne servant qu'à faire des sauvegardes, pour restaurer le /home je pense que le cp
serait plus indiqué, et surtout connu de toi.

Dernière modification par marc_ch (Le 19/01/2018, à 14:54)

Hors ligne

#14 Le 19/01/2018, à 13:56

moko138

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Je dois m'absenter : à ce soir ou demain matin.
En attendant, rappelle-toi bien que ta / et ton /home ont chacun leur propre partition, vu ton fstab :

UUID=6397f580-4b51-481d-91e2-b80ac9491222 /               ext4    errors=remount-ro 0       1

UUID=eed9949d-21ec-4b42-94ab-0a6e061dff10 /home           ext4    defaults        0       2

Donc tu t'es provisoirement trompé, c'est ta racine que tu as monté comme destination.

En réalité :
Ton home, c'est eed9949d-21ec-4b42-94ab-0a6e061dff10 (provisoirement sdb4)
ta racine, c'est 6397f580-4b51-481d-91e2-b80ac9491222 (provisoirement sdb3).


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#15 Le 19/01/2018, à 14:46

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Oups ! une erreur est vite arrivée.
Je corrige le point #13

Hors ligne

#16 Le 28/01/2018, à 12:18

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Me revoilà.
moko138, peux-tu me confirmer la suite à donner ?

ls -sl /tmp/Hsource/ARCHIVE_HOME_R | head
total 4
4 drwxr-xr-x 112 1000 1000 4096 Jan  9 17:26 marc

donc il faudrait copier comme suit ?

sudo cp -av /tmp/Hsource/ARCHIVE__HOME_R/.  /tmp/Hdestination

Merci

Dernière modification par marc_ch (Le 28/01/2018, à 12:18)

Hors ligne

#17 Le 01/02/2018, à 18:03

marc_ch

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Merci à tous, j'ai fini par réinstaller Ubuntu 16.04.3LTS et copié mes données sur un /home propre, formaté lors de l'installation.

Hors ligne

#18 Le 01/02/2018, à 18:34

moko138

Re : [Résolu] Ubuntu ne reconnait plus mon mot de passe

Oh désolé ! Je n'avais pas vu que tu avais répondu le 28/1 !

Bravo pour ta solution!


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne