Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-25-2003, 09:28 PM
|
#1
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Rep:
|
Reading Files off of an NTFS drive
I have installed linux mandrake 9.1 and everything seems to be running fine (except this konquerer web browser seems a little slow). I do however want to be able to read files off of a backup hard drive I used. I installed it via IDE and it shows up on my desktop as unmounted and when I click it I am not able to view contents.
How would I go about this? I am sorry, I am a first day linux user.
BTW: Contents are all my digital images and video as well as some other personal documents.
Thanks for your help
|
|
|
08-25-2003, 09:59 PM
|
#2
|
Member
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198
Rep:
|
Make sure that the NTFS module is loaded. Type modprobe ntfs at a prompt (probably Konsole for you)...
--Taj
|
|
|
08-25-2003, 10:49 PM
|
#3
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
The general idea is to create a mount point first in Mandrake then mount the filesystem from the partition on your back up drive to the mount point in Mandrake - you will then be able to see your files.
Linux sees IDE drives like this:
/dev/hda - drive on primary master channel
/dev/hdb - primary slave
/dev/hdc - secondary master
/dev/hdd - secondary slave
So - suppose your NTFS filesystem was on the first partition on your primary slave drive - Linux would see the partition as
/dev/hdb1
So you want to mount this filesystem to the mount point in Mandrake:
Open a shell and type :
su
Then type you root password – then type :
mkdir /mnt/windows
Then - open /etc/fstab with:
kedit /etc/fstab
Then - put an entry at the bottom of your /etc/fstab file on a new line - (just substitute in the device name of your Partition in place of my example one)
/dev/hdb1 /mnt/windows ntfs auto,ro,umask=0222 0 0
Once youve made the changes to Fstab - save it and reboot - this is only an example - youll have to repost to give me more details on whicj IDE channel your drive is on and what the partitions are to take it further.
MAndrake can read NTFS out of the box, so dont worry - you cant write to NTFS though - dont try it.
Last edited by Skyline; 08-25-2003 at 10:55 PM.
|
|
|
08-26-2003, 09:01 AM
|
#4
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
Quote:
Originally posted by Skyline
.....this is only an example - youll have to repost to give me more details on whicj IDE channel your drive is on and what the partitions are to take it further......
|
wow thanks for the great response
the drive shows up on my desktop as
Hard Disc
(hdb1) (not
mounted)
I believe there is one partition on the drive and it is NTFS. This partition was set up using XP but is not a system drive (has no system files, only backup data).
Thankyou for your help
|
|
|
08-26-2003, 11:03 AM
|
#5
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
ok
I have found out some more info
/dev/hdb1 /mnt/hd auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
I have this line in my fstab
I want this obviously to recognize my NTFX partition, but I dont want it to damage or corrupt it. Any help would be great.
|
|
|
08-26-2003, 11:18 AM
|
#6
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Personaly - I would just create it form scratch using the info Ive given - however since youve got a line already in fstab try this first - alter your line to this:
/dev/hdb1 /mnt/hd ntfs auto,ro,umask=0222 0 0
and save the file, reboot your computer and check to see if the files are mounted.
repost and let me know - you can always put kudzu etc etc back in later if it doesnt like it.
( Or if you didnt want to mess much to start with then try just changing the
noauto option into
auto
Also Ive changed the 3rd field to ntfs try this line first:
/dev/hdb1 /mnt/hd ntfs user,iocharset=iso8859-1,kudzu,codepage=850,auto,umask=0,exec 0 0
Last edited by Skyline; 08-26-2003 at 11:24 AM.
|
|
|
08-26-2003, 11:37 AM
|
#7
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
I am going to try this however when I do try I am not able to save it. I assume this is because I am logged in as my user name as opposed to root. How do I get into root access for this file. I went to permissions but was not allowed to change the settings.
|
|
|
08-26-2003, 11:41 AM
|
#8
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi Was
Open a shell and type :
su
Then type you root password
open /etc/fstab with:
kedit /etc/fstab
Also - read my edit above - try this one first -
/dev/hdb1 /mnt/hd ntfs user,iocharset=iso8859-1,kudzu,codepage=850,auto,umask=0,exec 0 0
If you still need to try this one last
/dev/hdb1 /mnt/hd ntfs auto,ro,umask=0222 0 0
Last edited by Skyline; 08-26-2003 at 11:44 AM.
|
|
|
08-26-2003, 11:48 AM
|
#9
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
this is what I get
[j@clt88-151-086 j]$ su
Password:
[root@clt88-151-086 j]# kedit/etc/fstab
bash: kedit/etc/fstab: No such file or directory
[root@clt88-151-086 j]# cd etc/fstabb
bash: cd: etc/fstabb: No such file or directory
[root@clt88-151-086 j]# etc
bash: etc: command not found
[root@clt88-151-086 j]# dir
amsn_received Desktop Documents Mail msn tmp
[root@clt88-151-086 j]#
|
|
|
08-26-2003, 11:48 AM
|
#10
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi Was
In general - you edit configuration files as root user by
Opening a command line shell
Type
su
Then type you root password
Then type
editor filename
in your case its
kedit /etc/fstab
|
|
|
08-26-2003, 11:49 AM
|
#11
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Was you need a single space between
kedit
and
/etc/fstab
|
|
|
08-26-2003, 11:50 AM
|
#12
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
i did that and i got no such file found
^^see above post
|
|
|
08-26-2003, 11:51 AM
|
#13
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Did you have a single space between
kedit
and
/etc/fstab
?
|
|
|
08-26-2003, 11:53 AM
|
#14
|
Member
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95
Original Poster
Rep:
|
ok i got ya there
however
when I do this I get a blank window
I already have a wrong line in there I need to remove...
|
|
|
08-26-2003, 11:55 AM
|
#15
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
So when you try to open /etc/fstab with kedit you get a blank window?
How did you get the fstab entry before which you posted?
|
|
|
All times are GMT -5. The time now is 09:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|