LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2007, 06:07 PM   #1
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Rep: Reputation: 30
change dirctory and file system


hi
i have a drive i made called /Data
i made it to put my data in it
but now i want to change it to fat32 so i can use it by window$ and linux
can any body help???
 
Old 08-21-2007, 06:16 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You need to find out the device node of the drive first, you can't format it based on the mountpoint. If you put this drive's information into the fstab file, then just look there to see what the device is. You can also quickly scan for attached storage devices with "fdisk -l".

After you have found the drive (for example purposes, we will assume /dev/sda1, which would be the first partition on the first USB device) you would use a command like:

Code:
mkdosfs -n Data -F 32 /dev/sda1
This would format the device to FAT32 and give it the volume name of "Data". Obviously, be sure there is nothing on this device you need before you reformat it.
 
Old 08-21-2007, 06:17 PM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
you can't change the file system. (actually you can but not to fat32..)

however, if it's either ext2 or ext3 you should have no problems to mount it from windows with this or this.

reiserfs could be accessed ( but not mounted ) with http://p-nand-q.com/download/rfstool.html

Last edited by erklaerbaer; 08-21-2007 at 06:20 PM.
 
Old 08-21-2007, 06:39 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
you can't change the file system. (actually you can but not to fat32..)
Sure you can--see the post by MS3FGX. Do "man mkfs" for all the formatting options.

One of those links is to ext2fsd. I have used this with great success--although I almost never boot into Windows anymore.
 
Old 08-21-2007, 08:44 PM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
My first inclination reading it was that he was asking to format it, mainly because he didn't mention an existing file system. But going over it again I can see that he may be talking about converting as well.

Clearly there is somewhat of a language barrier here, so we may need the topic creator to clarify a bit.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
retriving a dirctory with all content in FTP juanb Linux - General 3 01-07-2006 03:45 PM
dirctory disk question? linuxgeek13 SUSE / openSUSE 2 10-07-2005 04:23 AM
Change file system, no dataloss? Moist Linux - Newbie 9 03-07-2005 12:37 PM
read only file system change navaladi Linux - Newbie 2 02-18-2005 02:36 PM
lost my /boot dirctory hardeep_ubhi Linux - Newbie 1 12-11-2004 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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