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

foot-pounds of energy?

How do I handle a DM that plays favorites with certain players?

What is the right Bonferroni adjustment?

Why do rocket engines use nitrogen actuators to operate the fuel/oxidiser valves instead of electric servos?

Is there a way to improve my grade after graduation?

Can the Cauchy product of divergent series with itself be convergent?

How to call made-up data?

Formal mathematical definition of renormalization group flow

How to design an effective polearm-bow hybrid?

What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?

How to increase Solr JVM memory

Make lens aperture in Tikz

Properties: Left of the colon

Four-velocity of radially infalling gas in Schwarzschild metric

Why do proponents of guns oppose gun competency tests?

What percentage of campground outlets are GFCI or RCD protected?

Why is the Vasa Museum in Stockholm so Popular?

Is an "are" omitted in this sentence

What do "unsettled funds" mean?

In MTG, was there ever a five-color deck that worked well?

Awk to get all my regular users in shadow

A verb for when some rights are not violated?

…down the primrose path

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



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
    3 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
    3 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 3 hours ago









ctrl-alt-delor

14k5 gold badges32 silver badges64 bronze badges




14k5 gold badges32 silver badges64 bronze badges










asked 4 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
    3 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
    3 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
3 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
3 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...