Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Finding My Ntfs Drive, Finding my NTFK drive
neuman1812
post Jul 25 2003, 04:03 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 25-July 03
Member No.: 1,153



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
Go to the top of the page
 
+Quote Post
Joey
post Jul 25 2003, 04:05 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



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.
Go to the top of the page
 
+Quote Post
michaelk
post Jul 25 2003, 06:14 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



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.
Go to the top of the page
 
+Quote Post
chrisw
post Jul 25 2003, 09:55 PM
Post #4


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



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....


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
slinshot
post Jul 28 2003, 10:56 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 28-July 03
From: nj
Member No.: 1,162



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


--------------------
slinshot17@hotmail.com >>>>Linux newb<<<user posted image
Go to the top of the page
 
+Quote Post
Joey
post Jul 28 2003, 11:00 AM
Post #6


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



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.
Go to the top of the page
 
+Quote Post
slinshot
post Jul 28 2003, 11:12 AM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 28-July 03
From: nj
Member No.: 1,162



How do i become a root though? help


--------------------
slinshot17@hotmail.com >>>>Linux newb<<<user posted image
Go to the top of the page
 
+Quote Post
Joey
post Jul 28 2003, 11:13 AM
Post #8


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Either log in as root or run

su - root
Go to the top of the page
 
+Quote Post
slinshot
post Jul 28 2003, 04:42 PM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 28-July 03
From: nj
Member No.: 1,162



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?


--------------------
slinshot17@hotmail.com >>>>Linux newb<<<user posted image
Go to the top of the page
 
+Quote Post
Joey
post Jul 28 2003, 06:00 PM
Post #10


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



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.
Go to the top of the page
 
+Quote Post
slinshot
post Jul 28 2003, 06:32 PM
Post #11


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 28-July 03
From: nj
Member No.: 1,162



/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 :


--------------------
slinshot17@hotmail.com >>>>Linux newb<<<user posted image
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 29 2003, 05:13 AM
Post #12


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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.)


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
slinshot
post Jul 29 2003, 06:55 AM
Post #13


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 28-July 03
From: nj
Member No.: 1,162



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)


--------------------
slinshot17@hotmail.com >>>>Linux newb<<<user posted image
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 29 2003, 07:18 AM
Post #14


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 07:10 AM