I had dual booted my system with Windows 10 and Linux-Ubuntu-16.04.
I recently was modifying some configuration files in Linux-Kernel 4.17 which did not work so I had to delete that and restore to my normal 4.13 version. But in the verge of deleting I might have deleted both the kernels and now when I boot my system I can get only windows turned on with no option to select ubuntu.
Is it that my ubuntu has completely removed and I need to reinstall it again?
If I reinstall will I loose my present data in Windows and will I be able to gain data I stored in Linux OS?
What steps needs to be followed? Please help me out! I'm a core Linux user with all the files saved in it!
Best Answer
To do this important step, you need to :
Boot on the USB, choose "Try Ubuntu" option (Live Ubuntu session)
Open a terminal, and type the following command:
Plug your storage USB, and mount it with :
NB: You can also mount your USB storage at another place than /opt, but I think it's the least restrictive
Now, you can copy all data from your sick partition to your USB storage; just don't forget to unmount and unplugged this device with
sudo umount /opt
before starting the installationYou can now launch the re-installation of Ubuntu, just select the option "Remove Ubuntu" and not "Format the whole disk", you know what I mean