LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Managing a linux hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/managing-a-linux-hard-drive-177828/)

newjuan 05-04-2004 02:09 PM

Managing a linux hard drive
 
I just installed linux and all is well so far but i'm having a tough time getting familiar with linux's file system. I'm trying to download some e-books but i'm out of hd space on my primary partition. Now I have about 3 gigs of unformatted free space that i'd like to use but I don't know the first thing about formatting. I've tried running "fdisk" in terminal but it says invalid command so I really am not sure where to begin resolving this issue. If anybody could direct me to a faq on managing a linux hard drive that'd be great.

Thanks to whoever has the patience to answer

bruno buys 05-04-2004 02:21 PM

http://www.tldp.org/HOWTO/Partition/index.html

mpdavig 05-04-2004 02:22 PM

Try: /sbin/fdisk /dev/hda (sbin commands are generally not in your path)

Once in fdisk just follow the one letter menus, once the partition is created (you may have to reboot) you should be able to format it with: mkfs (man mkfs).

Finally add an entry in /etc/fstab for your newly created filesystem.

newjuan 05-04-2004 02:42 PM

Thanks a bunch mpdavig, it worked perfect when I added the /sbin/ prefix.

Love this forum :)


All times are GMT -5. The time now is 06:44 PM.