Help - Search - Members - Calendar
Full Version: Finding My Ntfs Drive
Linuxhelp > Support > Technical Support
neuman1812
OK so i got tired of windows...And i upgraded to Redhat 9.0. I had two drives in my computer..
1 with windows ..1 with all my files (mp3/movies/pics) etc....

anyway.. I reformated the windows drive (c:) and left the (d:) drive alone in NTFS format..

So this is my question....where the heck is it? I have installed linux on the original drive (c:)

but I cant seem to find my (d:) drive I did the standard setup during instalation...so i dont know if it picked up the second drive or not.

Sorry if thies seems like a silly question..but Im new smile.gif
Joey
It would all depend on your partition scheme.

Linux partitions on IDE drives are like the following:

/dev/hda1
/dev/hda2
/dev/hda3 and so on.

It is likely one of those. Keep in mind linux and NTFS don't get along all that well. You won't have read/write access to the partition from linux (well you can but you will likely lose all the data).

Have a look at http://linux-ntfs.sourceforge.net/index.html for information on how to get NTFS to work.
michaelk
As the previous post indicates you will need to add read support for the NTFS partition. To see how your disk is partitions logon as root and use the fdisk command i.e.

fdisk -l /dev/hda

This will show a table of partitions IDs and filesystem types. Then create a mount point and add an entry to your /etc/fstab file

mkdir /mnt/windows

Add to /etc/fstab
/dev/hday /mnt/windows ntfs ro,user 0 0

Where hday is the partition as listed from fdisk. It is probably hda5.
chrisw
to be able to read your ntfs partition you either have to recompile your kernel...which is somewhat ok...
or you can install the kernel-ntfs kernel rpm being the easiest to do....
slinshot
how do i install kernel-ntfs..? Help please
also when i type su I place my username (the one i use to log in ) then i put in my password (Root pw ) yet it tells me that i dont have acces to certain things... help please i just installed linux red hat 9.0 on saturday and i want to stay with it
Joey
Have a look at http://linux-ntfs.sourceforge.net/info/redhat.html for information on how to get NTFS to work. They have pretty decent installation instructions.
slinshot
How do i become a root though? help
Joey
Either log in as root or run

su - root
slinshot
Joey i do su then username and root pw
however sometimes it says i dont have access to certain things.
is my username the same i use to log in?
Joey
If you are trying to be root then the username is root

you would run this exactly:

su - root

and then give the root password

As far as access to certain things, I would need exact names and error messages.
slinshot
/dev/hda1
bash: /dev/hda1: Permission denied
thats the message i got : also i installed the ntfs rpm and i received this
# mount -t ntfs /dev/hda1 /mnt/WinXP
mount: /dev/hda1 already mounted or /mnt/WinXP busy
mount: according to mtab, /dev/hda1 is already mounted on /mnt/WinXP

i have windows xp on my D: drive im weird like that .. I have 2 partitions on windows xp C: and D:
i have all my mp3s and my movies which is wat i want access to ..help please
also i installed the rpm kernet ntfs 2.4.20-19.9.athlon cuz i have an athlon processor.

ok i suppose its mounted now it says i have no access to view this files... how do i gain access to this files help guys please :
hughesjr
OK ...

make sure you are not in the /mnt/WinXP directory when you issue the mount or umount commands!

Then do a:

umount /dev/hda

then do a:

ls -al /mnt/WinXP/*

to make sure there are no files in that directory. Delete any files in /mnt/WinXP ... make sure you are unmount first! (Also make sure the directory /mnt/WinXP actually exists).

then from outside the /mnt/WinXP directory type:

mount -t ntfs -r /dev/hda1 /mnt/WinXP

Make sure you are outside the /mnt/WinXP directory when you mount ... and make sure you use the -r switch for read only ... or it will not mount. If -r doesn't work try -o ro instead of -r.

Then the command ls /mnt/WinXP/* should show you all the files on your windows C: drive...

--------------------------
If that works, to mount the D: drive you will need to know what partition it is ... is it a seperate hard drive ... or is it a partiton on the boot drive?

If it is a partition, you can use fdisk to figure out which one it is....BE CAREFUL, fdisk can be dangerous....use the command:

fdisk -l /dev/hda

This will list the partiton tables without allowing access to fdisk....if the D: drive is not on the boot drive (/dev/hda) but another drive, then use that device...

The devices are:

IDE Primary Master - /dev/hda
IDE Primary Slave - /dev/hdb
IDE Secondary Master - /dev/hdc
IDE Secondary Slave - /dev/hdd

so if the WinXP D: drive is on a seperate hard drive and plugged into the secondary channel as a slave drive the command to list the partitions on that drive would be fdisk -l /dev/hdd. You will see an NTFS partition type for NTFS disks...

If you also want to mount the D: drive then in the mount directory, create a new directory called /mnt/WinXP-D

the command would be:

mount -t ntfs -r /dev/hdxx /mnt/WinXP-D
(substitute the proper device for /dev/hdxx ... like /dev/hda2 or /dev/hdd1, etc.)
slinshot
The C: and D: drives are on the same hard drive.. same as the linux partition.. Im at school atm when i get home ill try those commands i appreciate. Ill let u know if they worked or not.

I also found some links which can help me with software.
Third day on linux ph34r.gif i like it .. how do i change like my toolbar and stuff.. hehe
(sorry if im annoying i just want to learn)
hughesjr
to add items to the toolbar - Depends on wether you have KDE or GNOME as your window manager ... the default for RedHat 9 is GNOME, so I'll assume that's the one you have.

To add items tothe toolbar, just right click on the toolbar and and select add to panel ... if you want to add an icon from a menu item, select Launcher From Menu and pick the item you want to add.

You can change the size, color, etc of the toolbar (and icons on the toolbar) by right clicking the toolbar and selecting properties.

You can add a new toolbar by right-clicking any toolbar and selecting New Panel.

You can move items from one toolbar to another by right-clicking the item ... select Move and then moving it on the current toolbar (or to another toolbar) and clicking where you want it to go.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.