New menu entry in GRUB2, "file not found" and "you need to load the kernel first" errors

view story

http://unix.stackexchange.com – I wanted to add new menu entry to my GRUB2 list. This is how I tried to do this and necessary info: Erros after choosing "Debian Wheezy" menu entry from GRUB2 list: error:file not found error:you need to load the kernel first /etc/grub.d/12_debian #!/bin/sh -e cat << EOF menuentry "Debian Wheezy" { set root=(hd0,5) linux /boot/vmlinuz-3.2.0-3-amd64 initrd /boot/initrd.img-3.2.0-3-amd64 } EOF ls /boot config-3.2.0-3-amd64 initrd.img-3.2.0-3-amd64 vmlinuz-3.2.0-3-amd64 grub System.map-3.2.0-3-amd64 Partitioning sda1 - ntfs - Windows boot sda2 - ntfs - Windows (HowTos)