Mount devices
Hi!
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? //Granden |
Hi,
Welcome to LQ! Once you've plugged your MP3 Player/whatever, go into terminal and type in "dmesg". Look at the output of that and eventually you should find your MP3 Player. Right, now, with the MP3 Player still plugged in, go into terminal, type in "su", the root password, and then go and type the following: Code:
mkdir /media/mp3player J_K9 |
Ok, thanks for the fast response. Sounds really easy just need to write that down so I can try when I come home.
|
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 ntfs= filesystem /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. -Landon |
You're welcome ;)
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. :D |
Just FYI, note that you should NOT try to write to an NTFS partition from Linux; the only driver avail is marked as EXPRIMENTAL status... you have been warned.
Reading should be ok. |
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 :p : Linux-FAQs - NTFS. I advise you to take a look at it...
Quote:
J_K9 |
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. Take care bratha, -Landon :newbie: |
All times are GMT -5. The time now is 07:18 AM. |