trying to create additional partitions
ok say if i want to add 3 partitions on a harddrive i want:
hdb1 for the ext3 / hdb2 for the /boot hdb3 for the swap how would i do this? now i lets say ext3 / type: mkfs -t ext3 / /dev/hdb1 how do i go about creating partitions for the rest? i know in the solaris space you can do it all at once but i can't figure out how to create addtional partitions for the linux. also when create your partions you can choose primary partition or extended what is the difference? thanx to all who help me. |
I use fdisk
fdisk /dev/hdb if you need to remove partitions first use d to create a partition use n you can have 4 primary partitions you could create three primary and one extended partitions, then create logical drives in the extended partition. If your planning to use the entire drive on 4 or less partitions you can make them all primary you should look over the howto or man pages for fdisk before you start http://www.linuxplanet.com/linuxplan...orials/3174/6/ |
Use parted.
1) On console type parted 2) on parted prompt type print 3) then use the mkfs command. The documentation on http://www.gnu.org for parted is pretty good.... Hope that helps... |
All times are GMT -5. The time now is 04:03 PM. |