LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-09-2003, 03:00 PM   #1
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Rep: Reputation: 30
partitioning


I have partioned my hard drive, but have not used it all. I want to expand it and format the rest of the unused space. How may I accomplish this?
 
Old 04-09-2003, 03:02 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Expand it how? Assuming you mean you want to create a filesystem on your unused partitions, then...

As root:
fdisk -l (FDISK -L lowercase)
Find the partition that is not formatted then;
mke2fs -j /dev/hdx
where /dev/hdx is the partition needing formatting.

If you mean you want to merge the unused space into an existing partition, you should check out parted at www.freshmeat.net

Cool
 
Old 04-09-2003, 07:13 PM   #3
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Original Poster
Rep: Reputation: 30
how can i format the partion if it hasn't been made yet?? the remainder of my hd is unpartioned.
 
Old 04-10-2003, 12:57 AM   #4
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
That's what you use fdisk (or cfdisk for a nice interface) for. It establishes the partition. mke2fs establishes the filesystem.
 
Old 04-10-2003, 11:57 AM   #5
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
if you want to create a disk use fdisk and mkfs.ext3 to create a ext3 file system to resize the disk you can use partion magic and gnu parted
 
Old 04-10-2003, 03:13 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
Or insert your RedHat cd in and do it graphically (from the installation program).
 
Old 04-10-2003, 07:11 PM   #7
windoze killa
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: FC2
Posts: 81

Rep: Reputation: 15
Quote:
Originally posted by nakkaya
if you want to create a disk use fdisk and mkfs.ext3 to create a ext3 file system to resize the disk you can use partion magic and gnu parted
These are the ones I would use too. Partition magic is the nicest and easiest but gnu parted worked flawlessly once I worked out what I was doing. Make sure you read the docs FULLY. Becomes very easy after that.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partitioning... Ophidian Slackware - Installation 2 09-04-2005 05:12 PM
Partitioning regorbro Linux - General 5 12-05-2004 02:07 PM
Partitioning Help Redwolf_Eddy Linux - Newbie 4 04-19-2004 01:55 PM
Need help with partitioning snatale1 Linux - Newbie 2 08-16-2003 02:38 PM
partitioning TravisB Linux - General 7 07-31-2002 07:30 PM


All times are GMT -5. The time now is 11:00 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration