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 recently set up a linux box to act as my PVR. I have the OS installed on a 5 gig hard drive (primary Master). I divided this drive into a boot partition, swap partition, and a partition for everything else. The CD ROM set up as the slave on the primary channel. I also had a 20gig drive installed the Secondary Channel as the Master, and set it to have a boot point of /myth (which would hold mythtv related stuff.
After I got everything running (OS installed, myth installed, etc) I noticed that my 20 gig drive was only recognizing 10 gigs worth of space. I don't really know why, but I suspect I made a mistake when I created the partition and only set it to 10 gigs. Either way, I thought I would fix it by removing the partition on the drive, and reformat it (to ext3) to include the entire drive.
To accomplish this, I
(1) Went into /etc/fstab and commented out the /dev/dhc drive so it would not mount at boot time, resulting in this file...
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
#LABEL=/myth /myth ext3 defaults 1 1
I figured I could just go back to fstab and just uncomment /dev/hdc/ so that the drive gets mounted, but when I do this the system complains and won't load. How do I add my drive back into the system???
That line doesn't go into fstab. It's being run from
a shell as root. I assume that you didn't use any
GUI tools to re-create the partition? If you didn't
it won't have a label, which is what you're referencing
from the fstab.
The alternative would be to just change the line from
LABEL=/myth /myth ext3 defaults 1 1
/dev/hdc /myth ext3 defaults 1 1
All of that of course assumes that when you said you
formatted it you used ext3 as the file-system as well.