Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey all. I need to format the secondary hard drive on my server which is running FC4. only problem is the only partition on that drive is NTFS, is it possible to format it? And if so is it a wise idea? Any help much appreciated. Thanks.
Simplest would be to delete the partition(s) on the drive and then recreate it as a Linux partition, and use mkfs to create a Linux file system on the partition.
The parted tool is a nice way to do the first step, although other tools are available.
Note that any data on the NTFS drive will, of course, be lost.
There seems (except potential data lose) nothing unwise is this.
Will you need any help setting up /etc/fstab to access the secondary drive?
No thanks i can handle the ftsab myself, but would you be able to tell me the commands required to delete the partition and then format the drive in say ext3? thankyou for your initial reply
Originally posted by KiLLaWaBBiT [snip]... but would you be able to tell me the commands required to delete the partition and then format the drive in say ext3? [snip]
Note that Ive not actually done this, but I'd suggest, since you're on FC4, check to see if you have QTParted installed. (If you do, it should be in your "System Tools" menu.) QTParted is a "clone" of "Partition Magic" which wasn't available (or I didn't find) when I was setting up my Linux systems.
If it isn't installed, do a "yum install qtparted" to install it.
Then start it, point it at your /dev/hdb and follow the menus to delete the partition, recreate it as an ext3 partition, and format it.
or if you like you can do it with cfdisk, just delete the partition and make a new one, it's very straightforward and will show you a list of partition types, select linux (type 83) and then you can format it with the tool of your choice, since you want ext3, mkfs.ext3 or mke2fs -j would be the logical choice. you could also use mkreiserfs (mkfs.reiserfs) or mkfs.xfs for reiserfs or xfs, respectively.
a little less easy on the user than qtparted, but it is easier on the system resources and is more educational.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.