LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2009, 05:52 AM   #1
umwai
Member
 
Registered: May 2008
Location: Sri Lanka
Distribution: Ubuntu
Posts: 57
Blog Entries: 1

Rep: Reputation: 16
Thumbs down How to partition a Hard Disk


I've bought a new Hard Disk and I want to know how to patition It using both GUI tools and command line tools. I googled for it but they don't give it from the scratch. I wanna know how to set the size, label them etc..
 
Old 03-19-2009, 06:06 AM   #2
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Quote:
Originally Posted by umwai View Post
I've bought a new Hard Disk and I want to know how to patition It using both GUI tools and command line tools. I googled for it but they don't give it from the scratch. I wanna know how to set the size, label them etc..
parted is the command line. And, gparted is a good gui.

If you want a livecd to boot from and partition, then there's:

http://gparted.sourceforge.net/livecd.php
 
Old 03-19-2009, 06:24 AM   #3
ssuhaib
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Rep: Reputation: 1
Try this:

1. # fdisk -l

Note down the device name config (like sda or hda ).

2. # fdisk <device name>
Select n for new partition
Select cylinders & size

3. # partprobe

4. format the new partition by
# mkfs.ext3 <new partition>

5. Mount the new partition to a directory ( mount point)
#mount <new partition> <directory>.

Hope this helps.
 
  


Reply

Tags
disk, hard, partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Hard disk more than 2 TB jeesun Linux - Enterprise 3 09-08-2007 08:20 AM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee Suse/Novell 20 10-31-2005 07:30 AM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Hard Disk Partition nature_priyan Linux - Newbie 4 06-16-2004 04:19 PM


All times are GMT -5. The time now is 05:34 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration