LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-25-2004, 03:40 PM   #1
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Rep: Reputation: 15
Reading multiple partitions


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?
 
Old 12-25-2004, 04:16 PM   #2
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
make sure an entry for that partition is added into fstab. I can't tell you how exactly because I can never remember myself.
 
Old 12-25-2004, 04:25 PM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
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
 
Old 12-25-2004, 08:51 PM   #4
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
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.

**edit**
just fixing a horde of typos

Last edited by gauntalus; 12-26-2004 at 03:56 AM.
 
Old 12-26-2004, 02:42 AM   #5
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
**bump**
 
Old 12-26-2004, 02:52 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
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:
Code:
/dev/hdc1        /mnt/whatever          vfat         users,umask=007,gid=users       0         0
Cool
 
Old 12-26-2004, 03:36 PM   #7
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
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".

Last edited by gauntalus; 12-26-2004 at 03:38 PM.
 
Old 12-27-2004, 01:17 PM   #8
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
**bump**
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading NTFS Partitions contrasutra Slackware 13 03-20-2006 02:01 AM
reading FAT32 partitions in FC3 Digital Surgeon Fedora - Installation 1 02-08-2005 04:20 PM
Reading other partitions from Mandrake 10 gbrewste Linux - Newbie 3 06-16-2004 02:06 AM
reading partitions twinkers Linux - General 2 10-12-2003 02:37 AM
Reading partitions in Windows Frank Linux - Newbie 1 06-21-2002 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration