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.
I have a 30 gb hard drive with two linux partitions on it. Anyway, I'm already using one partition for Mandrake 10.0, and the other one is empty. Everytime I try to mount the empty partition (even as the root) it says "Permission Denied". Anyone know how to fix this?
Here it is:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 20310 10236208+ 83 Linux
/dev/hda2 20311 50822 15378048 5 Extended
/dev/hda5 20311 50822 15378016+ 83 Linux
Originally posted by nodnarb Here it is:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 20310 10236208+ 83 Linux
/dev/hda2 20311 50822 15378048 5 Extended
/dev/hda5 20311 50822 15378016+ 83 Linux
hda2 is an extended partition and can not be mounted. In a nut shell it is a container for logical partitions. Any partition >=5 is a logical. In the beginning of drive history one could only create 4 partitions. Since only 4 partitions wasn't enough the extended / logical scheme was developed. The original partitions are now known as primary and have an ID of 1-4.
What you are trying to mount is /dev/hda5.
mount -t ext2 /dev/hda5 /mnt/<where_ever>
You will need to create a directory using the mkdir command prior to mounting the partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.