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
Last revision Both sides next revision
linux:filesystems:boot [2013/08/03 14:21]
tkilla
linux:filesystems:boot [2022/03/12 21:14]
tkilla
Line 123: Line 123:
  
  
 +===== Bugs =====
 +
 +Inside a chroot, grub complains 
 +  # update-grub                                                                                                                                                                                                                   
 +  Generating grub configuration file ...
 +  WARNING: Device /dev/ram0 not initialized in udev database even after waiting 10000000 microseconds.
 +  ...
 +
 +Fix:
 +
 +Outside chroot /debian/:
 +
 +  mkdir /debian/run/udev
 +  mount --bind /run/udev /debian/run/udev
 +  mount --bind /run/udev /mnt/run/udev
 +
 +
 +===== Crypto Bugs =====
 +
 +
 +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
 +  
linux/filesystems/boot.txt ยท Last modified: 2022/11/06 21:39 by tkilla