LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2006, 06:23 AM   #1
moredhel
LQ Newbie
 
Registered: Aug 2006
Location: the Depths of Angband
Distribution: Fedora Core 5
Posts: 25

Rep: Reputation: 15
accessing music files on windows NTFS hard drive


EDIT: Using FC5!


Is it possible to somehow read my ntfs hard drive? because i didnt think that linux could read ntfs, only fat32.

basically i have a 3 partitions:

windows
linux
backup (made in windows)

backup has all my music on it aswell, and i would like to access from my linux aswell.

i thought of one possible way, that was to reduce the size of the windows partition then make a 4th partition as fat32, then transfer accross all of the stuff, then format the ntfs backup partition, and merge that with the windows partition, leaving me the exact same, but a fat32 partition 'backup' instead of ntfs.

but i was wondering, is there an easier way?

(also is it true that you can't get shockwave for linux!?)

Last edited by moredhel; 08-31-2006 at 06:41 AM.
 
Old 08-31-2006, 07:48 AM   #2
goggyturk
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Rep: Reputation: 15
You should be able to mount and read from the NTFS partition. Writing isn't so well supported and comes with a health warning for most distros although that may be changing with recent kernel releases?

Use fdisk -l hd? to find where your windows partition is then use the mount command or alter your /etc/fstab file to include the entry..
 
Old 08-31-2006, 08:01 AM   #3
moredhel
LQ Newbie
 
Registered: Aug 2006
Location: the Depths of Angband
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
when i do fdisk -l it says

'bash: fdisk: command not found'

um?
 
Old 08-31-2006, 08:13 AM   #4
moredhel
LQ Newbie
 
Registered: Aug 2006
Location: the Depths of Angband
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
i had to do su - not just su.
it came out with

fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

now what?
 
Old 08-31-2006, 08:19 AM   #5
moredhel
LQ Newbie
 
Registered: Aug 2006
Location: the Depths of Angband
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
oops "l" not "1"

now i got:

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 8273 66452841 7 HPFS/NTFS
/dev/hdb2 10186 14592 35399196 7 HPFS/NTFS
/dev/hdb3 8274 8286 104422+ 83 Linux
/dev/hdb4 8287 10185 15253717+ f W95 Ext'd (LBA)
/dev/hdb5 8287 10185 15253686 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/dm-0: 14.2 GB, 14227079168 bytes
255 heads, 63 sectors/track, 1729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1342 MB, 1342177280 bytes
255 heads, 63 sectors/track, 163 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
 
Old 08-31-2006, 08:21 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by moredhel
i had to do su - not just su.
it came out with

fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

now what?
The command is
Code:
fdisk -l
(as in L for lima, not 1 the #)

As far as i know FC still doesn't support NTFS (read or write) out of the box, and so needs extra modules.

http://www.linux-ntfs.org/ - has binaries for FC. Just follow the instructions, you will then need to mount the drive as usual
 
Old 08-31-2006, 08:27 AM   #7
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977

Rep: Reputation: 30
FC5 doesn't have native ntfs support. So do what I tell you and It should work. Cause if you create another FAT32 Partition as a workaround you'll suddenly figure out that the max. filesize is 2GB.

1st create a directory within mnt using mkdir
mkdir /mnt/win (for example)
2nd check your kernel version with
uname -rm
3rd go on this Link
and download the RPM matching to your kernel version
4rd issue the command as ROOT with "su -" it includes the PATH Variables...
fdisk -l (l like language)
It will show you the partitions with NTFS Filesystems

after you've done the steps 1-4
5th Install the rpm with (below it's just an example for my kernel)
rpm -ivh kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5.i586.rpm

6. mount the partition in your Linux tree
mount -t ntfs /dev/sda3 /mnt/win
(You'll need to asign probably another device then sda3 depends on the output of fdisk -l )

7. check with
mount (enter)
if it was mounted correct

8. If you want include it to your /etc/fstab so that you don't have to do the step 6 everytime.
 
Old 08-31-2006, 08:28 AM   #8
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977

Rep: Reputation: 30
@ethics :-)

lol I typed my fingers bloody and you've been faster
 
Old 08-31-2006, 10:13 AM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
You typed more, i find the less i type, the less i look like an igit with spelling mistakes (carefully spell checking this post thought)

Just a note though, the max single file size for FAT32 is 4GB, i would imagine FAT16 is 2GB
 
Old 09-01-2006, 01:00 AM   #10
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977

Rep: Reputation: 30
upps... @ethics
2GB FAT and 4GB FAT32...
--- but do you think we could help him?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Windows hard Drive nikko05 Linux - Hardware 10 12-20-2005 10:58 AM
Accessing Windows files on a seperate hard drive ickselglic Linux - Hardware 1 01-22-2005 06:13 PM
Accessing Linux hard-drive from windows sduffy89 Linux - General 3 08-30-2004 12:05 PM
getting ntfs support for accessing windows drive lokizen Linux - Newbie 25 08-25-2004 02:58 PM
Accessing windows hard drive eastsidecrew Linux - Newbie 4 04-20-2004 12:47 PM


All times are GMT -5. The time now is 12:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration