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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.........
mike
it returns
Device Boot Start End Blocks Id System
/dev/hda1 * 1 31 248976 83 Linux
/dev/hda2 32 883 6843690 83 Linux
/dev/hda3 884 4741 30989385 83 Linux
/dev/hda4 4742 4864 987997+ 82 Linux swap
/dev/hda2 is the partition i want to mount
thanks,mike
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...
thanks, mike
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
mike
Just folloewing along here this was suggested
mount /dev/hda2 /mnt/yourdirectory
but try this as well with the various filesystems
mount -t reiserfs /dev/hda2 /mnt/yourdirectory
note the -t for the type this is assuming your hd has a reiserfs or just put the filesystem that you used in its place.
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"
thanks
mike
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.