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!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Now I'm trying to mount the drive into a folder /B
I am not sure I understood you ok.
First thing, is that fdisk doesn't format anything. It just deletes and creates partitions. Few things more.
Actually, formating is the process to create a file system. So, mkfs is what takes care of that part.
The process would be more like this:
#make partitions and use the 'w' command to write and exit
#you might need to reboot (or maybe not)
Assuming that you created a single primary partition inside sdc, it will be called sdc1. Note the slight -but very important- distinction. sdc is the whole block device, sdc1 is the first primary partition. You can create more of course, as long as you have free -non partitioned- space on that drive.
sudo mount -t xfs /dev/sdc /B
It's possible to format the drive as a whole, without partitioning it, but you usually don't do that. Hence, if you followed the convention and partitioned the drive the right way, that command should be:
sudo mount -t xfs /dev/sdc1 /B
If you can't sort it out with the info I provided, paste here exactly the commands that you used. Note that a single character can make a very big difference.