PDA

View Full Version : how to access other hdd partitions


ramaswamyps
8th August 2005, 02:42 AM
i have installed xmms, realplayer and mp3 support.
i cant find them in the menu bar
if run from terminal command line they work

I WANT TO GET DATA FROM WINDOWS PARTITION HOW DO I ACCESS OTHER HDDS

AND PARTITIONS?

what command will mount other hard disks and partitions?

help :)
ramaswamyps

fpoole
8th August 2005, 02:52 AM
OK, first of all, this depends on what format your Windows partition is. If you have 2000 or XP, chances are it is NTFS, which is currently read-only. To read from NTFS, open a Root Shell and do:
yum install ntfs

Now, go to /media and create a new folder with permissions for all users that need access. I would name it XP or something like that.

From there, you need to edit /etc/fstab to include:
/dev/(hd[letter][partition #] or sd[letter][partition #]) /media/(windows folder) (ntfs or vfat) defaults 0 0

Then in Root Shell, enter:
mount /dev/(drive) /media/(windows folder) -t (ntfs or vfat) -r -o umask=0222
__________________

To add your RealPlayer and XMMS to the KDE panel, right click the desktop and select "Create New -> Link to Application". Click the Application tab and add the path to the application to the "Command" field. Then drag and drop the icon next to your clock, right click it, select "Move ... Button", and put the icon where you want it. ;)

Nels664868
8th August 2005, 03:08 AM

There is no need to SHOUT!
how did you install these mulitmedia programs?

which windows are you using?

login as root and type
mkdir /mnt/windows
mount -t vfat /dev/hdxy /mnt/windows
if your windows is 98,me or 2000 this should work.
if your windows is XP change -t vfat to -t ntfs
change x,y in /dev/hdxy, x is the diskdrive (a,b,c...) y is the partion number

nels

ramaswamyps
8th August 2005, 03:12 AM
i will try that
same for other linux partitions also?
i have my windows XP 2000 and 98SE all in vfat in another hdd hdc
any way my machine is not able to boot from hdc from fc boot loader other linux installations are booting ok with this grub

i will get back here after trying the above instructions
thanks
ramaswamyps :)

ramaswamyps
8th August 2005, 03:23 AM
There is no need to SHOUT!
how did you install these mulitmedia programs?

which windows are you using?

login as root and type
mkdir /mnt/windows
mount -t vfat /dev/hdxy /mnt/windows
if your windows is 98,me or 2000 this should work.
if your windows is XP change -t vfat to -t ntfs
change x,y in /dev/hdxy, x is the diskdrive (a,b,c...) y is the partion number

nels

i have windows xp 2kp and 98se all in FAT partition in hdc

i downloaded rpm paclages of xmms and real player and the archive manager installed them automatically of course i upgraded alsa and alsa utilities with up2date
also i downloaded esound out rpm and mkmod rpm etc and they got installed by themselves.

i really dont know how to install any thing.i was happy to see as soon download completed sceen pops up programs ready for installation i say yes then it does like magic.
:) :) :) :)

ramaswamyps

ramaswamyps
8th August 2005, 05:31 AM
yum unstall ntfs
serch repos and returns invalid argument and nothig to do returns

first line i get permission denied
mount /dev/(drive) /media/(windows folder) -t (ntfs or vfat) -r -o umask=0222
for mount command i get

mount: invalid option -- 0
then help on mount blah blah
what now

ramaswamyps
8th August 2005, 05:45 AM
[root@localhost ~]# mount -t vfat /dev/hdc8 /mnt/windows
mount: mount point /mnt/windows does not exist
[root@localhost ~]#

fpoole
8th August 2005, 05:49 AM
Did you create a /mnt/windows folder?

ramaswamyps
8th August 2005, 05:51 AM
sorry i had not made the windows folder in mnt
i can see the contents now in hdc8
thanks buddy
ramaswamyps

fpoole
8th August 2005, 05:52 AM
Cheers. ;)

ramaswamyps
8th August 2005, 05:55 AM
cant we make an auto mounting during boot up?
i would like to have all partitions mounted in /mnt read write as disks with their names
i hope i am not asking too much
ramaswamyps

fpoole
8th August 2005, 05:57 AM
I still haven't gotten that part figured out. When I do I'll post here and let you know, unless someone beats me to it. ;)

ramaswamyps
8th August 2005, 06:04 AM
one more question
if i forget to umount this what happens to the partition before i shutdown?
ramaswamyps

fpoole
8th August 2005, 06:18 AM
Nothing special happens. Just that when you reboot, if you don't use the mount command you get "cannot access /mnt/windows", etc.

ramaswamyps
8th August 2005, 06:25 AM
after getting out from root login the mount does not exist again we have to mount anyway it works with su pass mount
i will try making hdc1 hdc2 hdc3 etc in /mnt and mount all of them
i can make a text file for mounting command lines and paste it on trminal upon booting whiah might work to mount all of them

by the way kdisk free in pcqlinux2005 mounts all at start if enable it
in fc kdiskfree is not there even in KDE
thanks
ramaswamyps

fpoole
11th August 2005, 05:37 AM
I know you can use a script to automount in KDE on login, and I think I know how to do it system-wide, though I'm not sure I'd chance it.

Omega Blue
11th August 2005, 09:48 AM
If you want to have the partitions available in all user accounts you need to mount them in fstab.

ramaswamyps
11th August 2005, 01:31 PM
i am using my personal comp only for me. i could not install fc in single user/su mode.
i dave to run a route add file for net to connect.so i made series of mounts of all partitions in the same fileand mounted all of the hdd partitions in witg tgeir dorresponding named folders in mnt and changed permissions to rwx . now i can copy any file from anywhere and viseversa
but it doesnt do auto mount during startup.
where is start up folder? can run sh file in the folder ?
any help on this will help the ntp sync clock while boot
any amnt of cofig of eth0 does not connect automatically
thanks for the supports

Omega Blue
12th August 2005, 04:43 AM
You can put the mount statement in your .bash_profile. It will execute everytime you login.

ramaswamyps
12th August 2005, 05:47 AM
i dont know how to edit this .bsh_profile there are # marks on all lines .this is the 4 th time total install i have done
a little more specific advice is needed i want to add to this file to start at bootupas below
route add 10.0.0.1 dev eth0
route add default gw 10.0.0.1 eth0
ping -c6 10.0.0.1
mount -t vfat /dev/hdc1 /mnt/hdc1
mount /dev/hdc5 /mnt/hdc5
mount /dev/hdc6 /mnt/hdc6
mount /dev/hdc7 /mnt/hdc7
mount /dev/hdc8 /mnt/hdc8
mount /dev/hda1 /mnt/hda1

how do i run these commands run bootup