I almost know nothing about coding in Ubuntu. I am currently dual booting ubuntu 16.04 LTS and Windows 10. Everything was fine . But today an error occured saying
"can't find filesystem"
and then grub
rescue begins . After searching for some time I have found out solution that tells to do these:
ls
set prefix=(hd0,msdos5)/boot/grub
insmod normal
normal
I know that ls
is listing harddrive partitions(let me know if I am wrong) .Then(in set prefix
) I need to select a partition . There came a error when I selected msdos5. After some try I selected msdos6. Then it ran . But the problem is that from another solution to this problem I wrote this code:
set boot=(hd0,msdos6)
I think I messed up . Probably , it involves which partition of the harddisks is going to boot .Now, my laptop is running after writing this code and every time I turn on the laptop the boot stuck at the beginning showing the same error & I need to write the code every time I need to run the laptop . How can I solve this issue? I probably also need to know the partition which is booting (msdos*) & I don't know how to find that.
I got a solution for this type of problem if
grub rescue>
prompt occurs in booting time and you have to write a code like:After boot Linux/Ubuntu based OS will load then open a terminal and write the command:
then type this command:
after these operation now finally reboot your system.