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.
I got a ide driver with ntfs on that would like to mount and as well my MP3-Player, into linux. so what I wanna know is,
if I connect everything how do I then check if it is hda or hdb and that?
and as well what is the mount command, and when I mount can I choose where ever I want or must it be on some specific place?
ok, I'm a newbie so I would not trust a thing that I say without doing some research yourself
' I connect everything how do I then check if it is hda or hdb and that?'
The true answer is I don't know if there is a utility to check which will indicate which devices are pluged in.
First with hard drive it goes like this
hda = IDE master on 1st cable
hdb = IDE slave on 1st cable
hdc= IDE master on 2nd cable
hdd= IDE slave on 2nd cable
So what this means is that you must find out what cable the drive is pluged in and if the drive is the master or the slave.
Now you wanted to see know about the mount command
I would try something like mount -t ntfs /dev/hda1 /home/blackman/winblows_stuff
/dev/hda1= IDE Master on 1st cable and on the 2nd partition (d drive)
/home/blackman/winblows = folder where contents of drive or partition is viewable. ( does not have to be in any special place but best to keep in /home/'username' or in /mnt directory)
Now, remember that if winblows directory doesn't exist than it will need to be created with the mkdir command.
Now, let me put you up on a little game. Most people doesn't want to answer your questions when you haven't done any research ( which you clearly have not done) So before you go asking question. PLEEEASE do some research. Use man pages, yahoo or goggle search, or do a search on this website and read how other have solved similar problem. Just like in everyday life, things are not just going to be handed to you. You must take steps before anyone will take steps towards you.
One more question though....what distribution do you have? Are you sure it supports NTFS, because if it doesn't it may not be able to even read your NTFS drive...Just my thoughts! If it turns out that your distro doesn't support NTFS, there's always the Linux NTFS Project which will allow you full read access for NTFS-formatted systems. You may even want to consider re-formatting your (external, is it?) hard drive with FAT32, which will allow you both read and write access from Linux.
OKEJ I confess Im guilty in the charge of not using google :P
But thanks for your great answer. have to write that down as well.
Im using Debian 3.1
Its one external IDE drive one internal and my usb flash mp3 player I want to mount, my hardrives is NTFS hmm dunno if I wanna format to FAT32 on the external last week I did reformat to NTFS from FAT32 cause of FAT32 restriction. :P
I read about that sourceforge project ebfore sounds great
Also, I found this handy page about NTFS mounting/reading/etc... all from a simple Google search : Linux-FAQs - NTFS. I advise you to take a look at it...
4.5 How do I mount an NTFS Volume?
First of all, it might be an idea to check that your kernel understands NTFS. The command below will give a list of all the filesystems that Linux understands. If you see ntfs, then you are OK. Also it might be a good idea to read the mount manual, man 8 mount.
Next you need to create a place to mount the NTFS Volume. Then you can mount it.
mount /dev/hdxy /mnt/windows -t ntfs -r
To alter the permissions of the mounted filesystem, see the umask option in Section 4.6. If you would like to have the volume mounted automatically at boot time, see Section 4.10.
When you have finished, you can unmount the partition with either of:
Also with USB flash drive the device comes up as a scsi so the device might be /dev/sda or sda0 or sda1. This is how I mounted my usb flash drive.
mount -t auto(or vfat) /dev/sda1 /mnt/usb
I used auto on the as the file system. mount suggest against this and says that it is best to place the correct file system in the mount command ( can find this out with the dmesg command. You can also find which device the usb is on. )
I also created the usb folder inside of mnt with the mkdir /mnt/usb command. You must be root do to preform to create directory and mount drive.