LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2008, 10:45 PM   #1
sagsriv
LQ Newbie
 
Registered: Jan 2008
Location: Kolkata India
Distribution: fedora 6
Posts: 21

Rep: Reputation: 15
Problem in accessing data from windows partitions


Hello everybody. I have installed fedora core 6 on my machine recently. I have a 80 GB SATA hdd in which i use 60 GB for windows. Now i want to access my windows data from my linux partitions. I didnot choose partitioning options while installing FC6. It automatically installed on the drive I logically deleted from windows (F.I was advised to attach the line to my /etc/fstab:
/dev/hda1 mnt/windows ntfs defaults 0 0
after which my fstab looks like
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda1 mnt/windows ntfs defaults 0 0

but it doesnot solve my problem. Help please.
 
Old 01-17-2008, 11:06 PM   #2
jopu
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Rep: Reputation: 0
I appreciate the home work you have done before posting the question.

what does "mount /mnt/windows" command output?
I assume the /mnt/windows folder exists in your linux machine.
 
Old 01-18-2008, 03:52 AM   #3
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
Try this

There are folder /mnt in your computer right? Try this (log as root)

mount(SPACE)/mnt/sdaX

X means number. When you look up at folder mnt, you will find many. Just picking up what drive that want to be mounted. When you have done, type

umount(SPACE)/mnt/sdaX
 
Old 01-20-2008, 12:53 PM   #4
sagsriv
LQ Newbie
 
Registered: Jan 2008
Location: Kolkata India
Distribution: fedora 6
Posts: 21

Original Poster
Rep: Reputation: 15
Smile Thanx problem is solved.

Thanx to all who replied. I took 2 steps to solve my problem.Hope it helps anyone having same problem.
1. I had ntfs on my windows partitions. But mount -t ntfs... command didnot
work raising an error "unknown file format". I solved this using command "yum install ntfs-3g". This, downloads FUSE lib, FUSE driver and NTFS driver on local cache and installs them. You can always download and install them seperately, but this seems to be much easier.
2.As andreas_skw said, replacing /dev/hda1 with /dev/sdax did the rest.
Before that,Its better that use "fdisk -l" command. That shows your hard disc configuration.As for example, for me it showed

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 9726 58589055 f W95 Ext'd (LBA)
/dev/sda5 2433 4864 19535008+ 7 HPFS/NTFS
/dev/sda6 4865 7296 19535008+ 7 HPFS/NTFS
/dev/sda7 7297 7309 104391 83 Linux
/dev/sda8 7310 9726 19414521 8e Linux LVM

Clearly,if you have hda in place of sda use the following command:
mount -t ntfs /dev/hda(x) /mnt/windows [replace (x) with proper no.]
else use
mount -t ntfs /dev/sda(x) /mnt/windows [replace (x) with proper no.]
Make sure that you build a folder called "windows" (its just a name)
at root/mnt before using the commands.

Hope this works. It generates some warnings. Feel free to comment on this.

Thanx.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing linux partitions from windows mach10 Linux - Software 9 03-31-2006 08:09 PM
Accessing windows partitions in RH9 DesyphER Linux - Software 15 03-01-2005 01:33 AM
Accessing Windows partitions in SuSE 9.1 personal? shelldinesh Linux - Distributions 1 10-29-2004 09:29 PM
Accessing and writing to Windows partitions Delmarc Linux - Newbie 3 02-14-2004 11:39 AM
Displaying and Accessing Windows Partitions den_santiago Linux - Software 3 07-18-2003 11:09 AM


All times are GMT -5. The time now is 12:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration