Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
i have this external hard drive and i want to use it to back up some files from my linux box, which can't write ntfs. the external drive is broken into two partitions(sda1 and sda2), both are ntfs.
i want to take one of the partitions(sda1) and format it in something that linux can write to(i'm thinking fat32), so i can store files from my linux box on it. My probelm is that i'm not sure how to go about doing this without messing up the other partition on the drive. i thought i would start by using cfdisk to change sda1 to a linux partition, then mkfs to write a new filesystem, but i'm afraid that re-writing the partition table will damage sda2. am i going about this correctly?
my memory is fuzzy on this, but i think i may have done something like this before during a linux install: even though i had only changed one partition, re-writing that partition table caused some problems with another drive partition.
The partition table can be re-written several times with out the data be affected. The partition table just gives the OS where a partition starts and ends using cylinders. Use sfdisk to help you backup the information of present partition table, so you revert to the partition table where you started from.
Use mkdosfs to format the desire partition to FAT32 and make sure you specify -F32 or else it still going to be FAT16. Double check the syntax of mkdosfs before hitting enter.
If you use it for linux backups only (you didn't specify in the OP) I'd suggest a linux file system e.g. like ext3, since FAT doesn't store the permissions and owner attributes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.