I installed kali 1.0.9a-amd64 a month ago on dual boot with windows 7,I created 4 partitions from it, one swap
one /home
one /boot
and one /
yesterday
I wanted to free another partition from windows for Ubuntu server so freed 10GB with wizard, downloaded from internet(same I used for kali, went well) went fine, today morning when I started my computer I had grub rescue mod. I couldn't solve it.
I tried almost everything. I can't even open BIOS. It doesn't work. I tried everything on forums: Found the Linux partition, then tried the set root set prefix method, then insmod normal then normal, on forums on that point it should boot normally and let me be able to fix the grub by reinstalling it. Instead I get the grub normal mode. Now I tried further solutions with that insmod loopback, Linux, iso9660, and fat(since the ISO was on USB) still after that I don't find the casper
file nor the vmlinuz
.
I find the vmlinuz
just like that as "vmlinuz" no .efi at (hd0,msdos8)/ and I find initrd.img
with it at that folder BTW, my prefix isn't /boot/grub its /usr/lib/grub
(on forums it says /usr/lib/grub/i386-pc
, but if I do that normal mode doesn't start it. Says normal.mod not found,it works with /usr/lib/grub/
though) any solutions please ? I am dying here
UPDATE :
After the set root set prefix insmod i went as usual to the normal grub screen,and i tried inintrd initrd.img and it booted into the usb drive,however all the choices(live,install,failsafe....) went too the same screen,black screen with nothing,untill hit ESC then it takes me to another black screen,saying boot: so i entered many choices,none worked,the oly one that seemed like good was /boot/efi.img but still it said failed to load kernel(pressing enter takes me back to the choice screen,the kali boot screen),so i burned ubuntu on the usb stick and now i can boot into it from the usb,i can access internet and stuff,what should i do now to fix it? + I can access BIOS now