Resize partition using parted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Resultsparted 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

Change bounding box of math glyphs in LuaTeX

Derivation tree not rendering

Can smartphones with the same camera sensor have different image quality?

Why is superheterodyning better than direct conversion?

What is special about square numbers here?

Take groceries in checked luggage

How should I replace vector<uint8_t>::const_iterator in an API?

How to test the equality of two Pearson correlation coefficients computed from the same sample?

How to grep and cut numbers from a file and sum them

Hopping to infinity along a string of digits

How do I add random spotting to the same face in cycles?

How to delete random line from file using Unix command?

Can a novice safely splice in wire to lengthen 5V charging cable?

Can the DM override racial traits?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

A pet rabbit called Belle

What's the point in a preamp?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Semisimplicity of the category of coherent sheaves?

Relations between two reciprocal partial derivatives?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Typeface like Times New Roman but with "tied" percent sign

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



Resize partition using parted



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Resultsparted 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






















  • 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






















  • 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












  • 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,4651612




3,4651612












  • 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

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.