you can use ls command to find the boot such as : ls (hd0,1)/boot set prefix=(hd0,2)/boot/grub set root=(hd0,2) insmod (hd0,2)/boot/grub/linux.mod linux /vmlinuz root=/dev/sda2 ro initrd /initrd.img boot