#301 Le 04/12/2022, à 11:48
- rv93
Re : initramfs impossible de redémarrer mon portable
ubuntu@ubuntu:~$ sudo ddrescue -f -n /dev/sdc2 /dev/sda /media/ubuntu/SeagateBasic/suiviSDC2
ddrescue: Can't create mapfile: No such file or directory
ubuntu@ubuntu:~$
Hors ligne
#302 Le 04/12/2022, à 11:50
- geole
Re : initramfs impossible de redémarrer mon portable
lsblk -fe7 -o+size
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
#303 Le 04/12/2022, à 11:51
- rv93
Re : initramfs impossible de redémarrer mon portable
ubuntu@ubuntu:~$ lsblk -fe7 -o+size
NAME FSTYPE LABEL UUID MOUNTPOINT SIZE
sda 298,1G
├─sda1
│ ext2 2aae4add-4717-4bd6-b1bc-5af726c6893b 487M
└─sda5
crypto b1c10bf2-005a-4dd7-8132-00bbbb6f5f9f 297,6G
└─dsk
LVM2_m vFHEE1-EWCI-0i2D-gBlq-x2k2-4ebd-u9gdDc 297,6G
├─ubuntu--vg-root
│ ext4 d68ddf40-ee5c-4fe0-8d77-e3b4a825beb0 /mnt 293,7G
└─ubuntu--vg-swap_1
swap be27a045-f03f-4fb2-bf66-529e2ba56bd5 4G
sdb 29G
└─sdb1
vfat UBUNTU 18_0
3415-8272 /cdrom 29G
sdc 931,5G
├─sdc1
│ ntfs SeagateBasic
│ 2CC0C9CFC0C9A006 298,1G
└─sdc2
298,1G
sr0 1024M
ubuntu@ubuntu:~$
Hors ligne
#304 Le 04/12/2022, à 11:55
- geole
Re : initramfs impossible de redémarrer mon portable
sudo mkdir -pv /media/ubuntu/SeagateBasic
sudo mount -v /dev/sdc1 /media/ubuntu/SeagateBasic
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
#305 Le 04/12/2022, à 11:57
- rv93
Re : initramfs impossible de redémarrer mon portable
ubuntu@ubuntu:~$ sudo ddrescue -f -n /dev/sdc2 /dev/sda /media/ubuntu/SeagateBasic/suiviSDC2
GNU ddrescue 1.22
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 320072 MB, tried: 0 B, bad-sector: 0 B, bad areas: 0
ipos: 320072 MB, non-trimmed: 0 B, current rate: 0 B/s
opos: 320072 MB, non-scraped: 0 B, average rate: 0 B/s
non-tried: 720896 B, bad-sector: 0 B, error rate: 0 B/s
rescued: 320072 MB, bad areas: 0, run time: 0s
pct rescued: 99.99%, read errors: 0, remaining time: n/a
time since last successful read: n/a
Copying non-tried blocks... Pass 1 (forwards)
ddrescue: Write error: No space left on device
ubuntu@ubuntu:~$
Hors ligne
#306 Le 04/12/2022, à 12:01
- geole
Re : initramfs impossible de redémarrer mon portable
Je suis idiot. Il continue......... alors que c est fini.....
Il faut repartir avec un fichier de suivi tout neuf...
sudo rm -v /media/ubuntu/SeagateBasic/suiviSDC2
sudo ddrescue -f -n /dev/sdc2 /dev/sda /media/ubuntu/SeagateBasic/suiviSDC2
Dernière modification par geole (Le 04/12/2022, à 12:02)
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
#307 Le 04/12/2022, à 12:03
- rv93
Re : initramfs impossible de redémarrer mon portable
ok, c'est bon merci, c'est parti
Hors ligne
#308 Le 04/12/2022, à 12:12
- geole
Re : initramfs impossible de redémarrer mon portable
Lorsque la copie sera finie, reboote en coupant le courant électrique. il ne faudrait pas qu'une terminaison normale vienne écrire de cochonneries sur le disque.
ubuntu@ubuntu:~$ lsblk -fe7 -o+size
NAME FSTYPE LABEL UUID MOUNTPOINT SIZE
sda 298,1G
├─ubuntu--vg-root
│ ext4 d68ddf40-ee5c-4fe0-8d77-e3b4a825beb0 /mnt 293,7G
Dernière modification par geole (Le 04/12/2022, à 12:13)
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
#309 Le 04/12/2022, à 14:50
- rv93
Re : initramfs impossible de redémarrer mon portable
c'est normal ça ?
ubuntu@ubuntu:~$ sudo ddrescue -f -n /dev/sdc2 /dev/sda /media/ubuntu/SeagateBasic/suiviSDC2
GNU ddrescue 1.22
ipos: 320072 MB, non-trimmed: 0 B, current rate: 36700 kB/s
opos: 320072 MB, non-scraped: 0 B, average rate: 36845 kB/s
non-tried: 720896 B, bad-sector: 0 B, error rate: 0 B/s
rescued: 320072 MB, bad areas: 0, run time: 2h 24m 46s
pct rescued: 99.99%, read errors: 0, remaining time: 1s
time since last successful read: n/a
Copying non-tried blocks... Pass 1 (forwards)
ddrescue: Write error: No space left on device
ubuntu@ubuntu:~$
Hors ligne
#310 Le 04/12/2022, à 15:48
- geole
Re : initramfs impossible de redémarrer mon portable
On va dire que oui car je t'avais certainement fait créé SDC2 un tout petit peu plus grand que la taille réelle du disque initial.
Dernière modification par geole (Le 04/12/2022, à 15:49)
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
#311 Le 04/12/2022, à 16:04
- rv93
Re : initramfs impossible de redémarrer mon portable
ubuntu@ubuntu:~$ sudo apt install ecryptfs-utils
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
ecryptfs-utils est déjà la version la plus récente (111-0ubuntu5).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 306 non mis à jour.
ubuntu@ubuntu:~$ sudo cryptsetup luksOpen /dev/sda5 dsk
Saisissez la phrase secrète pour /dev/sda5 :
Le périphérique dsk existe déjà.
ubuntu@ubuntu:~$ sudo mount -v /dev/mapper/ubuntu--vg-root /mnt
mount: /mnt : /dev/mapper/ubuntu--vg-root déjà monté sur /mnt.
ubuntu@ubuntu:~$ sudo find /mnt -iname '.Private' -o -iname '.ecryptfs' -o -iname 'wrapped-passphrase'
/mnt/home/.ecryptfs
/mnt/home/.ecryptfs/techno/.Private
/mnt/home/.ecryptfs/techno/.ecryptfs
/mnt/home/.ecryptfs/techno/.ecryptfs/wrapped-passphrase
/mnt/home/techno/.Private
/mnt/home/techno/.ecryptfs
find: ‘/mnt/home/techno/#16255887’: La structure a besoin d'un nettoyage
ubuntu@ubuntu:~$ sudo ecryptfs-recover-private /mnt/lost+found
INFO: Found [/mnt/lost+found].
Try to recover this directory? [Y/n]: y
INFO: Could not find your wrapped passphrase file.
INFO: To recover this directory, you MUST have your original MOUNT passphrase.
INFO: When you first setup your encrypted private directory, you were told to record
INFO: your MOUNT passphrase.
INFO: It should be 32 characters long, consisting of [0-9] and [a-f].
Enter your MOUNT passphrase:
mount: /tmp/ecryptfs.pmB0yspM : échec de l’appel système mount(2) : Aucun fichier ou dossier de ce type.
ERROR: Failed to mount private data at [/tmp/ecryptfs.pmB0yspM].
ubuntu@ubuntu:~$
Hors ligne
#312 Le 04/12/2022, à 16:14
- geole
Re : initramfs impossible de redémarrer mon portable
Je pense que tu n'as pas rebooté et je n'ai aucune idée de ce qui aurait été mémorisé dans les buffers.
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
#313 Le 04/12/2022, à 18:38
- rv93
Re : initramfs impossible de redémarrer mon portable
rien à faire, même après avoir rebooté, j'en arrive toujours au même point
ubuntu@ubuntu:~$ sudo mkdir -pv /media/ubuntu/SeagateBasic
mkdir: création du répertoire '/media/ubuntu'
mkdir: création du répertoire '/media/ubuntu/SeagateBasic'
ubuntu@ubuntu:~$ sudo mount -v /dev/sdc1 /media/ubuntu/SeagateBasic
mount: /media/ubuntu/SeagateBasic : /dev/sdc1 déjà monté sur /cdrom.
ubuntu@ubuntu:~$ mkdir -v /media/ubuntu/SeagateBasic/Recuperation
mkdir: impossible de créer le répertoire «/media/ubuntu/SeagateBasic/Recuperation»: Permission non accordée
ubuntu@ubuntu:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Ign :1 cdrom://Ubuntu 18.04.6 LTS _Bionic Beaver_ - Release amd64 (20210915) bionic InRelease
Atteint :2 cdrom://Ubuntu 18.04.6 LTS _Bionic Beaver_ - Release amd64 (20210915) bionic Release
Atteint :3 http://archive.ubuntu.com/ubuntu bionic InRelease
Réception de :4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Réception de :6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Réception de :7 http://archive.ubuntu.com/ubuntu bionic/main Translation-fr [513 kB]
Réception de :8 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-fr [2380 B]
Réception de :9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Réception de :10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2492 kB]
Réception de :11 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [431 kB]
Réception de :12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [55,3 kB]
Réception de :13 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [28,9 kB]
Réception de :14 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [65,1 kB]
Réception de :15 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1021 kB]
Réception de :16 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [141 kB]
Réception de :17 http://archive.ubuntu.com/ubuntu bionic/universe Translation-fr [2972 kB]
Réception de :18 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Réception de :19 http://archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3287 kB]
Réception de :20 http://archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2151 kB]
Réception de :21 http://archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8420 kB]
Réception de :22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2828 kB]
Réception de :23 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [519 kB]
Réception de :24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
Réception de :25 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [83,0 kB]
Réception de :26 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [154 kB]
Réception de :27 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1051 kB]
Réception de :28 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [146 kB]
40,3 Mo réceptionnés en 53s (755 ko/s)
Lecture des listes de paquets... Fait
ubuntu@ubuntu:~$ sudo apt-get update
Ign :1 cdrom://Ubuntu 18.04.6 LTS _Bionic Beaver_ - Release amd64 (20210915) bionic InRelease
Atteint :2 cdrom://Ubuntu 18.04.6 LTS _Bionic Beaver_ - Release amd64 (20210915) bionic Release
Atteint :4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atteint :5 http://archive.ubuntu.com/ubuntu bionic InRelease
Atteint :6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Lecture des listes de paquets... Fait
ubuntu@ubuntu:~$ sudo apt install ecryptfs-utils
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
keyutils libecryptfs1
Paquets suggérés :
zescrow-client
Les NOUVEAUX paquets suivants seront installés :
ecryptfs-utils keyutils libecryptfs1
0 mis à jour, 3 nouvellement installés, 0 à enlever et 306 non mis à jour.
Il est nécessaire de prendre 197 ko dans les archives.
Après cette opération, 897 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libecryptfs1 amd64 111-0ubuntu5 [42,7 kB]
Réception de :2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 keyutils amd64 1.5.9-9.2ubuntu2.1 [48,1 kB]
Réception de :3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 ecryptfs-utils amd64 111-0ubuntu5 [106 kB]
197 ko réceptionnés en 1s (259 ko/s)
Sélection du paquet libecryptfs1 précédemment désélectionné.
(Lecture de la base de données... 145710 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libecryptfs1_111-0ubuntu5_amd64.deb ...
Dépaquetage de libecryptfs1 (111-0ubuntu5) ...
Sélection du paquet keyutils précédemment désélectionné.
Préparation du dépaquetage de .../keyutils_1.5.9-9.2ubuntu2.1_amd64.deb ...
Dépaquetage de keyutils (1.5.9-9.2ubuntu2.1) ...
Sélection du paquet ecryptfs-utils précédemment désélectionné.
Préparation du dépaquetage de .../ecryptfs-utils_111-0ubuntu5_amd64.deb ...
Dépaquetage de ecryptfs-utils (111-0ubuntu5) ...
Paramétrage de keyutils (1.5.9-9.2ubuntu2.1) ...
Paramétrage de libecryptfs1 (111-0ubuntu5) ...
Paramétrage de ecryptfs-utils (111-0ubuntu5) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1.4) ...
ubuntu@ubuntu:~$ sudo cryptsetup luksOpen /dev/sda5 dsk
Saisissez la phrase secrète pour /dev/sda5 :
ubuntu@ub