mount points, /home partitions, /etc/fstab's and booting
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.
As you can see, I have a root partition at /dev/hda5 and previously hda1 was windows, hda2 /boot, hda3 /swap and hda6 /home.
Knoppix has created an fstab as above, but how do I change it so that I have my previous naming convention, plus when I boot into the system, I'm booting into the /home partition at /dev/hda6 and not a /home directory at the /root partition of /dev/hda5 ?
You may find, that if you mount /dev/hda6 as your home folder, that you might not be able to log in as yourself due to permissions issues. The problem is that if the partition was made on a different system it may have allocated a different uid number to your username and group. If so, log in as root and
chown -R $USERNAME:$GROUP /home/$USERNAME
so if your username is bigjohn and your group is users that would be
chown -R bigjohn:users /home/bigjohn
Well I sort of decided this morning, that rather than stick with the knoppix I'll re-install the gentoo - but as you may appreciate, that can take a while.
Just for info, though that /etc/fstab that I posted is basically the one auto generated by knoppix on install to hard drive.
It's always been the case that for about the last 18 months I've run the system with a seperate /home partition, and as you can see, knoppix has picked up it's presence, but for reason's that I don't follow, it just decided to make it an excessible partition while making the /home a directory in the /root partition as opposed to configuring it as the /home partition.
thanks very much for the replies, much appreciated.