linux:grub
Table of Contents
grub shell
Grub Menue aufrufen
set prefix=(hd0,1)/boot/grub set root=(hd0,2) insmod linux insmod normal normal
Linux starten
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.txt · Last modified: 2024/04/26 09:21 by ms