How to change partition type id without formatting? The Next CEO of Stack OverflowWhy do we need to specify partition type in fdisk and later again in mkfs?Change the number of the partition from sda1 to sda2How do I resize an ext3 partition that is not part of a LVM group?Increase a partition without data lossMerge partitions between logical and extended partitionRecover deleted partition using testdiskIs it possible to increase partition size in this scenario?How can I change /home formatting from XFS to ext4 without loss of dataHow to safely extend my Ubuntu partition without losing any data?Resize partition with fdisk without data loss
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
Increase performance creating Mandelbrot set in python
Anatomically Correct Strange Women In Ponds Distributing Swords
How do I construct this japanese bowl?
Can a single photon have an energy density?
How easy is it to start Magic from scratch?
Trouble understanding the speech of overseas colleagues
Visit to the USA with ESTA approved before trip to Iran
If the heap is initialized for security, then why is the stack uninitialized?
How do scammers retract money, while you can’t?
Only print output after finding pattern
Describing a person. What needs to be mentioned?
Inappropriate reference requests from Journal reviewers
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
WOW air has ceased operation, can I get my tickets refunded?
When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?
What happens if you roll doubles 3 times then land on "Go to jail?"
Why did we only see the N-1 starfighters in one film?
Can I equip Skullclamp on a creature I am sacrificing?
Why here is plural "We went to the movies last night."
Grabbing quick drinks
How do I go from 300 unfinished/half written blog posts, to published posts?
Anatomically Correct Mesopelagic Aves
How can I open an app using Terminal?
How to change partition type id without formatting?
The Next CEO of Stack OverflowWhy do we need to specify partition type in fdisk and later again in mkfs?Change the number of the partition from sda1 to sda2How do I resize an ext3 partition that is not part of a LVM group?Increase a partition without data lossMerge partitions between logical and extended partitionRecover deleted partition using testdiskIs it possible to increase partition size in this scenario?How can I change /home formatting from XFS to ext4 without loss of dataHow to safely extend my Ubuntu partition without losing any data?Resize partition with fdisk without data loss
How to change my partition type id from 83 to 8e without formatting and losing data?
partition fdisk gparted testdisk
add a comment |
How to change my partition type id from 83 to 8e without formatting and losing data?
partition fdisk gparted testdisk
add a comment |
How to change my partition type id from 83 to 8e without formatting and losing data?
partition fdisk gparted testdisk
How to change my partition type id from 83 to 8e without formatting and losing data?
partition fdisk gparted testdisk
partition fdisk gparted testdisk
edited yesterday
maulinglawns
6,38021326
6,38021326
asked yesterday
MaggicmuojetMaggicmuojet
43
43
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Run fdisk
on the appropriate disk, for example
sudo fdisk /dev/sdb
Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
Partition number (1,2, default 2):
If there’s only one, fdisk
will tell you it’s automatically selecting it:
Selected partition 1
Once the partition is selected, fdisk
will ask what type you want:
Partition type (type L to list all types):
Enter “8e” here. Press p to check the result, then w to write it to disk if the changes are OK or q to quit without saving.
This won’t touch the contents of the partition, you won’t lose any data. It also won’t set LVM up, if that’s what you’re really after.
add a comment |
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
);
);
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%2funix.stackexchange.com%2fquestions%2f508890%2fhow-to-change-partition-type-id-without-formatting%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
Run fdisk
on the appropriate disk, for example
sudo fdisk /dev/sdb
Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
Partition number (1,2, default 2):
If there’s only one, fdisk
will tell you it’s automatically selecting it:
Selected partition 1
Once the partition is selected, fdisk
will ask what type you want:
Partition type (type L to list all types):
Enter “8e” here. Press p to check the result, then w to write it to disk if the changes are OK or q to quit without saving.
This won’t touch the contents of the partition, you won’t lose any data. It also won’t set LVM up, if that’s what you’re really after.
add a comment |
Run fdisk
on the appropriate disk, for example
sudo fdisk /dev/sdb
Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
Partition number (1,2, default 2):
If there’s only one, fdisk
will tell you it’s automatically selecting it:
Selected partition 1
Once the partition is selected, fdisk
will ask what type you want:
Partition type (type L to list all types):
Enter “8e” here. Press p to check the result, then w to write it to disk if the changes are OK or q to quit without saving.
This won’t touch the contents of the partition, you won’t lose any data. It also won’t set LVM up, if that’s what you’re really after.
add a comment |
Run fdisk
on the appropriate disk, for example
sudo fdisk /dev/sdb
Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
Partition number (1,2, default 2):
If there’s only one, fdisk
will tell you it’s automatically selecting it:
Selected partition 1
Once the partition is selected, fdisk
will ask what type you want:
Partition type (type L to list all types):
Enter “8e” here. Press p to check the result, then w to write it to disk if the changes are OK or q to quit without saving.
This won’t touch the contents of the partition, you won’t lose any data. It also won’t set LVM up, if that’s what you’re really after.
Run fdisk
on the appropriate disk, for example
sudo fdisk /dev/sdb
Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
Partition number (1,2, default 2):
If there’s only one, fdisk
will tell you it’s automatically selecting it:
Selected partition 1
Once the partition is selected, fdisk
will ask what type you want:
Partition type (type L to list all types):
Enter “8e” here. Press p to check the result, then w to write it to disk if the changes are OK or q to quit without saving.
This won’t touch the contents of the partition, you won’t lose any data. It also won’t set LVM up, if that’s what you’re really after.
edited yesterday
Stéphane Chazelas
312k57589946
312k57589946
answered yesterday
Stephen KittStephen Kitt
178k24406484
178k24406484
add a comment |
add a comment |
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.
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%2funix.stackexchange.com%2fquestions%2f508890%2fhow-to-change-partition-type-id-without-formatting%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