[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nouvelle install de debian 13 ne boot pas



Bonjour,

Merci pour ta réponse !


Le 2025-05-13 08:20, Michel Verdier a écrit :
Le 12 mai 2025 benoitlst a écrit :

# j'ai essayé de deux façons, comme ci-dessous et en écrivement directement la
 passphrase
# en clair dans un fichier vide /etc/keys/.passphrase, sans succès.

Il faut faire attention de ne pas mettre un RC dans le fichier quand on
le fait à la main.

Fait, ce n'est pas visible avec nano, mais avec vi, on voit bien un ~


nano /etc/crypttab

# j’ai remplacé none par /etc/keys/.passphrase
nvme0n1p8_crypt UUID=efaa6aee-7a53-4dae-88c6-b241fdbebf8f
/etc/keys/.passphrase luks,discard,x-initrd.attach

Je ne connais pas cette option x-initrd.attach, peut-être à enlever.
Tu n'as pas besoin de rebooter pour vérifier ça. Il te suffit de faire :

Donc sans l'option x-initrd.attach

nvme0n1p3_crypt UUID=a4b24127-f7d6-409f-b6b6-05b6106c9f64 none luks,discard nvme0n1p4_crypt UUID=ebe69b57-db3e-44f5-9d6d-7710d06f5b7d none luks,swap,discard nvme0n1p8_crypt UUID=efaa6aee-7a53-4dae-88c6-b241fdbebf8f /etc/keys/.passphrase luks,discard


mount /home


mount: /home: échec de fsconfig() :/dev/mapper/nvme0n1p8_crypt: Can't lookup blockdev. dmesg(1) peut avoir plus d'informations après un échec de l'appel système du montage.


Quels sont les problèmes que tu as avec tes modifications ? Peux-tu
redonner :
ls -al /dev/mapper/

total 0
drwxr-xr-x  2 root root     100 13 mai  2025 .
drwxr-xr-x 20 root root    3340 13 mai 08:44 ..
crw-------  1 root root 10, 236 13 mai 08:36 control
lrwxrwxrwx  1 root root       7 13 mai  2025 nvme0n1p3_crypt -> ../dm-0
lrwxrwxrwx  1 root root       7 13 mai  2025 nvme0n1p4_crypt -> ../dm-1


blkid

/dev/mapper/nvme0n1p4_crypt: UUID="fc9d96d5-d2b9-43c4-8a41-5880641d6b25" TYPE="swap" /dev/nvme0n1p7: BLOCK_SIZE="512" UUID="0E7B76305632D8B7" TYPE="ntfs" PARTUUID="e8d7ee01-cc86-4d3c-a272-0c3d88d94fdb" /dev/nvme0n1p3: UUID="a4b24127-f7d6-409f-b6b6-05b6106c9f64" TYPE="crypto_LUKS" PARTLABEL="ROOT" PARTUUID="ad2f0d6f-9e99-41c5-818a-6fa3058df346" /dev/nvme0n1p1: UUID="4275-360A" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="UEFI" PARTUUID="35fbd799-b1ae-4e49-b4dd-713b927f63f7" /dev/nvme0n1p8: UUID="efaa6aee-7a53-4dae-88c6-b241fdbebf8f" TYPE="crypto_LUKS" PARTLABEL="HOME" PARTUUID="1e357ace-24be-43f1-b9e4-35110cb47568" /dev/nvme0n1p6: BLOCK_SIZE="512" UUID="21232C7061DF91CA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7a2c4d54-302d-4843-bd6e-2bb874058633" /dev/nvme0n1p4: UUID="ebe69b57-db3e-44f5-9d6d-7710d06f5b7d" TYPE="crypto_LUKS" PARTLABEL="SWAP" PARTUUID="751701fd-0ea5-49ee-9959-56ad3621d7b4" /dev/nvme0n1p2: LABEL="BOOT" UUID="30b627ce-8179-4904-8af8-281230ede5d9" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="BOOT" PARTUUID="f28436cb-3969-47df-839c-c3b700d1aa53" /dev/mapper/nvme0n1p3_crypt: LABEL="ROOT" UUID="fb4c28ad-a9f3-482e-a822-666e94c21e74" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda1: UUID="7F8F-D550" BLOCK_SIZE="512" TYPE="exfat"
/dev/nvme0n1p5: PARTLABEL="Microsoft reserved partition" PARTUUID="7e160310-17c0-4660-9747-3c665c86514f"




Reply to: