If you need to know how to make your own partition, then try out these instructions. They can help you to get your data arranged in the way you need it.
Use the parted /dev/hda command to ensure that you are not duplicating existing partitions already on your system.
Make your primary partition. An example of this would be mkpart primary ext3 1024 2048. Change these values around to set the right numbers. The first number is the start of the partition that you want to make. The second number is the termination point. This should be measured in megabytes.
Now you have to format your partition. This is done with the following command: /sbin/mkfs -t ext3 /dev/hdb3.
Now it is time to label. The command is this: e2label /dev/hda3 /x. Where the x is, you should substitute the name of your partition. Remember, you need a Boot, a Swap and a Main. So keep your labels simple, and stick with these names.
Create your mount point with this command: mkdir /x. Again, change the name of X to the name of your partition.
Now you can mount your partition using the mount /x command. Be sure to change the name.
Print out a list of your partitions with the print command, which is simply print. It should show you everything. If you do not see your partition, then you have done something wrong. Try again.
Now that you have your partitions, you can move back up to the main set of directions, and keep your system setup going. Or, you can go and get a drink before you continue, as this would be one of the logical places to stop if you are in need of a break.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |