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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could someone please tell me a website or a good book which explains, what does mounting mean, and how it is done and how it works , coz this mounting stuff is soooooo confusing that i am sick of it.
Please reply soon
Mounting is just the term given to making the contents of something like a CD-ROM, floppy disk or hard disk partition available. Its a bit like creating a logical link between a location on your file system and a physical device. So doing something like
Code:
mount /dev/fd0 /mnt/floppy
tells the system that when you access the /mnt/floppy directory that you really want to deal with the contents of device /dev/fd0 (your first floppy disk).
Does that make any sense? What bit is confusing you?
well thanks a lot jamine
but i am trying to mount my floppy drive the way you mentioned above, but why did you use fd0 can't we use some thing else, and if we do use fd0, is it a convention or there is a rule behind it
one more question do we mount floppy drive or the floppy disk(and the filesystem of floppy disk with which it is being formatted).
what if i want to mount my other part of the hard disk which has winXP on it so that i can play music while in linux and how do i know that if winXP partition is hda1, hdb7 or whatever it is. how do i find that out
please reply
Originally posted by sadiboyz but i am trying to mount my floppy drive the way you mentioned above, but why did you use fd0 can't we use some thing else, and if we do use fd0, is it a convention or there is a rule behind it
/dev/fd0 is a special file that is linked to the first floppy disk drive on your system. You could create another file say called /dev/floppy using the mknod program or you could create a symbolic link (symlink) from /dev/fd0 to /dev/someOtherName however /dev/fd0 is the convention used and no one really bothers to change it.
Quote:
Originally posted by sadiboyz one more question do we mount floppy drive or the floppy disk(and the filesystem of floppy disk with which it is being formatted).
I don't quite follow what you mean. When you mount a floppy disk you are really accessing the file system on whatever disk is in that drive. Because you are accessing the file system on that specific disk you need to unmount (umount) then remount (mount) the drive if you are going to change floppy disks.
Quote:
Originally posted by sadiboyz what if i want to mount my other part of the hard disk which has winXP on it so that i can play music while in linux and how do i know that if winXP partition is hda1, hdb7 or whatever it is. how do i find that out
You use a similar mount command, although exactly what device you use depends on your system. Here's how the conventions work. /dev/hda is the first IDE device (the master device on your first IDE chanel) in your system. This is nearly always a hard disk. /dev/hdb is the second IDE device in your system (the slave device on your first IDE chanel). /dev/hdc is the third IDE device (the master device on your second IDE chanel). /dev/hdd is the fourth IDE device (and what a surprise - it's the slave device on the second IDE chanel). But these are just the devices...
Things like hard disks also have partitions, so... /dev/hda1 is the first partition on the first IDE device, /dev/hda4 is the forth partition on the first IDE device. The third partition on your fourth IDE device would be /dev/hdd3. You follow?
So exactly which device you mount to get to your WindowsXP file system depends on exactly which partition you have installed windows on. You may be able to figure this out from doing cfdisk /dev/hda and seeing what it shows you. If you had windows installed on the first partition on your first hard disk then you would use
Code:
mount /dev/hda1 /someDir
where /someDir is a directory that you have already created.
hai guys i am new and i don't know how to use the forum i posted that first message like two days back and i tried what you guys suggested and it didn't work so i did it again today ,so sorry if i have done something worng
We're just saying that its best to keep all your similar questions in the same thread, and if we suggest something and it doesn't work them reply in the same thread, rather than asking another question about pretty much the same thing. It just makes it easier to follow whats been tried and get an idea for what the problem may be if all the info is available in one place.
Having said that, if you do have a completely new question then put it in a new thread, otherwise people won't realise that it's a new question and you'll probably get no answers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.