Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
How do I go about setting up linux to read multiple partitions? I assume I need to make sure that both partitions are mounted when linux is brought up, but I'm not quite sure how to do that. I currently have a dual boot system set up, hdc1 contains windows xp on fat32, and hdc4 contains gentoo linux. I want to be able to read and write to/from hdc1 from linux. Anyone?
As root, edit /etc/fstab to add this line:
/dev/hdc1 /mnt/thatotheros vfat default 0 0
mkdir /mnt/thatotheros
creates a mount directory.
When you reboot or , as root, type
mount /mnt/thatotheros
you will be able to read the files in /mnt/thatotheros
Originally posted by RobertP As root, edit /etc/fstab to add this line:
/dev/hdc1 /mnt/thatotheros vfat default 0 0
mkdir /mnt/thatotheros
creates a mount directory.
When you reboot or , as root, type
mount /mnt/thatotheros
you will be able to read the files in /mnt/thatotheros
Hey, I followed your instructions using windoze in place of "thatotheros", and I could see my "C: drive" in /mnt/windoze, however, the folders/files were unuseable, all of the icons are the same, and they are all of the same type , defined as "unknown type". Have I done something wrong? I followed your instructions exactly, I also tried changing "vfat" to "fat32" but that didn't help either.
Originally posted by gauntalus Hey, I followed your instructions using windoze in place of "thatotheros", and I could see my "C: drive" in /mnt/windoze, however, the folders were unuseable, all of the icons are the same, and the type is defined as "unknown type". Have I don't something wrong? I followed your instructions exactly, I also tried changing "vfat" to "fat32" but that didn't help either.
So you can read it, but you can't... use it????
The icons are the same, the type of what is unknown?
vfat is the filesystem you will want to use, it's the linux equivilent of fat32.
If you need to write to this device, as a user, and that's your problem, then you'll need to edit the options portions of your fstab entry. This is the part where the above example has "default" listed. You'll need to edit that to at least read:
Hey, I tried changing fstab to what you said, but I'm still having problems. Now when I click open the "computer" icon on the gentoo desktop, I can see a "drive" with a green light on it labeled "windoze". However, when I double click it I get an error:
Code:
Unable to mount the selected volume. The volume is probably in a format that cannot be mounted.
mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems.
Looks like I'm close, but I still don't understand whats wrong...
**edit** I guess to clear some things up I should be more specific, I changed default to exactly what you said, I did not substitute actual user names for "users". Also, I'm trying to acess this drive from my user account named "gauntalus".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.