Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to partition using with parted?
Hello, I know that this might seem like a stupid question, but i'll try to explain the issue.
I am installing archlinux right now, and when I got to the partitioning part I ran into a problem.
I used cfdisk, as the manual said. And when I got to the stage where I had to mount. It would not work, it seems to be due to my HDD having the GUID partition table(GPT). So I restarted the installation, and launched parted when i got to the same step again.
And I do not understand parted, it truly follows the unix philosophy ;p
Therefore, I come to ask you about how I should do this, since I am starting to get extremely frustrated with partitioning.
My HDD is a 2 TB hdd, And I am thinking about using 15 gb for root, 1 gb for swap, and the rest for /home. (are those sizes ok?)
And, sorry for not reading the manuals. I have, and I f**k'ed up.
If you want you can boot to many of the live cd's that also have gparted. Gparted is a graphical way to create and format your partitions.
This part is only my opinion and not stock.
I don't usually create swap or other partitions. I do create a /boot on larger drives. If you need a swap later you can create it or create a swap file.
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
Gparted is a good idea... It's available as a stand alone distro for doing handyman work on HDs. Just do an internet search for Gparted distro.
As for sizes,... I'd give it 60GB for / (too big, yes,... but just in case... you might want to install something ridiculously large). double to 4 times your RAM for swap, and the rest for /home... It's not like you're going to run out of space, anytime soon, with a 2TB drive.
Make / bootable. Swap and home should probably reside on an extended partition. I'd suggest ext3 (if you're a dinosaur like me) or ext4 (for everyone else) for the partition types (don't know Arch, but all other distros I have tried are fine with Ext4 to boot from, anymore... older distros couldn't boot from Ext4, when it first came out, and needed a /boot partition).
After,you partitioned your drives, let the Arch install routine find and use them (never used Arch, but in other distros, this is done through a version of Gparted that's part of the install routine, using "custom" partitioning),... assign them to their mount points,...and you're off to the races ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.