Every time I boot linux I get this
I'm not a Linux expert but I guess I have a issue with
1. /etc/defult/grub
here is it:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cryptdevice=/dev/vda2:cryptdisc root=/dev/mapper/cryptdisc"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
#GRUB_TIMEOUT=0
#GRUB_DISTRIBUTOR=
#GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID="
#GRUB_CMDLINE_LINUX="cryptdevice=UUID=b1e94589-1dd5-43c3-8f49-03ef088b225c:cryptroot root=/dev/mapper/cryptroot"
GRUB_ENABLE_CRYPTODISK=y
GRUB_DISABLE_OS_PROBER=false
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
---------------------------------------------------------------------------------------------------------
2. My initramfs or vmlinuz file
I have updated both no problem so I don't know.
---------------------------------------------------------------------------------------------------------
3.my fstab or crypttab
fstab:
# /dev/mapper/root_crypted / ext4 defaults,relatime 0 1
#UUID=b1e94589-1dd5-43c3-8f49-03ef088b225c / ext4 defaults,relatime 0 1
#/dev/vda1 /boot ext4 defaults,relatime 0 1
#UUID=f0d57e5c-8c00-4e91-9a3e-4971907e24f4 /boot ext4 defaults,relatime 0 1
/dev/mapper/luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a / ext4 defaults 0 1
#/dev/vda1 /boot ext4 defaults,relatime 0 1
UUID=f0d57e5c-8c00-4e91-9a3e-4971907e24f4 /boot ext4 defaults 0
crypttab:
# /etc/crypttab: mappings for encrypted partitions.
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# See crypttab(5) for the supported syntax.
#
# NOTE: You need not list your root (/) partition here, but it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies
# to encrypted swap, which should be set up with mkinitcpio-openswap
# for resume support.
#
# <name> <device> <password> <options>
#root_crypted was /dev/vda2
#root_crypted UUID=d1e3de22-69aa-4e39-b8c4-370f3b0ac87a none luks,discard
luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a UUID=d1e3de22-69aa-4e39-b8c4-370f3b0ac87a none luks
---------------------------------------------------------------------------------------------------------
or 4. My disks
vda
├─vda1 f0d57e5c-8c00-4e91-9a3e-4971907e24f4
└─vda2 d1e3de22-69aa-4e39-b8c4-370f3b0ac87a
└─luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a b1e94589-1dd5-43c3-8f49-03ef088b225c
If it helps I am on bios boot on a qemu vm for mint booth desktop and vm. I have my root partition encrypted with luks
I'm not a Linux expert but I guess I have a issue with
1. /etc/defult/grub
here is it:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=
lsb_release -i -s 2> /dev/null || echo Debian
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cryptdevice=/dev/vda2:cryptdisc root=/dev/mapper/cryptdisc"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
#GRUB_TIMEOUT=0
#GRUB_DISTRIBUTOR=
( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu
#GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID="
#GRUB_CMDLINE_LINUX="cryptdevice=UUID=b1e94589-1dd5-43c3-8f49-03ef088b225c:cryptroot root=/dev/mapper/cryptroot"
GRUB_ENABLE_CRYPTODISK=y
GRUB_DISABLE_OS_PROBER=false
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
---------------------------------------------------------------------------------------------------------
2. My initramfs or vmlinuz file
I have updated both no problem so I don't know.
---------------------------------------------------------------------------------------------------------
3.my fstab or crypttab
fstab:
# /dev/mapper/root_crypted / ext4 defaults,relatime 0 1
#UUID=b1e94589-1dd5-43c3-8f49-03ef088b225c / ext4 defaults,relatime 0 1
#/dev/vda1 /boot ext4 defaults,relatime 0 1
#UUID=f0d57e5c-8c00-4e91-9a3e-4971907e24f4 /boot ext4 defaults,relatime 0 1
/dev/mapper/luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a / ext4 defaults 0 1
#/dev/vda1 /boot ext4 defaults,relatime 0 1
UUID=f0d57e5c-8c00-4e91-9a3e-4971907e24f4 /boot ext4 defaults 0
crypttab:
# /etc/crypttab: mappings for encrypted partitions.
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# See crypttab(5) for the supported syntax.
#
# NOTE: You need not list your root (/) partition here, but it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies
# to encrypted swap, which should be set up with mkinitcpio-openswap
# for resume support.
#
# <name> <device> <password> <options>
#root_crypted was /dev/vda2
#root_crypted UUID=d1e3de22-69aa-4e39-b8c4-370f3b0ac87a none luks,discard
luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a UUID=d1e3de22-69aa-4e39-b8c4-370f3b0ac87a none luks
---------------------------------------------------------------------------------------------------------
or 4. My disks
vda
├─vda1 f0d57e5c-8c00-4e91-9a3e-4971907e24f4
└─vda2 d1e3de22-69aa-4e39-b8c4-370f3b0ac87a
└─luks-d1e3de22-69aa-4e39-b8c4-370f3b0ac87a b1e94589-1dd5-43c3-8f49-03ef088b225c
If it helps I am on bios boot on a qemu vm for mint booth desktop and vm. I have my root partition encrypted with luks