This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:filesystems:boot [2013/08/03 14:21] tkilla |
linux:filesystems:boot [2022/03/12 19:12] tkilla [Bugs] |
||
---|---|---|---|
Line 121: | Line 121: | ||
update-grub | update-grub | ||
grub-install /dev/sdX | grub-install /dev/sdX | ||
+ | |||
+ | |||
+ | ===== 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 / | ||
+ | mount --bind /run/udev / | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | mount --bind /run/udev / | ||
+ | |||
+ | |||
+ | Grub complains root device couldn' | ||
+ | |||
+ | Fix: | ||
+ | - if its a crypted device, set | ||
+ | GRUB_ENABLE_CRYPTODISK=y | ||
+ | |||
+ | apt install cryptsetup-initramfs lvm2 | ||
+ | | ||
+ | |||
+ | - if it is a brtfs, set in / | ||
+ | btrfs | ||