Difference between revisions of "grub2 notes"

From thelinuxwiki
Jump to: navigation, search
(Created page with "system was booting in bios compat mode, with GPT disk and grub2 with luks encrypted root and LVM '''Error message:''' on boot, system was complaining about invalid root / blo...")
 

Latest revision as of 18:26, 18 November 2015

system was booting in bios compat mode, with GPT disk and grub2 with luks encrypted root and LVM

Error message: on boot, system was complaining about invalid root / block device

Solution: edit /etc/default/grub file and added my required parameters to

GRUB_CMDLINE_LINUX=

example:

GRUB_CMDLINE_LINUX="root=/dev/ram0 crypt_root=/dev/vg1/root"

AND

the line below was uncommented

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_LINUX_UUID=true            <<< uncommented