1
I'm having an issue and I hope someone can help me,
I installed ubuntu 12.10 on my computer (along side windows 7) from a live cd, but when I rebooted my computer after a succefull installation, I get grub prompt, when I type boot in it, it prints "Error 8: Kernel must be loaded before booting".
So I searched and I found this link : Loading Ubuntu From Grub, but when I type linux /vmlinuz root=/dev/sda5
I get this message "Warning! No such command: linux"
Does anybody have any idea about what I should do ?
Note that I reinstalled ubuntu but still get the same issue, and that this is not my first time installing ubuntu (I installed a lot of versions a dozen of times before and this is the first time I face this issue).
Edit :
When I type : kernel /vmlinuz root=/dev/sda5
instead of : linux /vmlinuz root=/dev/sda5
I get Error 15: File not found (I also tried sda4 since find /vmlinuz
is printing hd(0,4)
)
Do you have any access to a shell? If so, try to locate the grub using this simple command -> <whereis grub> The command should return something like this -> grub: /usr/sbin/grub /etc/grub.conf /usr/lib/grub /usr/share/man/man8/grub.8.gz Then try to read your grub.conf file, perhaps you can solve the problem with this file.. If possible post your grub.conf file here.. – deepcell – 2012-10-30T11:58:35.363
Thank you for your response. I used the live cd to access a terminal and mounted the /dev/sda5 where my installation is, the command gave me this output :
grub : /etc/grub.d /usr/lib/grub /usr/share/grub
(I think these are the grub files for the live cd no ?), I executed I searched for grub.conf using find but I could not find it. – None – 2012-10-30T12:17:18.317Try to use the information in this address -> https://wiki.archlinux.org/index.php/GRUB2#Manually_creating_grub.cfg
– deepcell – 2012-10-30T17:46:11.757