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.
Well, I'd go into it, but lucky for us not too long ago Aussie wrote about how he swapped drives. Now the directions apply for swapping to all new drives the entire OS, but the idea still applies for simply adding another HD just for storage. Here's my quick and dirty, then for more info check out the link:
1. Partition with fdisk (man fdisk)
2. Format with ext3 (mke2fs -j /dev/sda1 mke2fs -j /dev/sdb1)
3. Mount the drives, oh let's say /mnt/data and /mnt/storage (first make the directories:
Then mount em:
mount -t ext3 /dev/sda1 /mnt/data
mount -t ext3 /dev/sdb1 /mnt/storage)
If you like how they mount and where they do, edit your /etc/fstab to have them mount everytime..
Thanks MasterC, I really appreciate the help. I have just a few other questions. Everything works o.k. as you indicated. I used fdisk to create the partitions, mounted them as /mnt/scsi and mnt/scsi1 and I'm able to access them for read/write operations.
The problem is, when I try to add them to /etc/fstab, I get a whole bunch of errors. Probably because I don't have a clue what I'm doing. Here is what my /etc/fstab looks like:
Yeah, call me an idiot. I didn't even pick up on that. Changing it to /etc/sda1 and /etc/sdb1 fixed the problem.
Now, the only other issue is, I created the /mnt/scsi and /mnt/scsi1 directories as root. I notice that when I login as a different user, I'm unable to write to those directories. Right now /mnt/scsi and /mnt/scsi1 are both chmod 755. Do I need to set them as 777?
Maybe I'll just give that a shot and see where it gets me.