linux:grub
This is an old revision of the document!
grub shell
set pager=1 ls -> (hd0,gpt1) (hd0,gpt2) ... ls (hd0,gpt1)/ set root=(hd0,gpt1) linux /boot/vmlinuz root=/dev/sda1 initrd /boot/initrd.img boot
os-prober edit
vi /etc/default/grub ... GRUB_DISABLE_OS_PROBER=false
vi /etc/grub.d/30_os-prober ... for LINUX in ${LINUXPROBED} ; do LROOT="`echo ${LINUX} | cut -d ':' -f 1`" LBOOT="`echo ${LINUX} | cut -d ':' -f 2`" LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`" LKERNEL="`echo ${LINUX} | cut -d ':' -f 4`" LINITRD="`echo ${LINUX} | cut -d ':' -f 5 | tr '^' ' '`" LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '` consoleblank=180" ...
linux/grub.1676571912.txt.gz · Last modified: 2023/02/16 19:25 by ms