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.
Ok, I read tutorials and managed to get networking setup between my windows machine and the linux server. However, everytime I restart the computer, it appears the 2 hard drives become unmounted. I am running 3 hard drives, a 40GB that has the os on it, and 2 500GB drives for storage. Both seem to be unmounted everytime I restart. Therefore I have to mount them before I can access them again through network. How do I permately mount them?
I have been reading those sites and I guess im just too new to linux right now. I am very confused lol. Have been trying to figure this stuff out but it is not making much sense. I did find another site that seems to be making some sense, however, it is not completely working.
I have got everything to work till the part of sudo mount -a. That is where the problem arrises. I did change one part, my drive location is /dev/sdb1, so I put that on the fstab file instead of the /dev/hda5.
I have a photo attached showing the problem. This is probably something simple, but right now to me , this is complicated lol.
Sorry for having to do this the picture way, but something messed up on the network and I think its my cable. Have not made another one yet, so for now , I am taking pictures. Here they are on what you requested me to do.
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Your two 500 gig hard drives are recognized by the system as
/dev/sdb1 ext3 Type 83 (Linux)
/dev/sdc1 ext3 Type 83 (Linux)
You need to add a mount point for each disk. You have already established a mount directory of /storage but you will need a mount point for each disk. For example /storage/disk1 or /storage/disk2, /storage/d1 or /storage/d2 or /storage/mirror or /storage/backup. It is up to you to choose a name you wish to use which is easy to remember and/or type.
Make the mount points as follows:
mkdir /storage/disk1 (or whatever name you choose for disk 1)
mkdir /storage/disk2 (or whatever name you choose for disk 2
Then add the following lines to you /etc/fstab with an editor such as nano, vi, etc. Caution: Make a copy of your original /etc/fstab file first! (cp /etc/fstab /etc/fstab.orig)
Add these lines to /etc/fstab:
# mount /dev/sdb1 as /storage/disk1
/dev/sdb1 /storage/disk1 ext3 defaults 0 0
# mount /dev/sdc1 as /storage/disk2
/dev/sdc1 /storage/disk2 ext3 default 0 0
NOTE: If you are not certain as to the type of disk format you can use the work "auto" instead of "ext3" in the above lines.
Save the file and run to mount your new disks without rebooting your computer (hereafter your computer will automatically recognize these disks upon startup)
Then type the following to see your mounted devices and locations:
and you should see your mounted devices and their system names and information.
HINT: You can see what space is being used on each disk with the following command: