LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-16-2003, 01:38 PM   #1
bshelton
Member
 
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54

Rep: Reputation: 15
creating a new partition in RH9


RHnewbie. LinuxNewbie.
Does anyone know how to create a new partition, split partitions, and other things like that in Linux?

i have only ever used partition magic in windows and i was wanting to know if its possible or if there is some source code somewhere i can get for that?
 
Old 09-16-2003, 01:54 PM   #2
GodMinusOne
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Re: creating a new partition in RH9

Quote:
Originally posted by bshelton
RHnewbie. LinuxNewbie.
Does anyone know how to create a new partition, split partitions, and other things like that in Linux?

i have only ever used partition magic in windows and i was wanting to know if its possible or if there is some source code somewhere i can get for that?
Open up a shell, su to root, run fdisk or cfdisk. man fdisk or man cfdisk if you need help.
 
Old 09-16-2003, 02:04 PM   #3
gbell72
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: FreeBSD
Posts: 78

Rep: Reputation: 15
In redhat9 you can also use parted, if you are wanting to partition a disk that is currently in use make sure to either boot into rescue mode or unmount any partitions on the device and turn off your swap.

example:

parted /dev/hda, 'print' to make sure you have enough space on that device. You can have upto 4 primary partitions with no extended partition on a device. If you need more than four partitions you can have 3 primary one extended and multiple logical within the extended.

To create a primary with an ext3 file system 'mkpart primary ext3' The changes take place as soon as you hit enter so double check all of your commands.

I'd recommend downloading or bookmarking all the Howto's from redhat's site http://www.redhat.com/support/resources/howto/rhl9.html
 
Old 09-16-2003, 02:35 PM   #4
bshelton
Member
 
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54

Original Poster
Rep: Reputation: 15
very cool, thanks a lot guys i really appreciate all the help. Just wanted to know it was possible before i take one of my comps to Linux only.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
creating a RH9 startup service fritz101 Red Hat 3 12-20-2003 10:30 AM
Creating a CD rom link in RH9 BadKarma Linux - General 2 12-08-2003 04:30 AM
creating new partition before boot partition?? rose_bud4201 Linux - General 17 02-07-2003 12:25 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:38 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