Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
hi,
I just installed fedora core 3, partitioned my 60GB HD into 2GB hda1, 54GB hda2, and 1GB swap. For some reason, I can't mount hda2. hda1 and hda2 are both ext2. any ideas??
You need to post some more information in order to anyone help you. How are you trying to mount it? By mount or by a icon? What error messages it gives you?
As a hint, I sugest you to try "mount /dev/hda2 /mnt/hda2" as root on a terminal and see what happens (/mnt/hda2 must be an empty directory, you can change it if you want).
If you are trying to mount the partition as a normal user, you problabli can`t. A normal user can`t mount anything he wants, just what is listed on /etc/fstab. Take a look there.
Disk /dev/hda: 60.0 GB, 60040544256 bytes
16 heads, 63 sectors/track, 116336 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4065 2048256 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2 4065 114220 55518592+ 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3 114221 116335 1065960 82 Linux swap
Partition 3 does not end on cylinder boundary.
/dev/hda4 1 1 31 83 Linux
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
You are trying "mount /mnt/hda2". The command "mount /dev/hda2 /mnt/hda2" should work.
To change this, you can add the line "/mnt/hda2 /dev/hda2 ext2 defaults 0 0" to your /etc/fstab.
The line above tels mout that when you write "mount /mnt/hda2" it should mount the device "/dev/hda2" there (otherwise, it doens`t know what device to mount). This device has a "ext2" fs and you want "defaults" options (don't botter now about the two trayling zeros, they are almost always zero).
If you want to mount the device automaticaly on boot, add "auto" to the options, if tou want a normal user to aount it, add "user". If you want everybody to write there, add "umask=000" (if you want to set better the permissions, see the umask manual). The options must be separated by commas ",".
Partition 1 does not end on cylinder boundary.
Partition 2 does not end on cylinder boundary.
Partition 3 does not end on cylinder boundary.
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Did you do the partitioning with Fedora at install time or some other method?
The partitioning seems to be more than a little messed up.
ampex189: You need to manually create the directory /mnt/hda2 before you can mount to it. A mount point is just a directory and it must exist before you can mount to it.
Otherwise, the command line you entered is correct and should mount the partition.
To make my life easier, I create the directory /mnt/temp as a “universal” mount point for use whenever I need to mount something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.