LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-03-2005, 12:06 AM   #1
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Rep: Reputation: 15
Format 250gig HDD in Linux


I have a 250gig hard drive (NOT the one Linux is on) and I need to format it to FAT32. The Windows XP disc will not format a drive this large in FAT32. How do I do it in Linux? Using Fedora Core 3 64, but command line is okay provided you give me exactness...

Please respond soon as I am using a friend's computer to back up the files that used to be on this drive and he needs to use it too.

EDIT and why does everyone mount hard drives in /mnt? I prefer elsewhere, but does that change anything (except the location), like any disadvantages?

Last edited by AndrewZorn; 04-03-2005 at 12:42 AM.
 
Old 04-03-2005, 01:07 AM   #2
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
I THINK I just formatted it, all looks good, except only root can write to the drive. I'm sure it has something to do with fstab. Here is mine:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-sda6         swap                    swap    defaults        0 0
/dev/hdd1               /drives/caviar          vfat    rw,defaults,umask=0222 0 0
/dev/sda1               /drives/windows         ntfs    ro,defaults,umask=0222 0 0
/dev/hdb                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/hda                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
Now, for hdd1 and sda1 I have no idea what any of the values in the last column are, chances are they are wrong or something. And do the drives need to (should be) mounted in /mnt? I prefer /drives, but that is just me. More importantly though is getting permission to write to the hdd1!
 
Old 04-03-2005, 04:57 AM   #3
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
You need to add user in the options bit where some have "defaults" in that row. Just add ",user" to it.
 
Old 04-03-2005, 02:22 PM   #4
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
REPLACE 'defaults' with 'user', or insert user after defaults? also, do i need the ro/rw stuff and all the extras on that line?
 
Old 04-03-2005, 02:26 PM   #5
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
FINALLY BACK IN WINDOWS!!!
But the 250gig drive I formatted to FAT32 does not appear in the drive list. What do I do? I really need to get my stuff off someone else's computer.

Note: no longer in emergency status.
 
Old 04-03-2005, 02:35 PM   #6
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
Leave defaults there just add user. ro=read only rw=read/write.
 
Old 04-03-2005, 08:03 PM   #7
sloik2000
Member
 
Registered: Jan 2004
Location: Lake Bluff, IL
Distribution: Fedora 8
Posts: 117

Rep: Reputation: 15
Qtparted

To format any drives under linux, I use a GUI application called QTparted. Try it out.
Code:
yum install qtparted
That should get it for you.

-Sloik
 
Old 04-03-2005, 08:10 PM   #8
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
thats ALL you type? i have no idea what one would normally do after it is installed.
is there some advantage of this to just doing the mkfs thing? should windows read it? oh well ill play around with it later
 
Old 04-03-2005, 08:12 PM   #9
sloik2000
Member
 
Registered: Jan 2004
Location: Lake Bluff, IL
Distribution: Fedora 8
Posts: 117

Rep: Reputation: 15
After it's installed just type
Code:
qtparted
And it should run.

-Sloik
 
Old 04-03-2005, 08:15 PM   #10
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
However yum is Fedora specific and does not exist in other distros For QTparted you'll also need QT libraries installed. There is also a commandline version of parted, but I imagine that the QT version is easier to use. Maybe Windows just cannot deal with FAT partitions that are that large? You could try splitting the drive to smaller partitions (with parted, fdisk or cfdisk) and see if they work under Windows.

To be precise, subdirectories under /mnt is a wrong (though common) place to mount filesystems. Your way seems closer to the right way. You should have no problems using different mountpoints.

Last edited by alienDog; 04-03-2005 at 08:22 PM.
 
Old 04-03-2005, 08:52 PM   #11
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
How do you make them appear in 'computer'
(and how do i get the one OFF the desktop?)
 
Old 04-03-2005, 09:26 PM   #12
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
That would depend on the desktop environment you are using.
 
Old 04-03-2005, 11:06 PM   #13
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
GNOME
i try to unmount it under teh right click menu but it wont
is there like a command to unmount all HDDs
because ive been experimenting too much and its all just a huge mess

and again how do you get the little icon of the hard drive in the 'computers' screen, because they just popped up all the sudden
 
Old 04-04-2005, 02:48 PM   #14
Robert G. Hays
Member
 
Registered: Jan 2003
Location: Atlanta, Ga., USA
Distribution: Gentoo, Mandrake, ~others
Posts: 157

Rep: Reputation: 30
If I read your fstab correctly, /dev/hdd1 is the 250G?
then in a console or (x)terminal, type:

umount /dev/hdd1

OR

umount /drives/caviar

The first one will un-mount it from --wherever-- it was mounted.

And while I don't actually **know**, I suspect that F32 is actually limited to 64G (Binary!, which is larger than 64,000,000,000 the manufacturers now use), so you may need 4 partitions.

If you will never need to put another partition on this drive, they can all be primary, which gives a tiny speedup, but is also MUCH easier to recover if Capt. Murphy strikes.

I think the others here are doing good aside from this possibility.

OH! -- Tip:
you can put a #comment beside each entry, before or after, just be consistent. Or a block KEPT UPDATED AND IN ORDER. (Sorry yelling, but...)

lol,

Last edited by Robert G. Hays; 04-04-2005 at 02:51 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB HDD Format to use with M$ and Linux smurff Linux - General 3 09-17-2005 02:19 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
How to format my new HDD under linux hetulk Linux - Hardware 2 02-18-2004 09:56 AM
I need to format a linux hdd, so I can install Xp for my parents... snakesk8s Linux - Newbie 1 08-03-2003 12:29 AM
how do you format a linux hdd? magic Linux - Newbie 4 06-06-2002 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 PM.

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