Hi, im not a complete newbie but am having a bit of trouble with GRUB2.
I am trying to boot a Kali Linux live usb to test the security of my pc but my computer's bios does not boot from usb very well, so i am going to use grub to do this instead.
I have read both of the dedoimedo tutorials and feel fairly confident with grub now, but trying to get it to all come together isn't quite happening.
The kali linux listing isn't in the grub menu at all
I have made a file in the /etc/grub.d/ directory named 09_kalios and made it executable with chmod, the contents of said file is below:
Code:
#!/bin/sh -e
echo "boot option added"
cat << EOF
menuentry "Kali OS" {
set root=(hd1,1)
linux /live/vmlinuz
initrd /live/initrd.img
}
EOF
just to check i have the naming convention right, under disks, the partition is listed as sbd1.
I have tried to change the boot parameters to "chainload (hd1,1)+1", but to no avail, I have also made sure to update-grub.
I have managed to run the usb in a vm successfully too so that is definitely working, i have a screenshot of the disks page here:
>>
screenshot <<
Any help would be appreciated, as im struggling to see what is wrong and a fresh pair of eyes is useful, thanks!