Booting Windows from SSD impossible after faulty defragmentation












0















I am using a Windows 10-Ubuntu dual boot on my PC (Windows installed on SSD, Ubuntu on HDD, data partition used by both on same HDD) and a few days ago, while using Windows, the screen suddenly got black. The reason was maybe a unwanted defragmentation/optimization program that changed something on the SSD.
Since then, I was not able to boot from Windows again. When I try to start Windows out of Grub, it shows me the error



Failure writing sector 0x0 to 'hd1'



and I can only return to grub. When retrying, the error changes to



no such device: (name of device)
cannot get C/H/S values.

However, once I started up Ubuntu, I can access the drive without problems and extract all data from it, but this is not the case if I tried to start Windows in the session without rebooting the PC.
I already tried update-grub and a scan with badblocks, but none of these seemed to have an effect. I tried to repair it with a Windows installation stick but none of the options had an effect.



Does anyone have an idea what happened to the SSD and how to fix the problem?










share|improve this question

























  • SSDs don't defragmentation.

    – GabrielaGarcia
    Feb 9 at 0:33











  • This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

    – Florian Matz
    Feb 10 at 19:14
















0















I am using a Windows 10-Ubuntu dual boot on my PC (Windows installed on SSD, Ubuntu on HDD, data partition used by both on same HDD) and a few days ago, while using Windows, the screen suddenly got black. The reason was maybe a unwanted defragmentation/optimization program that changed something on the SSD.
Since then, I was not able to boot from Windows again. When I try to start Windows out of Grub, it shows me the error



Failure writing sector 0x0 to 'hd1'



and I can only return to grub. When retrying, the error changes to



no such device: (name of device)
cannot get C/H/S values.

However, once I started up Ubuntu, I can access the drive without problems and extract all data from it, but this is not the case if I tried to start Windows in the session without rebooting the PC.
I already tried update-grub and a scan with badblocks, but none of these seemed to have an effect. I tried to repair it with a Windows installation stick but none of the options had an effect.



Does anyone have an idea what happened to the SSD and how to fix the problem?










share|improve this question

























  • SSDs don't defragmentation.

    – GabrielaGarcia
    Feb 9 at 0:33











  • This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

    – Florian Matz
    Feb 10 at 19:14














0












0








0








I am using a Windows 10-Ubuntu dual boot on my PC (Windows installed on SSD, Ubuntu on HDD, data partition used by both on same HDD) and a few days ago, while using Windows, the screen suddenly got black. The reason was maybe a unwanted defragmentation/optimization program that changed something on the SSD.
Since then, I was not able to boot from Windows again. When I try to start Windows out of Grub, it shows me the error



Failure writing sector 0x0 to 'hd1'



and I can only return to grub. When retrying, the error changes to



no such device: (name of device)
cannot get C/H/S values.

However, once I started up Ubuntu, I can access the drive without problems and extract all data from it, but this is not the case if I tried to start Windows in the session without rebooting the PC.
I already tried update-grub and a scan with badblocks, but none of these seemed to have an effect. I tried to repair it with a Windows installation stick but none of the options had an effect.



Does anyone have an idea what happened to the SSD and how to fix the problem?










share|improve this question
















I am using a Windows 10-Ubuntu dual boot on my PC (Windows installed on SSD, Ubuntu on HDD, data partition used by both on same HDD) and a few days ago, while using Windows, the screen suddenly got black. The reason was maybe a unwanted defragmentation/optimization program that changed something on the SSD.
Since then, I was not able to boot from Windows again. When I try to start Windows out of Grub, it shows me the error



Failure writing sector 0x0 to 'hd1'



and I can only return to grub. When retrying, the error changes to



no such device: (name of device)
cannot get C/H/S values.

However, once I started up Ubuntu, I can access the drive without problems and extract all data from it, but this is not the case if I tried to start Windows in the session without rebooting the PC.
I already tried update-grub and a scan with badblocks, but none of these seemed to have an effect. I tried to repair it with a Windows installation stick but none of the options had an effect.



Does anyone have an idea what happened to the SSD and how to fix the problem?







windows-10 boot ssd grub






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 8 at 21:42









Dave M

12.7k92838




12.7k92838










asked Feb 8 at 21:19









Florian MatzFlorian Matz

11




11













  • SSDs don't defragmentation.

    – GabrielaGarcia
    Feb 9 at 0:33











  • This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

    – Florian Matz
    Feb 10 at 19:14



















  • SSDs don't defragmentation.

    – GabrielaGarcia
    Feb 9 at 0:33











  • This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

    – Florian Matz
    Feb 10 at 19:14

















SSDs don't defragmentation.

– GabrielaGarcia
Feb 9 at 0:33





SSDs don't defragmentation.

– GabrielaGarcia
Feb 9 at 0:33













This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

– Florian Matz
Feb 10 at 19:14





This is true, but there are programs that try to optimize it by shifting data on it around. I have heard that there is no advantage from this and normally avoid it, but this time it happened accidentally.

– Florian Matz
Feb 10 at 19:14










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403681%2fbooting-windows-from-ssd-impossible-after-faulty-defragmentation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403681%2fbooting-windows-from-ssd-impossible-after-faulty-defragmentation%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix