After I installed Linux (Lubuntu), I realize that I might have accidentally deleted Windows, below I have attached a screenshot of the output when I enter Code: sudo fdisk -l in my terminal. I am thinking to delete /dev/nvme0n1p2 and /dev/nvme0n1p4 partitions and re-install Windows again for dual-booting. Is this the right direction? Thank you!!
sudo fdisk -l
If you wish to dual boot, you'll need to shrink your Linux partition (nvme0n1p3) by the size you wish your windows partition to be. Format the space you've created as NTFS, then install Windows on that. Gparted should be able to help you with that.
I believe the user is saying that they had Windows installed, attempted to install Ubuntu (presumably as a dual boot) and wiped out Windows. If such is the case, the user may not have installation media. The question is: How to restore the Windows installation.
Please read The Forum Rules and The Forum Posting Guidelines A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once. This universe is crazy. I'm going back to my own.
So first question. Do you have your Windows installation media to boot from?
... and, do you have your backups handy?
You have recovery environment partition. Go here to read what WinRe is and what you can do with it: https://learn.microsoft.com/en-us/wi...iew=windows-11
Install Windows but leave space for Ubuntu unpartitioned and unallocated. You can then install Ubuntu to the space
Originally Posted by fung0808 After I installed Linux (Lubuntu), I realize that I might have accidentally deleted Windows, below I have attached a screenshot of the output when I enter Code: sudo fdisk -l in my terminal. I am thinking to delete /dev/nvme0n1p2 and /dev/nvme0n1p4 partitions and re-install Windows again for dual-booting. Is this the right direction? Thank you!! Your /dev/nvme0n1p2 is only 16MB you can't use that one for your MS Windows. I prefer you create another unallocated partition for your MS Windows coming from your /dev/nvme0n1p3. Once done, then install MS Windows on it. You can't just install and uninstall on your drive. You just have to plan first before going into action. You can easily choose "along side with MS Windows" If you want dual boot in your system. You should have be careful in reading instructions so that you don't accidentally delete important files in your system. In this case, you should have to create another unallocated partition then be careful which partition you should choose when installing other Operating System. Example: For placing the other operating system to other newly created partition. Once you knew that, you will never gonna erase your existing other Operating System. Regards and cheers
corn ubuntuforums community. Open Source platform where the real world of human is here. Click here for Solve thread
Originally Posted by QIII I believe the user is saying that they had Windows installed, attempted to install Ubuntu (presumably as a dual boot) and wiped out Windows. If such is the case, the user may not have installation media. The question is: How to restore the Windows installation. VMC's post on the recovery partition may be better but with Dell you can also download a recovery ISO image.
Last edited by donald187; December 21st, 2022 at 06:46 AM.
Yes. I understand that. What is being described in that post is re-installation, not recovery/restoration. While re-installation may be necessary, nobody has mentioned recovering the OP's files and data. You will note that I asked about the OP's backups, which likely do not exist. We do not have an answer to that yet. Nobody has indicated to the OP whether or not they can recover their data in the machine's present state. Nobody has said anything to indicate to the OP that re-installation will not restore data, but make it unrecoverable at this point. Any attempt at data recovery, if it will work, will need to happen before re-installing. That being the case, any discussion of how to "recover" the Windows installation will necessarily start with a discussion of the feasibility of data recovery.
View Tag Cloud
Ubuntu Forums Code of Conduct