Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #244804
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Debian 11 couldn't determine device type, assuming default (plain) |
| Date | 2022-01-30 07:50 +0100 |
| Message-ID | <DLcca-3De-7@gated-at.bofh.it> (permalink) |
| References | <DLbJ7-3tu-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 1/29/22 22:15, David Christensen wrote: > debian-user: > > I have: > > 2022-01-29 22:09:45 dpchrist@laalaa ~ > $ cat /etc/debian_version ; uname -a > 11.2 > Linux laalaa 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 > GNU/Linux > > > It has encrypted swap (and root), created by the Debian installer. > > 2022-01-29 22:14:17 dpchrist@laalaa ~ > $ grep sdb2 /etc/crypttab > sdb2_crypt /dev/disk/by-partuuid/544032f5-02 /dev/urandom > cipher=aes-xts-plain64,size=256,swap,discard > > > When I boot and enter the root passphrase, I see the following warning > anywhere from two to a dozen or more times: > > cryptsetup: WARNING: sdb2_crypt: couldn't determine device type, > assuming default (plain) > > > What is causing the warning? > > > How do I fix whatever is causing problem(s), so that no warning is > displayed? > > > David This appears to be the result of the Debian installer assuming that everyone uses suspend/ resume and the suspend image is stored in the swap partition. One work-around is to edit /etc/default/grub to disable resume: GRUB_CMDLINE_LINUX="noresume" It also appears that the GRUB settings are stored in two or more places -- text configuration files and binary files -- and the binary files must be rebuilt whenever the setting change: # update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-5.10.0-11-amd64 Found initrd image: /boot/initrd.img-5.10.0-11-amd64 Found linux image: /boot/vmlinuz-5.10.0-10-amd64 Found initrd image: /boot/initrd.img-5.10.0-10-amd64 done David
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Debian 11 couldn't determine device type, assuming default (plain) David Christensen <dpchrist@holgerdanske.com> - 2022-01-30 07:20 +0100
Re: Debian 11 couldn't determine device type, assuming default (plain) David Christensen <dpchrist@holgerdanske.com> - 2022-01-30 07:50 +0100
Re: Debian 11 couldn't determine device type, assuming default (plain) David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 17:50 +0100
csiph-web