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.
How can I make this Data partition be readable and writeable? I tried the "chmod 777" command, but was unsure of what directory to type in . I tried several but the command wouldn't start. This partition is on the second hardrive. I am just trying to get more storage on the second hard drive, so I hope I partitioned correctly. The drive was originally mounted as usr, but I managed to shrink that and make a new partition named Data.
The drive was originally mounted as usr, but I managed to shrink that and make a new partition named Data.
The output in your last post show sdb1 mounted at /usr and that is the only mount point on a second drive. If you have a second partition on that drive it won't show with df -h if it is not mounted. Did you create a data mount point? Where? Did you try to mount it? With what command.
OK, I think I'm beginning to understand. This is the first time installing on a laptop with two hard drives. I have done four other installs but with only one drive. I thought I could have two home partitions, and when it wouldn't let me choose a second /home on the second drive I chose /usr. Now I know that was wrong.
Before I go any further here is the etc/mtab and proc/mounts info updated with the drive mounted if it makes any difference in which way I go with this.
JeremyBoden, I think I am starting to head in the right direction. I understand the first command, but not sure what you mean by adding in the extra line.
By doing the fix method will I still have access to storage on the first drive or will the /home be only on the second drive? It would seem like a waste of two 120 gig drives to only be able to write to one drive. Thanks for your help and patience!
The other parameters such as nosuid etc are a bit esoteric and not needed.
You can access data stored in /home/randy (1st disk) and also data in /media/randy/Data (2nd disk), simultaneously.
You can't have more than one partition mounted as /home at the same time - this would cause Linux to get confused!
Work for the future...
When you get it working, I would create some meaningful sub-directories in /media/randy/Data and read up about symbolic links.
Still not sure exactly what to do. I think I understand the concept but not the execution of it.
So far I will:
#1----open terminal and type in "sudo mkdir /data" and let that run...
#2----then while still in the terminal type in "sudo text_editor_of_your_choice /etc/fstab"
(Do I type that in exactly? meaning the "text_editor_of_your_choice" part?) or (I use the program "Text Editor")and let that run...
I can then open the file, "/etc/fstab" and there should only be this one line..."/dev/sdb2 /media/randy/Data ext4 rw,errors=remount-ro 0 2"..... in it?
Is it just those two commands? Then I can access the second drive?
Sorry for the dumb questions....