LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-11-2012, 02:20 PM   #1
Vizaa
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Rep: Reputation: Disabled
Partitioning help.


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.

TL;DR: Could anyone examplify how to use PARTED?
 
Old 09-11-2012, 02:40 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
http://www.gnu.org/software/parted/manual/parted.html is the link for the official manual.

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.

Last edited by jefro; 09-11-2012 at 08:57 PM.
 
Old 09-11-2012, 04:36 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
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: Reputation: 157Reputation: 157
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 ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partitioning with md growltiger6 Fedora 1 01-08-2007 11:10 PM
Partitioning Brother Michael Linux - Newbie 4 12-19-2003 12:58 AM
partitioning PlatinumRik Linux - Software 6 04-10-2003 07:11 PM
Partitioning? stalefx Linux - Software 4 04-08-2003 08:19 PM
partitioning banelion Linux - Newbie 1 06-20-2002 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration