LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2004, 02:26 PM   #1
mani singh
LQ Newbie
 
Registered: Feb 2004
Location: Western Australia - Perth
Distribution: Red Hat Linux 9.0
Posts: 3

Rep: Reputation: 0
accessing c and d drive ntfs partitions from rh9.0


Hello evy1.

somewhat similar question have been asked before. but not exactly wot i want to know.

i have windows xp(NTFS) and linx rh9 on my 120gb harddisk.

the windows partition is 100gb and divided into c and d drive , 25gb and 75gb respectively. the rest 20gb is linux.

now i am able to access my c drive from linux using this

/dev/hda1 /mnt/windows ntfs rw,uid=500,gid=100 0 0 line in my /etc/fstab and /etc/mtab.

but i have tried hda4 and hd5 in order to access d drive of windows. but when i mount /mnt/win_d i get this:

mount: wrong fs type, bad option, bad superblock on /dev/hda4,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

win_d is directory in mnt folder. and in etc/fstab and /etc/mtab i have written this for win_d:
/dev/hda4 /mnt/win_d ntfs rw,uid=500,gid=100 0 0
(also tried hda5)

after running this command : /sbin/fdisk -l

Disk /dev/hda: 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/hda1 * 1 12680 101852068+ 44 Unknown
/dev/hda2 12681 14495 14578987+ 83 Linux
/dev/hda3 14496 14593 787185 82 Linux swap

can sum 1 tell me..what is d drive known as in linux. and how to access it.

thanks
mani

Last edited by mani singh; 02-27-2004 at 02:39 PM.
 
Old 02-27-2004, 02:31 PM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
run:
cfdisk

to get a description of your partition system. DO NOT CHANGE ANYTHING.
According to the output you posted above, there are only 3 partitions on your disk: hda1 which is windows, and hda2 + hda3 which are linux and linux swap.

How is the 100mb disk divided in windows? What tool did you use?

--Rounan
 
Old 02-27-2004, 02:33 PM   #3
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
either you have not posted all of the output from /sbin/fdisk or you do not have a d: drive.
if you look at your output from the fdisk command...you will only see 3 partition on /dev/hda which means that there is one linux partition..one linux swap partition and one windows partition...if you indeed had two windows partitions they would have shown up as saperate entities on fdisk.
are you sure that you have two windows partitions and not just a directory inside.
maybe i am wrong since i have never used two windows partition(never needed to...thank god) but i still think that if you did have 2 win parittions....then they would show up in fdisk.
 
Old 02-27-2004, 02:44 PM   #4
mani singh
LQ Newbie
 
Registered: Feb 2004
Location: Western Australia - Perth
Distribution: Red Hat Linux 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
how i installed all operating system is like this:

Using windows xp (bootable) setup i partitioned my hard drive as
c: 25 ntfs
d: 75 ntfs and
e: 20 ntfs

then using rh9.0 bootable i used e drive to install linux on it. during the setup i clicked on e drive to install linux on it and deleted the ntfs parition and made anext3.

thats how i installed win and lin os.
 
Old 02-27-2004, 02:48 PM   #5
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
ok....how about this....mount the ntfs drive you can mount and then issue this command:
df -h
it will tell you the sizes of each of the mounted FS's and how much of each is being used.post that output here and maybe we can make something out of that.
 
Old 02-27-2004, 02:56 PM   #6
mani singh
LQ Newbie
 
Registered: Feb 2004
Location: Western Australia - Perth
Distribution: Red Hat Linux 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
there u go:

df -h :


Filesystem Size Used Avail Use% Mounted on
/dev/hda2 14G 4.8G 8.2G 38% /
none 188M 0 188M 0% /dev/shm
/dev/hda1 24G 8.0G 16G 34% /mnt/windows
/dev/hda4 14G 4.8G 8.2G 38% /mnt/win_d

Last edited by mani singh; 02-27-2004 at 03:03 PM.
 
  


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
non-root users accessing NTFS partitions? Jaymz87 Slackware 11 06-14-2005 07:13 AM
accessing my FAT32 and NTFS partitions d0tc0mguy Linux - Newbie 2 04-21-2005 03:42 PM
Accessing windows partitions in RH9 DesyphER Linux - Software 15 03-01-2005 12:33 AM
Accessing Fat/NTFS partitions satinet Linux - General 3 09-03-2004 01:16 PM
Accessing NTFS Partitions eboggess Linux - General 7 01-25-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 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
Open Source Consulting | Domain Registration