User Tools

Site Tools


linux:filesystems:boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:filesystems:boot [2021/03/30 01:07]
tkilla
linux:filesystems:boot [2022/11/06 21:39] (current)
tkilla
Line 137: Line 137:
   mkdir /debian/run/udev   mkdir /debian/run/udev
   mount --bind /run/udev /debian/run/udev   mount --bind /run/udev /debian/run/udev
 +  mount --bind /run/udev /mnt/run/udev
  
  
 +===== Crypto Bugs =====
  
  
-mount --bind /run/udev /mnt/run/udev+Grub complains root device couldn't be found  
 + 
 +Fix:  
 +set  
 +  GRUB_ENABLE_CRYPTODISK=y 
 + 
 +  apt install cryptsetup-initramfs lvm2 
 +   
 + 
 +- if it is a brtfs, set in /etc/initramfs/modules 
 +  btrfs  
 + 
 + 
 +Commands to execute in chroot to reinstall grub: 
 + 
 +  update-initramfs -c -k all 
 +  grub-install /dev/sdX 
 +  update-grub 
 + 
 + 
 +If update-grub echos: "cannot find device for / in fstab" and you have a btrfs rootsys: 
 + 
 +  mount -o "subvol=@" /dev/mapper/vgubuntu-root  
 + 
 +is required to mount the @ subvol! 
linux/filesystems/boot.1617059261.txt.gz · Last modified: 2021/03/30 01:07 by tkilla