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 [2022/03/12 19:12]
tkilla [Bugs]
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+
  
  
Line 147: Line 146:
  
 Fix:  Fix: 
-if its a crypted device, set +- set 
   GRUB_ENABLE_CRYPTODISK=y   GRUB_ENABLE_CRYPTODISK=y
  
Line 156: Line 155:
   btrfs    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.1647108741.txt.gz · Last modified: 2022/03/12 19:12 by tkilla