hex edit of FAT32 partition tips wanted The Next CEO of Stack OverflowChanging the size of a...
Increase performance creating Mandelbrot set in python
How can I open an app using Terminal?
The King's new dress
Opposite of a diet
What does this shorthand mean?
Why do professional authors make "consistency" mistakes? And how to avoid them?
How long to clear the 'suck zone' of a turbofan after start is initiated?
Why does standard notation not preserve intervals (visually)
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
How does practicing restraint and performing actions of merit purify the mind?
Science fiction (dystopian) short story set after WWIII
How to safely derail a train during transit?
Are there languages with no euphemisms?
Describing a person. What needs to be mentioned?
Can a single photon have an energy density?
Does the Brexit deal have to be agreed by both Houses?
MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs
Whats the best way to handle refactoring a big file?
How did people program for Consoles with multiple CPUs?
Visit to the USA with ESTA approved before trip to Iran
Anatomically Correct Strange Women In Ponds Distributing Swords
How do scammers retract money, while you can’t?
If I blow insulation everywhere in my attic except the door trap, will heat escape through it?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
hex edit of FAT32 partition tips wanted
The Next CEO of Stack OverflowChanging the size of a FAT32 partition?How to migrate SD Card with Linux?How to create a large FAT32 partitionPartition created with Minitool Partition Wizard or Linux not recognized by Windows 7 and vice/versa“Convert” NTFS EFI partition to FAT32Alternate location for GPT partition entry tablePossible USB pendrive hardware corruptionDual boot Windows 10 after initial Arch Linux instilationWindows does not show FAT32 partitionCannot create partition table on my memory card, therefore cant format it using any tool
I currently have a wrong-sized partition in a "very damaged" status.
The first problem for most recovery tools:
- disk size is 9*10x units.
- logical partition starts at 2*10x units
- logical partition ends at 6*10x units. due to broken partition table.
- logical partition end should be set to 2*10x units (whole drive).
What is a good document on direct editing Intel(traditional) partition table, except for the casting a 'read all' spell on fdisk source?
I mean, if there's a fdisk version, that can be told to: "set the partition to begin at cluster X, end at cluster Y" - it is ok.
If there's a GUI tool to change the data, without doing actual "so smart resize magic" - that's ok.
If there is a good docs about changing partition table information directly, byte to byte - that's ok too.
partitioning data-recovery fat32 fdisk
add a comment |
I currently have a wrong-sized partition in a "very damaged" status.
The first problem for most recovery tools:
- disk size is 9*10x units.
- logical partition starts at 2*10x units
- logical partition ends at 6*10x units. due to broken partition table.
- logical partition end should be set to 2*10x units (whole drive).
What is a good document on direct editing Intel(traditional) partition table, except for the casting a 'read all' spell on fdisk source?
I mean, if there's a fdisk version, that can be told to: "set the partition to begin at cluster X, end at cluster Y" - it is ok.
If there's a GUI tool to change the data, without doing actual "so smart resize magic" - that's ok.
If there is a good docs about changing partition table information directly, byte to byte - that's ok too.
partitioning data-recovery fat32 fdisk
add a comment |
I currently have a wrong-sized partition in a "very damaged" status.
The first problem for most recovery tools:
- disk size is 9*10x units.
- logical partition starts at 2*10x units
- logical partition ends at 6*10x units. due to broken partition table.
- logical partition end should be set to 2*10x units (whole drive).
What is a good document on direct editing Intel(traditional) partition table, except for the casting a 'read all' spell on fdisk source?
I mean, if there's a fdisk version, that can be told to: "set the partition to begin at cluster X, end at cluster Y" - it is ok.
If there's a GUI tool to change the data, without doing actual "so smart resize magic" - that's ok.
If there is a good docs about changing partition table information directly, byte to byte - that's ok too.
partitioning data-recovery fat32 fdisk
I currently have a wrong-sized partition in a "very damaged" status.
The first problem for most recovery tools:
- disk size is 9*10x units.
- logical partition starts at 2*10x units
- logical partition ends at 6*10x units. due to broken partition table.
- logical partition end should be set to 2*10x units (whole drive).
What is a good document on direct editing Intel(traditional) partition table, except for the casting a 'read all' spell on fdisk source?
I mean, if there's a fdisk version, that can be told to: "set the partition to begin at cluster X, end at cluster Y" - it is ok.
If there's a GUI tool to change the data, without doing actual "so smart resize magic" - that's ok.
If there is a good docs about changing partition table information directly, byte to byte - that's ok too.
partitioning data-recovery fat32 fdisk
partitioning data-recovery fat32 fdisk
edited Nov 27 '10 at 1:00
Gilles
53.2k15115162
53.2k15115162
asked Nov 26 '10 at 2:13
kagali-sankagali-san
98431331
98431331
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Heh, heh, heh. This brings me back. Back, way back, in the Win3.1 days there was a package out there that was exactly what you're looking for. It was called PCTools and had a hex-editor that could directly edit the partition table (as well as the master boot record). If you had a misaligned partition for some reason, you could fix it in a way that DOS FDISK never could. Helped me fix a few things. It's fallen off the back of google, though.
These days there are a couple of Linux fdisk programs that allow you to set partition limits on a sector by sector basis. Dangerous, for a reason, but they're there.
Warning
This is brain surgery. You can really screw things up if you do it wrong.
That out of the way...
Find yourself a USB-Linux or DVD-Linux of your choice, they all should have what you're looking for. Get to a command line, root-mode if you're not already there, and start it up.
fdisk /dev/sda
Set select U to change the units. p will print your partition table.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 144584 72261 83 Linux
/dev/sda2 144585 415424834 207640125 8e Linux LVM
side-note: If I had a solid-state-drive on this machine, /dev/sda1 would be misaligned. It should start on sector 64 not 63.
Note your partitions, write them down. Where they start, where they end, how many blocks they are, and what the partition ID is. You'll need each of these.
The easiest way is to remove the entire partition table and write a new one, with the parameters you need. If you do it right, it should come back.
The o command will write a new, blank, partition table. The n command will create a new one; select your partition type, where the partition will start, and where it will end (you wrote that down). Once that's done the t command will allow you change the partition type, since it'll default to Linux (83) and you probably don't want that. Use the code you wrote down.
Repeat for each partition you need. When done the w command will commit your work. You'll probably have to reboot to see if it works out.
The more advanced method is to just change the bad partition directly. This is a lot more work, and I'm unclear enough on the steps that I'm not going to write them down in case I lead you to bricking things.
add a comment |
This is not a direct response to your question, unfortunately(just registered and I don't have 50 reputation yet), but to what SysAdmin1138 said about an old DOS-only tool called PCTools. There's a site called vetusware.com(site caption:"the biggest free abandonware downloads collection in the universe"). There's no search form on the site but a quick Google search for "site:vetusware.com pc tools" led me to a link with what he might be referring to. Haven't confirmed whether the software is legit though.
New contributor
add a comment |
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
});
}
});
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%2fsuperuser.com%2fquestions%2f215163%2fhex-edit-of-fat32-partition-tips-wanted%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Heh, heh, heh. This brings me back. Back, way back, in the Win3.1 days there was a package out there that was exactly what you're looking for. It was called PCTools and had a hex-editor that could directly edit the partition table (as well as the master boot record). If you had a misaligned partition for some reason, you could fix it in a way that DOS FDISK never could. Helped me fix a few things. It's fallen off the back of google, though.
These days there are a couple of Linux fdisk programs that allow you to set partition limits on a sector by sector basis. Dangerous, for a reason, but they're there.
Warning
This is brain surgery. You can really screw things up if you do it wrong.
That out of the way...
Find yourself a USB-Linux or DVD-Linux of your choice, they all should have what you're looking for. Get to a command line, root-mode if you're not already there, and start it up.
fdisk /dev/sda
Set select U to change the units. p will print your partition table.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 144584 72261 83 Linux
/dev/sda2 144585 415424834 207640125 8e Linux LVM
side-note: If I had a solid-state-drive on this machine, /dev/sda1 would be misaligned. It should start on sector 64 not 63.
Note your partitions, write them down. Where they start, where they end, how many blocks they are, and what the partition ID is. You'll need each of these.
The easiest way is to remove the entire partition table and write a new one, with the parameters you need. If you do it right, it should come back.
The o command will write a new, blank, partition table. The n command will create a new one; select your partition type, where the partition will start, and where it will end (you wrote that down). Once that's done the t command will allow you change the partition type, since it'll default to Linux (83) and you probably don't want that. Use the code you wrote down.
Repeat for each partition you need. When done the w command will commit your work. You'll probably have to reboot to see if it works out.
The more advanced method is to just change the bad partition directly. This is a lot more work, and I'm unclear enough on the steps that I'm not going to write them down in case I lead you to bricking things.
add a comment |
Heh, heh, heh. This brings me back. Back, way back, in the Win3.1 days there was a package out there that was exactly what you're looking for. It was called PCTools and had a hex-editor that could directly edit the partition table (as well as the master boot record). If you had a misaligned partition for some reason, you could fix it in a way that DOS FDISK never could. Helped me fix a few things. It's fallen off the back of google, though.
These days there are a couple of Linux fdisk programs that allow you to set partition limits on a sector by sector basis. Dangerous, for a reason, but they're there.
Warning
This is brain surgery. You can really screw things up if you do it wrong.
That out of the way...
Find yourself a USB-Linux or DVD-Linux of your choice, they all should have what you're looking for. Get to a command line, root-mode if you're not already there, and start it up.
fdisk /dev/sda
Set select U to change the units. p will print your partition table.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 144584 72261 83 Linux
/dev/sda2 144585 415424834 207640125 8e Linux LVM
side-note: If I had a solid-state-drive on this machine, /dev/sda1 would be misaligned. It should start on sector 64 not 63.
Note your partitions, write them down. Where they start, where they end, how many blocks they are, and what the partition ID is. You'll need each of these.
The easiest way is to remove the entire partition table and write a new one, with the parameters you need. If you do it right, it should come back.
The o command will write a new, blank, partition table. The n command will create a new one; select your partition type, where the partition will start, and where it will end (you wrote that down). Once that's done the t command will allow you change the partition type, since it'll default to Linux (83) and you probably don't want that. Use the code you wrote down.
Repeat for each partition you need. When done the w command will commit your work. You'll probably have to reboot to see if it works out.
The more advanced method is to just change the bad partition directly. This is a lot more work, and I'm unclear enough on the steps that I'm not going to write them down in case I lead you to bricking things.
add a comment |
Heh, heh, heh. This brings me back. Back, way back, in the Win3.1 days there was a package out there that was exactly what you're looking for. It was called PCTools and had a hex-editor that could directly edit the partition table (as well as the master boot record). If you had a misaligned partition for some reason, you could fix it in a way that DOS FDISK never could. Helped me fix a few things. It's fallen off the back of google, though.
These days there are a couple of Linux fdisk programs that allow you to set partition limits on a sector by sector basis. Dangerous, for a reason, but they're there.
Warning
This is brain surgery. You can really screw things up if you do it wrong.
That out of the way...
Find yourself a USB-Linux or DVD-Linux of your choice, they all should have what you're looking for. Get to a command line, root-mode if you're not already there, and start it up.
fdisk /dev/sda
Set select U to change the units. p will print your partition table.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 144584 72261 83 Linux
/dev/sda2 144585 415424834 207640125 8e Linux LVM
side-note: If I had a solid-state-drive on this machine, /dev/sda1 would be misaligned. It should start on sector 64 not 63.
Note your partitions, write them down. Where they start, where they end, how many blocks they are, and what the partition ID is. You'll need each of these.
The easiest way is to remove the entire partition table and write a new one, with the parameters you need. If you do it right, it should come back.
The o command will write a new, blank, partition table. The n command will create a new one; select your partition type, where the partition will start, and where it will end (you wrote that down). Once that's done the t command will allow you change the partition type, since it'll default to Linux (83) and you probably don't want that. Use the code you wrote down.
Repeat for each partition you need. When done the w command will commit your work. You'll probably have to reboot to see if it works out.
The more advanced method is to just change the bad partition directly. This is a lot more work, and I'm unclear enough on the steps that I'm not going to write them down in case I lead you to bricking things.
Heh, heh, heh. This brings me back. Back, way back, in the Win3.1 days there was a package out there that was exactly what you're looking for. It was called PCTools and had a hex-editor that could directly edit the partition table (as well as the master boot record). If you had a misaligned partition for some reason, you could fix it in a way that DOS FDISK never could. Helped me fix a few things. It's fallen off the back of google, though.
These days there are a couple of Linux fdisk programs that allow you to set partition limits on a sector by sector basis. Dangerous, for a reason, but they're there.
Warning
This is brain surgery. You can really screw things up if you do it wrong.
That out of the way...
Find yourself a USB-Linux or DVD-Linux of your choice, they all should have what you're looking for. Get to a command line, root-mode if you're not already there, and start it up.
fdisk /dev/sda
Set select U to change the units. p will print your partition table.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 144584 72261 83 Linux
/dev/sda2 144585 415424834 207640125 8e Linux LVM
side-note: If I had a solid-state-drive on this machine, /dev/sda1 would be misaligned. It should start on sector 64 not 63.
Note your partitions, write them down. Where they start, where they end, how many blocks they are, and what the partition ID is. You'll need each of these.
The easiest way is to remove the entire partition table and write a new one, with the parameters you need. If you do it right, it should come back.
The o command will write a new, blank, partition table. The n command will create a new one; select your partition type, where the partition will start, and where it will end (you wrote that down). Once that's done the t command will allow you change the partition type, since it'll default to Linux (83) and you probably don't want that. Use the code you wrote down.
Repeat for each partition you need. When done the w command will commit your work. You'll probably have to reboot to see if it works out.
The more advanced method is to just change the bad partition directly. This is a lot more work, and I'm unclear enough on the steps that I'm not going to write them down in case I lead you to bricking things.
answered Nov 26 '10 at 6:31
SysAdmin1138SysAdmin1138
5,1491722
5,1491722
add a comment |
add a comment |
This is not a direct response to your question, unfortunately(just registered and I don't have 50 reputation yet), but to what SysAdmin1138 said about an old DOS-only tool called PCTools. There's a site called vetusware.com(site caption:"the biggest free abandonware downloads collection in the universe"). There's no search form on the site but a quick Google search for "site:vetusware.com pc tools" led me to a link with what he might be referring to. Haven't confirmed whether the software is legit though.
New contributor
add a comment |
This is not a direct response to your question, unfortunately(just registered and I don't have 50 reputation yet), but to what SysAdmin1138 said about an old DOS-only tool called PCTools. There's a site called vetusware.com(site caption:"the biggest free abandonware downloads collection in the universe"). There's no search form on the site but a quick Google search for "site:vetusware.com pc tools" led me to a link with what he might be referring to. Haven't confirmed whether the software is legit though.
New contributor
add a comment |
This is not a direct response to your question, unfortunately(just registered and I don't have 50 reputation yet), but to what SysAdmin1138 said about an old DOS-only tool called PCTools. There's a site called vetusware.com(site caption:"the biggest free abandonware downloads collection in the universe"). There's no search form on the site but a quick Google search for "site:vetusware.com pc tools" led me to a link with what he might be referring to. Haven't confirmed whether the software is legit though.
New contributor
This is not a direct response to your question, unfortunately(just registered and I don't have 50 reputation yet), but to what SysAdmin1138 said about an old DOS-only tool called PCTools. There's a site called vetusware.com(site caption:"the biggest free abandonware downloads collection in the universe"). There's no search form on the site but a quick Google search for "site:vetusware.com pc tools" led me to a link with what he might be referring to. Haven't confirmed whether the software is legit though.
New contributor
New contributor
answered 26 mins ago
dekarpaulvictordekarpaulvictor
1
1
New contributor
New contributor
add a comment |
add a comment |
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.
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%2fsuperuser.com%2fquestions%2f215163%2fhex-edit-of-fat32-partition-tips-wanted%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