PDA

View Full Version : [ubuntu] rescue grub



mirinamulhaq
June 22nd, 2010, 08:06 PM
hi i had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was
loading grub,
the file does not exist
rescue grub>
so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data

darkod
June 22nd, 2010, 08:10 PM
If you restored to factory settings it probably destroyed your ubuntu partition. You didn't have ubuntu from factory, right?

Boot with the ubuntu cd in live mode, and to check the partitions in terminal run:

sudo fdisk -l (small L)