Pages : 1
#1 Le 27/03/2024, à 09:30
- fonfonsd
récupérer home à partir d'un live usb
bonjour
j'ai un portable asus x50L double boot windows 10 et en ce moment linux mint.
Je voudrais y refaire une installation ubuntu à la place de linux mint suite plantage du système
A l'heure actuel le pc ne démarre plus en double boot.
Je voudrais faire donc avant toute installation une copie de mon home sur un disque externe. Le problème est que une fois démarré sur la live usb je ne vois pas les partitions du disque dur interne.
voici quelques éléments qui peuvent vous aider
boot-repair-4ppa200 [20240326_1111]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system:
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info:
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 21.3
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda8: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 1 OS detected =================================
OS#1: Linux Mint 21.3 Virginia (21.3) on sda6
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Haswell-ULT Integrated Graphics Controller GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] from Intel Corporation NVIDIA Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21.3, virginia, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: X550LD.306(4.6) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
No EFI in dmseg.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000,0004,0003,0005
Boot0000* Windows Boot Manager HD(1,GPT,1f9e9f1a-a50b-4924-b566-de2fa9ac41e5,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.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.}....................
Boot0003* ubuntu HD(1,GPT,1f9e9f1a-a50b-4924-b566-de2fa9ac41e5,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0004* ubuntu HD(1,GPT,1f9e9f1a-a50b-4924-b566-de2fa9ac41e5,0x800,0x32000)/File(\EFI\Ubuntu\grubx64.efi)
Boot0005* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0xd548b2ee,0x20ac,0x2780)..BO
61b1a76e8a181112cfca51d4f97c4f1a sda2/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ng, update-grub, farbios
sda7 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda6 : isnotESP, fstab-has-bad-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda7 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda7 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 988157C8-2D47-456F-84AD-165A3B8F7A62
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 2050047 1843200 900M Windows recovery environment
sda3 2050048 2312191 262144 128M Microsoft reserved
sda4 2312192 224671743 222359552 106G Microsoft basic data
sda5 934809600 976773119 41963520 20G Windows recovery environment
sda6 224671744 322327993 97656250 46.6G Linux filesystem
sda7 322328576 927797247 605468672 288.7G Linux filesystem
sda8 927797248 934809599 7012352 3.3G Linux swap
Partition table entries are not in disk order.
Disk sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Disk identifier: 0xd548b2ee
Boot Start End Sectors Size Id Type
sdb1 * 64 5990687 5990624 2.9G 0 Empty
sdb2 8364 18475 10112 4.9M ef EFI (FAT-12/16/32)
sdb3 5992448 15728639 9736192 4.6G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:500GB:scsi:512:4096:gpt:ATA HGST HTS545050A7:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:1050MB:944MB:ntfs:Basic data partition:hidden, diag;
3:1050MB:1184MB:134MB::Microsoft reserved partition:msftres;
4:1184MB:115GB:114GB:ntfs:Basic data partition:msftdata;
6:115GB:165GB:50.0GB:ext4::;
7:165GB:475GB:310GB:ext4::;
8:475GB:479GB:3590MB:linux-swap(v1)::swap;
5:479GB:500GB:21.5GB:ntfs:Basic data partition:hidden, diag;
sdb:8053MB:scsi:512:512:unknown:Generic Flash Disk:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1
├─sda2 ntfs E0AA952FAA950368 60d0a86a-e1c8-4063-88db-cdfd8e360fdf Recovery Basic data partition
├─sda3 49b7621a-5b1c-4ca9-b036-d70f2408713e Microsoft reserved partition
├─sda4 ntfs 04C498FBC498F062 e77953eb-b03c-4945-9c46-ba19c7912e71 OS Basic data partition
├─sda5 ntfs 92D89FFBD89FDBB3 468416c1-d430-41e4-a321-7e668740ff49 Restore Basic data partition
├─sda6 ext4 bdd60d87-75d5-4107-84b8-3c0c7fc33914 a30f2c87-808d-4693-a8f6-f123e1456685
├─sda7 ext4 3042ce7c-98d4-4d6c-ae5e-0d62c6e18f09 9c53d668-e01c-4aff-b5a2-149a71b7f605
└─sda8 swap a795b7de-e43a-4845-8697-f89c6b7e13e0 126b4a01-7cd2-4b47-8121-b9228d3018df
sdb iso9660 2024-01-09-12-59-13-00 Linux Mint 21.3 Cinnamon 64-bit
├─sdb1 iso9660 2024-01-09-12-59-13-00 d548b2ee-01 Linux Mint 21.3 Cinnamon 64-bit
├─sdb2 vfat 659D-4321 d548b2ee-02
└─sdb3 ext4 ce8a7535-7565-4156-a344-188344cd81b0 d548b2ee-03 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2024-03-26.0/log] 4.2G 0% /var/log
/dev/sda2 489.9M 46% /mnt/boot-sav/sda2
/dev/sda5 9.4G 53% /mnt/boot-sav/sda5
/dev/sda6 32.4G 24% /mnt/boot-sav/sda6
/dev/sda7 228.4G 14% /mnt/boot-sav/sda7
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/disk/by-label/writable[/install-logs-2024-03-26.0/log] ext4 rw,relatime
/dev/sda2 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 ext4 rw,relatime
/dev/sda7 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Linux Mint 21.3 Cinnamon bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 5.15.0-91-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-101-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-99-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-70-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-65-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-64-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-33-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-30-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.15.0-29-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Linux Mint 21.3 Cinnamon, with Linux 4.10.0-38-generic bdd60d87-75d5-4107-84b8-3c0c7fc33914
Windows Boot Manager (on sda1) osprober-efi-B240-5A76
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=bdd60d87-75d5-4107-84b8-3c0c7fc33914 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=B240-5A76 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda7 during installation
UUID=3042ce7c-98d4-4d6c-ae5e-0d62c6e18f09 /home ext4 defaults 0 2
# swap was on /dev/sda8 during installation
UUID=a795b7de-e43a-4845-8697-f89c6b7e13e0 none swap sw 0 0
======================= sda6/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
149.336627960 = 160.348983296 boot/grub/grub.cfg 1
113.526508331 = 121.898160128 boot/vmlinuz 2
139.451232910 = 149.734621184 boot/vmlinuz-4.10.0-38-generic 1
120.533107758 = 129.421438976 boot/vmlinuz-4.15.0-101-generic 1
111.924423218 = 120.177934336 boot/vmlinuz-4.15.0-29-generic 1
140.333667755 = 150.682128384 boot/vmlinuz-4.15.0-30-generic 1
116.144710541 = 124.709433344 boot/vmlinuz-4.15.0-33-generic 1
144.038082123 = 154.659713024 boot/vmlinuz-4.15.0-64-generic 1
111.670703888 = 119.905505280 boot/vmlinuz-4.15.0-65-generic 1
116.657966614 = 125.260537856 boot/vmlinuz-4.15.0-70-generic 1
119.764472961 = 128.596123648 boot/vmlinuz-4.15.0-99-generic 1
113.526508331 = 121.898160128 boot/vmlinuz-5.15.0-91-generic 2
114.819339752 = 123.286327296 boot/initrd.img 2
120.183845520 = 129.046421504 boot/initrd.img-4.10.0-38-generic 1
108.124019623 = 116.097282048 boot/initrd.img-4.15.0-101-generic 7
120.139419556 = 128.998719488 boot/initrd.img-4.15.0-29-generic 1
120.084732056 = 128.939999232 boot/initrd.img-4.15.0-30-generic 1
120.030040741 = 128.881274880 boot/initrd.img-4.15.0-33-generic 3
120.014461517 = 128.864546816 boot/initrd.img-4.15.0-64-generic 4
119.944332123 = 128.789245952 boot/initrd.img-4.15.0-65-generic 5
119.920726776 = 128.763899904 boot/initrd.img-4.15.0-70-generic 3
120.733238220 = 129.636327424 boot/initrd.img-4.15.0-99-generic 2
114.819339752 = 123.286327296 boot/initrd.img-5.15.0-91-generic 2
108.124019623 = 116.097282048 boot/initrd.img.old 7
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 17 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 18 2022 40_custom
-rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom
=========================== sda6/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 2c 48 00 00 00 00 00 00 ee b2 48 d5 00 00 80 02 |,H........H.....|
000001c0 01 00 00 b6 e0 fe 40 00 00 00 e0 68 5b 00 00 fe |......@....h[...|
000001d0 ff ff ef fe ff ff ac 20 00 00 80 27 00 00 00 03 |....... ...'....|
000001e0 4f 75 83 0f fc d3 00 70 5b 00 00 90 94 00 00 00 |Ou.....p[.......|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
mount -t ntfs-3g -o remove_hiberfile /dev/sda4 /mnt/boot-sav/sda4
mount -t ntfs-3g -o remove_hiberfile /dev/sda4 /mnt/boot-sav/sda4
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda6 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Blockers in case of suggested repair: __________________________________________
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Confirmation request before suggested repair: __________________________________
The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
mes partitions via Gparted
.
Dernière modification par fonfonsd (Le 27/03/2024, à 09:38)
Hors ligne
#2 Le 27/03/2024, à 09:40
- geole
Re : récupérer home à partir d'un live usb
Bonjour
Lire la documentation
sudo mkdir /media/a_sauvegarder
sudo mount /dev/sda7 /media/a_sauvegarder
et donner l état du disque car il des problèmes embêtants Chapitre trois
Failed to read NTFS $Bitmap: Input/output error
Failed to read NTFS $Bitmap: Input/output error
J ai noté
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda7 228.4G 14% /mnt/boot-sav/sda7
Dernière modification par geole (Le 27/03/2024, à 09:48)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 27/03/2024, à 11:50
- fonfonsd
Re : récupérer home à partir d'un live usb
bonjour
merci geole pour ton aide, je vais essayer de comprendre pour ne pas trop poser de questions unutiles.
Le problème que j'ai notamment pour faire la sauvergarde via nautilus et que celui-ci ne voit pas mon disque dur interne, il ne voit que le live usb, quand je rajoute un disque sur externe de sauvegarde celui-ci n'apparait pas non plus bizarre.
quand je vais la commande Fdisk j'obtiens
sudo fdisk -l
Disk /dev/loop0: 2.38 GiB, 2550788096 bytes, 4982008 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: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HTS545050A7
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: 988157C8-2D47-456F-84AD-165A3B8F7A62
Device Start End Sectors Size Type
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 2050047 1843200 900M Windows recovery environment
/dev/sda3 2050048 2312191 262144 128M Microsoft reserved
/dev/sda4 2312192 224671743 222359552 106G Microsoft basic data
/dev/sda5 934809600 976773119 41963520 20G Windows recovery environment
/dev/sda6 224671744 322327993 97656250 46.6G Linux filesystem
/dev/sda7 322328576 927797247 605468672 288.7G Linux filesystem
/dev/sda8 927797248 934809599 7012352 3.3G Linux swap
Partition table entries are not in disk order.
Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Disk model: Flash Disk
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: 0xd548b2ee
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 5990687 5990624 2.9G 0 Empty
/dev/sdb2 8364 18475 10112 4.9M ef EFI (FAT-12/16/32)
/dev/sdb3 5992448 15728639 9736192 4.6G 83 Linux
Disk /dev/sdc: 465.76 GiB, 500106780160 bytes, 976771055 sectors
Disk model: HDP725050GLA380
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: dos
Disk identifier: 0xe3c8fcc4
Device Boot Start End Sectors Size Id Type
/dev/sdc1 7817216 545042431 537225216 256.2G b W95 FAT32
/dev/sdc2 545042432 976771055 431728624 205.9G 7 HPFS/NTFS/exFAT
et pour ta deuxième question j'ai
smartctl: command not found
Hors ligne
#4 Le 27/03/2024, à 12:39
- geole
Re : récupérer home à partir d'un live usb
Je ne peux que te guider en ligne de commande..
1) L état du disque .
a) Installation du logiciel
sudo apt-get install --no-install-recommends smartmontools
b) Commande à publier avec son retour
sudo smartctl -s on -a /dev/sda
2) Pour la sauvegarde en ligne de commande
a) Créer les points de montage
sudo mkdir -v /media/a_sauvegarder
sudo mkdir -v /media/Reception
b) Monter les deux partitions
sudo mount -v /dev/sda7 /media/a_sauvegarder
sudo mount -v /dev/sdc2 /media/Reception
c) Lancer la copie
sudo rsync -av --progress /media/a_sauvegarder/* /media/Reception
Dernière modification par geole (Le 27/03/2024, à 12:42)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#5 Le 27/03/2024, à 13:18
- fonfonsd
Re : récupérer home à partir d'un live usb
bonjour
voici quelques réponses
$ sudo smartctl -s on -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-91-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Travelstar Z5K500
Device Model: HGST HTS545050A7E680
Serial Number: TEA55C4N1D32PR
LU WWN Device Id: 5 000cca 7add3978b
Firmware Version: GG2OAF10
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Mar 27 12:15:55 2024 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 45) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 123) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 081 081 062 Pre-fail Always - 12452325
2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0007 247 247 033 Pre-fail Always - 0
4 Start_Stop_Count 0x0012 072 072 000 Old_age Always - 45403
5 Reallocated_Sector_Ct 0x0033 060 060 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 088 088 000 Old_age Always - 5593
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 093 093 000 Old_age Always - 12253
191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 098 098 000 Old_age Always - 410
193 Load_Cycle_Count 0x0012 085 085 000 Old_age Always - 152910
194 Temperature_Celsius 0x0002 193 193 000 Old_age Always - 31 (Min/Max 11/45)
196 Reallocated_Event_Count 0x0032 093 093 000 Old_age Always - 357
197 Current_Pending_Sector 0x0022 001 001 000 Old_age Always - 6592
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0
223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 18200 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 18200 occurred at disk power-on lifetime: 5593 hours (233 days + 1 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 06 38 28 00 Error: UNC at LBA = 0x00283806 = 2635782
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 02 a8 02 38 28 40 00 02:02:35.144 READ FPDMA QUEUED
60 02 a0 04 38 28 40 00 02:02:35.144 READ FPDMA QUEUED
60 02 98 06 38 28 40 00 02:02:35.144 READ FPDMA QUEUED
47 00 01 00 00 00 a0 00 02:02:35.144 READ LOG DMA EXT
ef 10 02 00 00 00 a0 00 02:02:35.144 SET FEATURES [Enable SATA feature]
Error 18199 occurred at disk power-on lifetime: 5593 hours (233 days + 1 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 00 38 28 00 Error: UNC at LBA = 0x00283800 = 2635776
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 02 60 06 38 28 40 00 02:02:31.560 READ FPDMA QUEUED
60 02 38 04 38 28 40 00 02:02:31.560 READ FPDMA QUEUED
60 02 28 02 38 28 40 00 02:02:31.560 READ FPDMA QUEUED
60 02 f8 00 38 28 40 00 02:02:31.560 READ FPDMA QUEUED
47 00 01 00 00 00 a0 00 02:02:31.560 READ LOG DMA EXT
Error 18198 occurred at disk power-on lifetime: 5593 hours (233 days + 1 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 00 38 28 00 Error: UNC at LBA = 0x00283800 = 2635776
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 c0 00 38 28 40 00 02:02:28.008 READ FPDMA QUEUED
47 00 01 00 00 00 a0 00 02:02:28.007 READ LOG DMA EXT
ef 10 02 00 00 00 a0 00 02:02:28.007 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 00 02:02:28.006 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 00 02:02:28.004 IDENTIFY DEVICE
Error 18197 occurred at disk power-on lifetime: 5593 hours (233 days + 1 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 00 38 28 00 Error: UNC at LBA = 0x00283800 = 2635776
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 b0 00 38 28 40 00 02:02:24.431 READ FPDMA QUEUED
60 08 a0 08 59 64 40 00 02:02:24.424 READ FPDMA QUEUED
60 40 98 20 38 64 40 00 02:02:24.424 READ FPDMA QUEUED
60 20 90 00 38 64 40 00 02:02:24.402 READ FPDMA QUEUED
ea 00 00 00 00 00 a0 00 02:02:24.402 FLUSH CACHE EXT
Error 18196 occurred at disk power-on lifetime: 5593 hours (233 days + 1 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 06 38 28 00 Error: UNC at LBA = 0x00283806 = 2635782
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 02 d8 06 38 28 40 00 02:02:20.837 READ FPDMA QUEUED
47 00 01 00 00 00 a0 00 02:02:20.837 READ LOG DMA EXT
ef 10 02 00 00 00 a0 00 02:02:20.837 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 00 02:02:20.837 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 00 02:02:20.835 IDENTIFY DEVICE
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Hors ligne
#6 Le 27/03/2024, à 13:34
- geole
Re : récupérer home à partir d'un live usb
$ sudo smartctl -s on -a /dev/sda === START OF INFORMATION SECTION === Model Family: Hitachi/HGST Travelstar Z5K500 Device Model: HGST HTS545050A7E680 Firmware Version: GG2OAF10 User Capacity: 500,107,862,016 bytes [500 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 060 060 005 Pre-fail Always - 0 9 Power_On_Hours 0x0012 088 088 000 Old_age Always - 5593 196 Reallocated_Event_Count 0x0032 093 093 000 Old_age Always - 357 197 Current_Pending_Sector 0x0022 001 001 000 Old_age Always - 6592 SMART Error Log Version: 1 Error 18200 occurred at disk power-on lifetime: 5593 hours Error: UNC at LBA = 2635782 Error 18199 occurred at disk power-on lifetime: 5593 hours Error: UNC at LBA = 2635776 Error 18198 occurred at disk power-on lifetime: 5593 hours Error: UNC at LBA = 2635776 Error 18197 occurred at disk power-on lifetime: 5593 hours Error: UNC at LBA = 2635776 Error 18196 occurred at disk power-on lifetime: 5593 hours Error: UNC at LBA = 2635782
Le disque est à remplacer.
Dernière modification par geole (Le 27/03/2024, à 13:36)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#7 Le 27/03/2024, à 18:53
- xubu1957
Re : récupérer home à partir d'un live usb
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
Pages : 1