Resize partition using parted The 2019 Stack Overflow Developer Survey Results Are Inparted...

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Worn-tile Scrabble

slides for 30min~1hr skype tenure track application interview

How are circuits which use complex ICs normally simulated?

Is there a symbol for a right arrow with a square in the middle?

What is the closest word meaning "respect for time / mindful"

Are spiders unable to hurt humans, especially very small spiders?

Does the shape of a die affect the probability of a number being rolled?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Why isn't airport relocation done gradually?

Origin of "cooter" meaning "vagina"

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Can a flute soloist sit?

Shouldn't "much" here be used instead of "more"?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Is this app Icon Browser Safe/Legit?

Why do UK politicians seemingly ignore opinion polls on Brexit?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

How to type this arrow in math mode?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Is flight data recorder erased after every flight?

What is the most effective way of iterating a std::vector and why?

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Time travel alters history but people keep saying nothing's changed



Resize partition using parted



The 2019 Stack Overflow Developer Survey Results Are Inparted not recognizing my current partition on external disk. How to fix without losing data?CentOS 5.6 expand ext4 partition , have steps but parted shows as ext3Resize partition after image using dd to another driveResize partition , problems with mount and boot system Archhow to resize or growing partition root?resizing partition was removed in latest version of partedParted: how to solve Location outside of device error?Make parted start next partition after previous one - automatically?Can't mount external Hard Drive after shrinking partition with partedHow to resize2fs ext4 partition that I shrunk with parted without e2fsck -f complaining of superblock or partition table





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







1















I want to resize a partition on a 8002GB disk /dev/sdb1 using parted.




Start 1000MB | End 4000MB | Size 3000MB | File system NTFS (and so on)




Current version of parted has replaced resize with resizepart.

I was able to use resizepart to change end to 100% i.e 8002GB but I can't seem to change the start from 1000MB to 1MB.



How can I change this partition to start from 1MB?










share|improve this question














bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

    – George Udosen
    Aug 18 '18 at 9:05




















1















I want to resize a partition on a 8002GB disk /dev/sdb1 using parted.




Start 1000MB | End 4000MB | Size 3000MB | File system NTFS (and so on)




Current version of parted has replaced resize with resizepart.

I was able to use resizepart to change end to 100% i.e 8002GB but I can't seem to change the start from 1000MB to 1MB.



How can I change this partition to start from 1MB?










share|improve this question














bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

    – George Udosen
    Aug 18 '18 at 9:05
















1












1








1








I want to resize a partition on a 8002GB disk /dev/sdb1 using parted.




Start 1000MB | End 4000MB | Size 3000MB | File system NTFS (and so on)




Current version of parted has replaced resize with resizepart.

I was able to use resizepart to change end to 100% i.e 8002GB but I can't seem to change the start from 1000MB to 1MB.



How can I change this partition to start from 1MB?










share|improve this question














I want to resize a partition on a 8002GB disk /dev/sdb1 using parted.




Start 1000MB | End 4000MB | Size 3000MB | File system NTFS (and so on)




Current version of parted has replaced resize with resizepart.

I was able to use resizepart to change end to 100% i.e 8002GB but I can't seem to change the start from 1000MB to 1MB.



How can I change this partition to start from 1MB?







linux ubuntu partition parted






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 17 '18 at 7:12









UmerUmer

61




61





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

    – George Udosen
    Aug 18 '18 at 9:05





















  • This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

    – George Udosen
    Aug 18 '18 at 9:05



















This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

– George Udosen
Aug 18 '18 at 9:05







This is what Logical Volumes are meant for...! Back up, delete, create Logical Volume then start small and add as needed use LVM tool set

– George Udosen
Aug 18 '18 at 9:05












1 Answer
1






active

oldest

votes


















1














parted doesn't have a command to change a partition's start offset. You can delete the partition with the rm command and recreate it with the correct offsets with the mkpart command. However, if you do that your filesystem will cease to function. Moving a partition requires re-writing filesystem structures; a function parted doesn't perform.



Instead, you can use gparted to move the partition, as described in their documentation.






share|improve this answer
























  • I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

    – Umer
    Aug 18 '18 at 12:21












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%2f463125%2fresize-partition-using-parted%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









1














parted doesn't have a command to change a partition's start offset. You can delete the partition with the rm command and recreate it with the correct offsets with the mkpart command. However, if you do that your filesystem will cease to function. Moving a partition requires re-writing filesystem structures; a function parted doesn't perform.



Instead, you can use gparted to move the partition, as described in their documentation.






share|improve this answer
























  • I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

    – Umer
    Aug 18 '18 at 12:21
















1














parted doesn't have a command to change a partition's start offset. You can delete the partition with the rm command and recreate it with the correct offsets with the mkpart command. However, if you do that your filesystem will cease to function. Moving a partition requires re-writing filesystem structures; a function parted doesn't perform.



Instead, you can use gparted to move the partition, as described in their documentation.






share|improve this answer
























  • I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

    – Umer
    Aug 18 '18 at 12:21














1












1








1







parted doesn't have a command to change a partition's start offset. You can delete the partition with the rm command and recreate it with the correct offsets with the mkpart command. However, if you do that your filesystem will cease to function. Moving a partition requires re-writing filesystem structures; a function parted doesn't perform.



Instead, you can use gparted to move the partition, as described in their documentation.






share|improve this answer













parted doesn't have a command to change a partition's start offset. You can delete the partition with the rm command and recreate it with the correct offsets with the mkpart command. However, if you do that your filesystem will cease to function. Moving a partition requires re-writing filesystem structures; a function parted doesn't perform.



Instead, you can use gparted to move the partition, as described in their documentation.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 18 '18 at 9:00









Emmanuel RosaEmmanuel Rosa

3,4151612




3,4151612













  • I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

    – Umer
    Aug 18 '18 at 12:21



















  • I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

    – Umer
    Aug 18 '18 at 12:21

















I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

– Umer
Aug 18 '18 at 12:21





I am on Ubuntu Server so no GUI. I guess gParted live USB it is then.

– Umer
Aug 18 '18 at 12:21


















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%2f463125%2fresize-partition-using-parted%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...