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.
I've got a second hard drive (hdc) in my system, and I can't access it.
I've been using Mandrake for quite some time, and decided to try SUSE and Red Hat. Both SUSE and Mandrake automatically set up a subdirectory in /mnt for hdc, but Red Hat didn't.
How do I configure Red Hat 7.2 so I can access my backed up /home directory on hdc?
If this is documented somewhere, please tell me where and I'll find my own answer, but as a Linux newbie I honestly don't have a clue as to which FM I need to R. (There should have been a "T" in there somewhere, but there's not.)
I guess that's my real question. What specific document will tell me how to attach hdc to a directory in /mnt?
you first need to know on what partition of hdc is your backed up /home
and what filesystem it uses - ext2/3 ?
mount -text2/3 /dev/hdcN /mnt/backup
/mnt/backup must exist for this to work, you should figure out on which partition of hdc is the data you need, and the original filesystem.
in redhat to use a partition automatically you have to specify the mount point. i think didn't specify that. you can make a directory for hdc in /mnt mannually and add an entry in /etc/fstab to mount it automatically each time linux boots.
read fstab manual page.
if you want to set your backed home directory as your currect home dierectory use adduser -D option. Read useradd man page
Get into a console screen or a terminal window and run the command fdisk -l /dev/hdc. This will give you a list of partitions on hdc.
mount -t ext2 /dev/hdc? /mnt/home_backup
This will create the directory home_backup for the mount point and try to mount the partition /dev/hdc?. Replace the ? with the correct partition number. If the mount command works, you could add a line to your /etc/fstab file to make it easier to mount it.