0

I am having dual boot ubuntu 14.04 and Win7.

  1. I found that one of my drive in my laptop had ard 200gb with Windows for other erp applications which i was not using so i opened gparted in live usb and deleted that partition thinking i will use that free space for my ubuntu 14.04 which was running out of space. I also unswaped one ubuntu partition before gpart deletion of that.

  2. I got that 200GB as unallocated but thought will increase /home later so came out.

  3. When i rebooted my system i lost my grub. I could see hd0,msdos5 as my ext2 bootable drive but when i entered insmod normal then it said no such file.

  4. Tried several forums and used fixboot in bootrec.This created a new problem that i am now getting error No bootable devices --strike F1 to retry boot , F2 for set up etc.

  5. Through F2 i moved my HDD to top but no result.

I am having live ubuntu 14.04 to boot and would like to move ahead with that to recover grub (not grub2)/bootable device and use my ubuntu and win7 per choice.

Please suggest. shaukatkhan

SHK
  • 55

1 Answers1

0

When I got grub> prompt then I did following:

Grub> ls

Grub> set root=(hd0,msdos5)

Grub> Linux /vmlinuz root=/dev/sda5

Grub> initrd /initrd.img

Grub> boot

Then your Ubuntu is there.

I am taking backup and then if I face any issue then will install it afresh. Will keep you posted. Thanks to all.

SHK
  • 55