خرید بک لینک

I had ubuntu and windows 7 installed on my system. I wanted to install windows 10 on the system so I formatted the windows 7 drive and performed a clean installation.
At this point my system had ubuntu and windows 10 on it and I could boot only into windows. So I tried to install grub on the partition with ubuntu on it, through live cd , but couldn't do so.

Whenever i tried to mount the partition with ubuntu on it via:

sudo mount /dev/sda6/mnt (sda6 has ubuntu)

the terminal said:

couldn't find the path in etc/fstab (or something like this ,can't remember exactly)

then I simply ran:

sudo grub-install /dev/sda6

After this when I rebooted the pc, I got the (which I think is) grub rescue terminal with

"grub>"
prompt. At this prompt when I ran:

ls, it said
Error 27: unrecognized command

root (hd0,6)
it again gave an error

Now since I couldn't boot into any of the OS, I installed windows again.
How can I install the grub menu again so that I can once again choose which OS to boot into it?

Thanks

- - , .

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 2 اسفند 1394 ساعت: 12:43

صفحه بندی