What you've done is a mistake. But a solution is available.
How come you delete the Ubuntu partition from Windows when you're on a dual boot?
GRUB
is the bootloader and it is contained in the partition alongside Ubuntu. GRUB helps you load your Operating System. Without the bootloader, how come you come load the Operating System now?
Solution:
There is absolutely no loss of data from Windows.
You need a bootable DVD/Pendrive containing your version of Windows. Say, you have Windows 10 Pro
on your PC, you need a boot Disk/Pendrive containing Windows 10 Pro
; If it's Windows 7 Professional
, you need a drive containing Windows 7 Professional
.
Plug it, restart your PC and enter boot mode. Select Repair Windows...
option and open Command Prompt
. In the CMD, type the below commands:
bootrec.exe /fixboot
bootrec.exe /fixmbr
This would fix everything. Years ago, I've come across the same problem.
Now, you can log in into Windows
as you did earlier. Go ahead and download Ubuntu 18.04
and dual boot your PC.
sudo lsblk -o name,mountpoint,label,size,fstype,uuid&&sudo fdisk -l
to your question? – L. D. James May 04 '18 at 01:51lsblk
is no longer possible. – WinEunuuchs2Unix May 05 '18 at 07:15lsblk
command is certainly helpful to know in all situations to get an overview of the partitions. For example what if the selected partition was too small? What if it was the wrong file system type?, etc. etc. Any question here can have many good answers depending on the User level and environment. – WinEunuuchs2Unix May 05 '18 at 16:46