I removed my ubuntu 12.10 entry while editing menu.lst
file.
can anyone give me a sample file containing the ubuntu 12.10 entry in menu.lst
file.
It should be something like this:
title Ubuntu 12.10
kernel
initrd
my ubuntu installation is on sda6
.
can anyone help me on this?
Assuming that you're using Grub2 per my comment above and have not installed a non-default bootloader, here is an example menu entry from
/boot/grub/grub.cfg
:As you can see, the root drives are set via uuid, so cutting and pasting a solution will not work for you.
However you can try the Boot-Repair utility, or follow these instructions.
If you have installed an older version of grub this blog post gives some examples you may find useful.