Fedora Linux Support Community & Resources Center
Old 9th April 2006, 10:57 PM
Posts: n/a
Making Filesystems

I formated my secondary hard drive on my primary IDE channel and it works but I run into problems when I'm trying to create the filesystem. I got told to type in mkfs.... but when i type that into the terminal, it says "command not found". I'm running an up-to-date version of FC4 if that helps any. Thanks guys. Kaleb
Reply With Quote
Old 9th April 2006, 11:19 PM
savage Offline
Registered User
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
Make sure you are logged in as root, if you are using "su" to switch to root, use the "-l" parameter "su -l".

The command to make the filesystem would then be:
mkfs -t ext3 /dev/device
Asssuming you want to create an ext3 partition, you can use vfat etc. if you want a FAT32 partition to be accessible by both Windows and Linux.

Reply With Quote
Old 10th April 2006, 12:14 AM
Posts: n/a
awesome, that worked. However it didn't do what it I was told it was suppose to do. Fstab doesn't seem to like when I type in "/dev/hdb", instead it wants me to type in "/dev/hdb1" but I don't have have a link to that hard drive with a number after it. how would I get that? Kaleb
Reply With Quote
Old 10th April 2006, 02:36 AM
tashirosgt Offline
Registered User
Join Date: Aug 2004
Posts: 4,032
A drive such as /dev/hdb can hold several partitions hdb1, hdb2,... It may be that it holds only one partition, but you still must distinguish between the drive and the partition. We format "a partition" not "a drive", so the partition is what fstab wants to hear about.
/sbin/fdisk -l
to see your partitions.
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote

filesystems, making

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystems for F7 lazlow Using Fedora 11 9th May 2007 08:39 PM
filesystems iamroot Linux Chat 5 5th November 2005 11:33 AM
Fedora 4 Filesystems johnl1479 Mac Chat 4 10th September 2005 04:13 AM
BIG filesystems wdingus Using Fedora 2 21st August 2005 06:57 PM

Current GMT-time: 15:40 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat