I tried dual booting Windows 10 and Ubuntu 18.04 and accidentally deleted Windows
I have two disks in my laptop, one is a 1TB HDD and one is a 512GB SSD. I had Windows 10 on the HDD and wanted to install Ubuntu on the SDD. As I did that my HDD drive got formatted and is now called DATA and looks like this.
I want to install Windows back on it but I'm worried that it will end up messing up my Ubuntu installation. How do I handle this properly?
dual-boot
New contributor
add a comment |
I have two disks in my laptop, one is a 1TB HDD and one is a 512GB SSD. I had Windows 10 on the HDD and wanted to install Ubuntu on the SDD. As I did that my HDD drive got formatted and is now called DATA and looks like this.
I want to install Windows back on it but I'm worried that it will end up messing up my Ubuntu installation. How do I handle this properly?
dual-boot
New contributor
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
1
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago
add a comment |
I have two disks in my laptop, one is a 1TB HDD and one is a 512GB SSD. I had Windows 10 on the HDD and wanted to install Ubuntu on the SDD. As I did that my HDD drive got formatted and is now called DATA and looks like this.
I want to install Windows back on it but I'm worried that it will end up messing up my Ubuntu installation. How do I handle this properly?
dual-boot
New contributor
I have two disks in my laptop, one is a 1TB HDD and one is a 512GB SSD. I had Windows 10 on the HDD and wanted to install Ubuntu on the SDD. As I did that my HDD drive got formatted and is now called DATA and looks like this.
I want to install Windows back on it but I'm worried that it will end up messing up my Ubuntu installation. How do I handle this properly?
dual-boot
dual-boot
New contributor
New contributor
New contributor
asked 9 hours ago
Something SomethingSomething Something
1
1
New contributor
New contributor
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
1
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago
add a comment |
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
1
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
1
1
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
You can instead use the testdisk tool as described here, maybe you can recover your old Windows with it.
I had such a case but I deleted Ubuntu rather than windows, the tool helped me to restore all data without any problem because I didn't write data on that disk after the accident.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Something Something is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123063%2fi-tried-dual-booting-windows-10-and-ubuntu-18-04-and-accidentally-deleted-window%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can instead use the testdisk tool as described here, maybe you can recover your old Windows with it.
I had such a case but I deleted Ubuntu rather than windows, the tool helped me to restore all data without any problem because I didn't write data on that disk after the accident.
add a comment |
You can instead use the testdisk tool as described here, maybe you can recover your old Windows with it.
I had such a case but I deleted Ubuntu rather than windows, the tool helped me to restore all data without any problem because I didn't write data on that disk after the accident.
add a comment |
You can instead use the testdisk tool as described here, maybe you can recover your old Windows with it.
I had such a case but I deleted Ubuntu rather than windows, the tool helped me to restore all data without any problem because I didn't write data on that disk after the accident.
You can instead use the testdisk tool as described here, maybe you can recover your old Windows with it.
I had such a case but I deleted Ubuntu rather than windows, the tool helped me to restore all data without any problem because I didn't write data on that disk after the accident.
answered 2 hours ago
Malek AdawiMalek Adawi
264
264
add a comment |
add a comment |
Something Something is a new contributor. Be nice, and check out our Code of Conduct.
Something Something is a new contributor. Be nice, and check out our Code of Conduct.
Something Something is a new contributor. Be nice, and check out our Code of Conduct.
Something Something is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123063%2fi-tried-dual-booting-windows-10-and-ubuntu-18-04-and-accidentally-deleted-window%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How big is the partition? It may just be mounting the boot partition that sits at the beginning of your HDD (primary boot drive, i'm assuming) but leaving Windows alone. Generally you don't just accidentally format the HDD, in the sense that there are several questions/warnings you have to deliberately pass before reformatting the entire drive.
– auslander
9 hours ago
The partition takes up the entire 1TB HDD. I don't this it's just leaving Windows alone, it says the whole disk is almost empty, aside from the files you can see in the folder. If i boot Windows from the Grub it takes me straight to a safe boot and if I try troubleshooting and repairing Windows it just resets back to the beginning of the safe boot. If I were to install Windows on this disk would it in any way mess up Ubuntu?
– Something Something
9 hours ago
1
It looks like you installed the Windows installer to your drive, not to a flash drive. And that erased entire hard drive.
– oldfred
8 hours ago
Possible duplicate of How can I install Windows after I've installed Ubuntu?
– karel
2 hours ago