LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-10-2005, 07:35 PM   #1
alrave
LQ Newbie
 
Registered: Jul 2005
Location: Dark side ofthe moon
Distribution: Mepis
Posts: 7

Rep: Reputation: 0
how do i


I used to have Suse installed in my pc, but i moved to Fedora because i was having trouble with my video card.
Now the video card works fine, but the thing is that i have my HD partitioned in tree parts. One for windows, one for Fedora and one for Media Files, now i cant access the media files partition from fedora. Id like to know how to do that...
Thxs
 
Old 07-10-2005, 08:53 PM   #2
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
Try posting your /etc/fstab first so we have some idea for your device setup and permissions.
 
Old 07-11-2005, 10:24 AM   #3
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Rep: Reputation: 15
You must simply configure your system to mount this partition by editing /etc/fstab. First, run the command "fdisk -l" (that's an L), which will list the partitions on your disks. Look at this output and determine which is your media partition, for example, /dev/hda4. If you are having trouble, look at the values under the System column. I'm assuming your media is a windows partition, so it will likely say HPFS/NTFS. Now open /etc/fstab in your favorite editor and add the following line:

/dev/hda4 /mnt/windows ntfs defaults 0 0

where:
/dev/hda4 is the name of your partition, you should change this to whatever you determined was your media partition using fdisk -l

/mnt/windows is the location at which you'd like this filesystem to be available. Note that you must create this mountpoint, so, if you are using /mnt/windows, you must do a "mkdir /mnt/windows" before you can mount your partition there

ntfs is your filesystem type. Since you are using XP, this will probably be NTFS. If you are using the FAT32 filesystem, use vfat here instead.

defaults is the options with which the filesystem is mounted. You can put various options here, such as noauto (don't mount automatically at boot), umask (default file permissions), etc.

0 0 tell the operating system when the partition should be checked, these are not necessary for NTFS so we use zeros.

Once you have completed your /etc/fstab and created the necessary mountpoint, you can say "mount /mnt/windows" or whatever your mountpoint was, and you should be able to access your media partition there. Since it is in your fstab file, it will automatically be mounted there each time you reboot.
 
Old 07-11-2005, 01:28 PM   #4
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Wouldn't he run into a problem if the partition was NTFS? Fedora doesn't natively support NTFS. I know there are some packages to read NTFS partitions available.

If it's FAT, he should be good to go.
 
Old 07-12-2005, 10:06 PM   #5
alrave
LQ Newbie
 
Registered: Jul 2005
Location: Dark side ofthe moon
Distribution: Mepis
Posts: 7

Original Poster
Rep: Reputation: 0
first of all, thanks for your help.
i followed tommyr1216 and did everything in his post, but im still unable to see my media partition...
ill post my fstab...
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-hda1 swap swap defaults 0 0
/dev/hda5 /mnt/windows ntfs defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/hdb /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0

i dont find the files, i searched in mnt/windows and it was empty, and i tried to open dev/hda5 (thats how i used those files when i used suse) and it keeps asking me wich program do i want to use to see the files, and no matter the program i choose it keeps asking me...
any help here would be aprreciated...
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:58 PM.

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