You are not logged in.
Device Start End Sectors Size Type
/dev/sda3 2120584 7814035215 7811914632 3.7T Microsoft basic dataI want to move the start to the beginning of the disk. How can I achieve this without using a GUI?
(It's an ext4 partition even if fdisk says it's Microsoft's basic data)
Last edited by weltio (2017-04-02 16:53:48)
Offline
This link will get you on the right track.
Also, please read my signature.
Regards
Martin
Last edited by onslow77 (2017-04-02 17:03:57)
Offline
How?
parted removed the command "move" and with parted's "resize" a can only change the right boundary of a partition. So what is the "move" replacement in currents parted? It seemed that it was just dropped without replacement?
Offline
How?
parted removed the command "move" and with parted's "resize" a can only change the right boundary of a partition. So what is the "move" replacement in currents parted? It seemed that it was just dropped without replacement?
It is one thing if you do not understand the help you are getting, that is ok! Not even bother to check the help out is however not ok! I doubt that you even glanced at the link I gave you during the time diffrence of "3 minutes" between post 2 and 3. We would have a diffrent conversation right now if you did.
Regards
Martin
Last edited by onslow77 (2017-04-02 17:27:55)
Offline
You're wrong. You just sent a link to a bunch of tools which I looked into before I posted. And that was the reason I posted: None of the tools offered the functionality I was looking for. My guess is more that you thought you could "help" by just answering a link to a wiki page without even reading the question correctly. (suggested by you quick response time). Furthermore I guess that you don't even know the answer to the stated question.
Offline
My best advice is: backup, test backup, re-partition, format, copy data back.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I dont have enough space for a complete backup ![]()
Offline
Show the full partition table?
It can be done with dd but it's dangerous for at least two reasons, a) you're doing it wrong or b) process gets interrupted for any reason and it's difficult to pick up the pieces from there.
If you're willing to migrate to LVM then you might not even have to move the data. https://github.com/g2p/blocks#readme has `lvmify` which migrates regular partitions/filesystems to LVM in-place. (not tested it myself)
Without a backup you risk your data especially with such in place actions. Not enough space is not an excuse...
Offline
I dont have enough space for a complete backup
If you are still determined to do it even after you have been advised twice that making a backup first would be wise, and you really want to do it without a gui you might be able to do it with parted and maybe a few more tools, you would be doing manually whatever gparted does when you move a partition in place.
On another note, moving that much data in place will take a really really long time.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
You're wrong. You just sent a link to a bunch of tools which I looked into before I posted. And that was the reason I posted: None of the tools offered the functionality I was looking for. My guess is more that you thought you could "help" by just answering a link to a wiki page without even reading the question correctly. (suggested by you quick response time). Furthermore I guess that you don't even know the answer to the stated question.
I am curious: fdisk was one of the "...bunch of tools..." that I pointed you to in my first post. In what way is that "tool" and its wiki page irrelevant as a response to your question?
Would you have preferred if I spoon feed you instead?
Regards
Martin
Last edited by onslow77 (2017-04-02 21:31:31)
Offline