Wednesday, January 2, 2008

92. Grub Error 15: File not found

This error occurs when something is messed up with the grub files.

Googling I found something like this:

http://forum.notebookreview.com/archive/index.php/t-162896.html

1. I press 'c' for command line in grub
2. Then I tried to find the menu.lst file. I used the command in the grub shell:
find /boot/grub/menu.lst

You can use 'TAB' to display directories.

I got the output
(hd0,6)

I remember that number.

3. Then I exited the grub with the reboot command
4. Then I press 'e' to edit the boot sequence.
My first line was:
root (hd0,7)

I changed this line to (hd0,6) with the 'e' key.

5. And now grub Ubuntu 7.10 rebooted.

6. Now I want to make this change permanent. Then after successful rebooting first I made a copy of the menu.lst file and then changed the

root (hd0,7) to root (hd0,6)

in each booting configuration.

7. I rebooted it and ... it works!