How to fix my partition?gparted partition master boot record corruptHow to boot into FreeBSD installed in the...

Can a Sikh enter a buddhist temple with a turban?

Is there a way to say "double + any number" in German?

Are valid inequalities worth the effort given modern solver preprocessing options?

Does a humanoid possessed by a ghost register as undead to a paladin's Divine Sense?

Getting an entry level IT position later in life

Why do my fried eggs start browning very fast?

What printing process is this?

How to design an effective polearm-bow hybrid?

Is space radiation a risk for space film photography, and how is this prevented?

How to win against ants

Did Logical Positivism fail because it simply denied human emotion?

Has J.J.Jameson ever found out that Peter Parker is Spider-Man?

ZFS on Linux: Which mountpoint option when mounting manually per script?

Can attackers change the public key of certificate during the SSL handshake

Write The Shortest Program To Check If A Binary Tree Is Balanced

Why is Heisenberg shown dead in Negro y Azul?

how to change dot to underline in multiple file-names?

Upper Bound for a Sum

What does "autolyco-sentimental" mean?

Write The Shortest Program to Calculate Height of a Binary Tree

Is there a command-line tool for converting html files to pdf?

Why does capacitance not depend on the material of the plates?

what can you do with Format View

The warlock of firetop mountain, what's the deal with reference 192?



How to fix my partition?


gparted partition master boot record corruptHow to boot into FreeBSD installed in the second partition of an external driveShrinking a partitionProblems with partition table on 3tb NTFS driveData recovery from corrupted Mint 17 partitionHow can I identify the filesystem/partition typechanging grub boot driveCan't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?Partitioning an external HDD using GPT and with a “Microsoft Reserved” partition?How can I resize my fedora lvm partition to be larger with the root partition in the way?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I was trying to make my HDD bootable and did



gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1


and now I got "Invalid partition" message on boot.



/boot was from USB drive, not from HDD (which is ada0s1).



If I try



fsck /dev/ada0s1a 


I get "cannot find superblock" message. I was able to fsck before.



Is it possible to restore partition from this situation?










share|improve this question






















  • 1





    By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

    – ctrl-alt-delor
    2 hours ago


















1















I was trying to make my HDD bootable and did



gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1


and now I got "Invalid partition" message on boot.



/boot was from USB drive, not from HDD (which is ada0s1).



If I try



fsck /dev/ada0s1a 


I get "cannot find superblock" message. I was able to fsck before.



Is it possible to restore partition from this situation?










share|improve this question






















  • 1





    By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

    – ctrl-alt-delor
    2 hours ago














1












1








1








I was trying to make my HDD bootable and did



gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1


and now I got "Invalid partition" message on boot.



/boot was from USB drive, not from HDD (which is ada0s1).



If I try



fsck /dev/ada0s1a 


I get "cannot find superblock" message. I was able to fsck before.



Is it possible to restore partition from this situation?










share|improve this question
















I was trying to make my HDD bootable and did



gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1


and now I got "Invalid partition" message on boot.



/boot was from USB drive, not from HDD (which is ada0s1).



If I try



fsck /dev/ada0s1a 


I get "cannot find superblock" message. I was able to fsck before.



Is it possible to restore partition from this situation?







filesystems partition freebsd restore pfsense






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago









ctrl-alt-delor

14k5 gold badges32 silver badges64 bronze badges




14k5 gold badges32 silver badges64 bronze badges










asked 3 hours ago









DimsDims

5391 gold badge11 silver badges40 bronze badges




5391 gold badge11 silver badges40 bronze badges











  • 1





    By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

    – ctrl-alt-delor
    2 hours ago














  • 1





    By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

    – ctrl-alt-delor
    2 hours ago








1




1





By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

– ctrl-alt-delor
2 hours ago





By definition you cannot un-brick a device. To brick is to irrevocably remove functionality from a device: to render it as if a brick.

– ctrl-alt-delor
2 hours ago










0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f534043%2fhow-to-fix-my-partition%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 Unix & Linux Stack Exchange!


  • 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%2funix.stackexchange.com%2fquestions%2f534043%2fhow-to-fix-my-partition%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...