I was previously using Win7 and had two partitions on my hard disk. After learning about Ubuntu I decide to remove Windows and install Ubuntu 11.10 instead. All my important files and documents are stored in my second partition. After successful installation, during restart I get the error :

error: unknown filesystem grub rescue>

Please help me to resolve the problem, and note that I don't want dual boot my machine.

link|improve this question
feedback

1 Answer

Try One - 1] First complete uninstall the Grub. Then use the Live Ubuntu 9.10 CD to doot. Use the following command to boot the CD

$ sudo fdisk -l

after the complete boot check where the Ubuntu is installed and note down the location. Then mount it using this command-

$ sudo mount -t ext3 /dev/sda2 /mnt

Next change the Location or Directory which is of your choice.

$ /dev/sda2

Now install the Grub again

$ sudo grub-install --root-directory=/mnt/ /dev/sda

2] Restart the system and boot from Ubuntu 9.10. After the boot you will need to edit the grub. Now the computer is booting to grub. Create new command line to edit the grub. Use these commands as given below-

root (hd0,0)
kernel /vmlinux-version ro root = /dev/hdaN
initrd /initrd-version

At the end press ctrl+x to boot it properly. In the system level you will need to upgrade the GRUB. To do this use the Following command-

$ upgrade-grub

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.