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.
will tell you what partitions are available for mounting, then
mount /dev/XXX /mnt/hd
should do the trick. /dev/XXX is the partition name, like /dev/sda1 and such. Unless you provide more information on what you're attempting to do, I'm afraid, there's nothing else to say...
mount -t ext3 /dev/sda2 /mnt
where ext3 is the filesystem (could be something else), /dev/sda2 is the device (could be something else) and /mnt is the directory to be used as the mountpoint (could be something else).
I actually doubt this is homework - if homework is getting that easy, then the world is doomed :-)
In my experience, this absolutely fits a very common "homework" pattern:
One post only
No context
No follow-up
Quote:
mount -t ext3 /dev/sda2 /mnt
I know you meant this to be generic, but you would never want to literally mount a device to /mnt. This would hide anything that was mounted to a directory inside /mnt
So, the generalized notation could be "/mnt/<mountpoint>" The "<...>" is the common notation for a placeholder--ie something to be replaced with the real value in the user's situation.
I actually doubt this is homework - if homework is getting that easy, then the world is doomed :-)
Unfortunately, you may be right.......but not because homework is getting too easy. Rather, I think that students are getting lazy and less principled. Probably the most generic "root cause" is a world becoming increasingly diverse, complex, diffuse, and just plain confused......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.