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.
Here is the deal, I run a slackware 9.1 box and I have 4 partitions, one for /, one for /music, swap space and lastly boot. I recently had to reinstall slack, (my fault don't ever try and upgrade you kernel without backing up your old one and leaving it as a boot option). i did not touch fdisk and just went ahead with the install, i did not reformat the /music partition, and now i cannot see it. Is there anyway i can mount the partition? if so what is it?
At any rate, I have learned lots about linux from this little adventure.........
yea i have, i get:
/dev/hda2 not found in etc/fstab
soooo i tried to edit /etc/fstab to include /dev/had2, still the same problem..... i know the partiton still exsits and that the stuff on it is there, i am just baffled as to why it does not want to mount...
cat /etc/fstab does not show /dev/hda2 i would post the entire thing, but alas, i have to use a windows computer (boo) to post this since i am at home, and have no modem on my laptop. The /etc/fstab looks somthing like this
/dev/hda1 / ext3 linux
/dev/hda3 boot boot boot
/dev/hda4 swap swap swap
that is not verbatim but the general idea (i dont have the laptop around) so now what..... i tried to edit it using pico, however the same error occured.... weird.... any way thanks for the help
ok, so i modify fstab so it look like this
/dev/hda2 /music ext3 umask=000,rw 10
/dev/hda4 swap swap defaults 00
/dev/hda3 / ext3 defaults 11
/dev/cdrom /mnt/cdrom iso966- noauto,owner,ro 00
and i still cant mount the thing, so i tried "mount -t reiserfs /dev/hda2 /mnt/yourdirectory" both with the mod to /etc/fstab and without and it returns:
"mount: wrong fs type, bad option, bad superblock on /dev/hda2, or too many mounted file sysems"
One thing , did you try this as root?
Dont worry about modifying your fstab file just yet.
just change to the /mnt directory and try mounting your filesystems there
try the following as root
mount -t reiserfs /dev/hda2 /dev/music
mount -t ext2 /dev/hda2 /dev/music
mount -t ext3 /dev/hda2 /dev/music
this is assuming that you have a directory called music in your /mnt directory.
One thing, you dont have to put an entry in the fstab file to make the filesystem work, if you cant moun't the filesystem as root manually, then fstab wont be able to mount the filesystem either.