LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2003, 03:05 AM   #1
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Rep: Reputation: 15
How do i read files from another hard disk?


I have a problem and here is the situation.
I recently decided to migrate over from windows xp... I have 2 hard disks, C and D.... C has 20 gb of space and D has about 2.5 gb of space. D is primarily used to store my mp3 files. I installed and formatted C and installed RH linux 8 on it. In order not to lose any data on D, i left D intact during the installation process. Right now, i've got my RH linux 8 running on my com.

So now, my problem is how can i get Linux to read the files on my D? Or transfer the files from D over to C ?

I hope i gave enough info... please ask me if you need any further clarification. Your help would be greatly appreciated...... Thanks

- Timberwolf
 
Old 12-03-2003, 03:18 AM   #2
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
You need to know exactly where the D partition is, C is most likely hda1 and d is most likely hda2.

From memory (if this does not work tell me so and I will find out the command syntax) type 'mount /dev/hda2 <destination>. Sometimes you will have to specify the files system type but I hope RedHat 8 can load and autodetect NTFS filesystems so this should work. The destination is where the drives partition will be mounted. There are no drives in linux, drives are mounted on folders so make you destination folder before running this command.
 
Old 12-03-2003, 03:42 AM   #3
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
I went to the terminal and keyed in dmesg and these are some of the results it posted.
apparently, my D is in hdc1.



hdc: 4999680 sectors (2560 MB) w/256KiB Cache, CHS=4960/16/63, DMA

hdc: WDC AC22500L, ATA DISK drive

hdc: [PTBL] [620/128/63] hdc1
 
Old 12-03-2003, 04:16 AM   #4
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
did you create a directory like '/music'.
did you run the command 'mount /dev/hdc1 /music'
 
Old 12-03-2003, 08:15 AM   #5
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
ok... I unmounted it already.... do you guys know how i can access my D drive?
 
Old 12-03-2003, 08:22 AM   #6
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
I could unmount the drive into 'root', how can i access the files using another user on the computer?
 
Old 12-03-2003, 11:16 AM   #7
eyewittness
Member
 
Registered: Dec 2003
Location: Netherlands
Distribution: SuSe 9.0
Posts: 44

Rep: Reputation: 15
see your /etc/fstab
 
Old 12-03-2003, 04:06 PM   #8
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
create new group
use chgrp to change the files and folders group
use chmod to give the group access rights.
 
Old 12-03-2003, 09:19 PM   #9
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
can i just use root and move the files over to under the user?
 
Old 12-03-2003, 09:22 PM   #10
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
of course you can, just cp them over to the users home directory or any place the user has access rights to.
 
Old 12-03-2003, 09:27 PM   #11
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
ok... thanks... do you think you can answer me a question i posted in another thread?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
suse 9.2 won't read my hard disk clearestchannel Linux - Newbie 9 11-09-2005 09:55 AM
Hard disk randomly goes Read-Only easykillsoft Linux - Hardware 3 06-25-2005 03:24 PM
How to read hard disk temperature ? bennethos Linux - General 2 12-29-2004 09:27 AM
suse 9.2 won't read my hard disk clearestchannel Linux - Hardware 2 11-30-2004 11:41 AM
Read Only hard disk? GTBlackwell Linux - Hardware 3 12-16-2003 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 AM.

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