LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-23-2002, 06:49 AM   #16
DeadPuddle
Member
 
Registered: Mar 2002
Location: Asheville, NC
Distribution: Debian
Posts: 257

Rep: Reputation: 30

Open your console and type these two lines independant of each other:

mkdir /mnt/windows
mount -t vfat /dev/hda1 /mnt/windows

Your Fat32 partition will be under /mnt/windows.
 
Old 03-23-2002, 07:04 AM   #17
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
hey...

but i think i have to exchange the vaft in the second line with ntfd since the hard is ntfs not fat32
????????????????????
 
Old 03-23-2002, 11:46 AM   #18
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Re: hey...

Quote:
Originally posted by safrout
but i think i have to exchange the vaft in the second line with ntfd since the hard is ntfs not fat32
????????????????????
Correct, I think he missed that it's ntfs. That should mount your partition though, UNLESS you don't have support for NTFS in your kernel. If that mount command doesn't work and says you don't have ntfs support or something to the effect of filesystem not supported (it should be), look into either 1) building it into your kernel and recompiling, or 2) most assuredly there is just a module you'll have to load. As per the fstab, it IS a matter of choice, to each their own!
 
Old 03-23-2002, 04:23 PM   #19
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy i think the linux don't like me

cos i have had done what u said and it said the drive is mount from /dev/hda1 to /mnt/win_c and it done
and i reboot but nothing happened
what shall i do next
burn the computer or myself
 
Old 03-23-2002, 10:00 PM   #20
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
When you mount the drive and it says it is mounted, that's all. You don't need to reboot. Just go into /mnt/win_c and do whatever you need to do. Adding the line to your fstab is what will mount it every boot.
 
Old 03-24-2002, 09:24 AM   #21
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
dont burn anything yet . From what you have said, I assume you want your winxp partition ( c: ) mounted everytime you start linux. Just copy the following line and paste it into /ect/fstab
  • /dev/hda1 /mnt/win_c ntfs auto,user 0 0
Just make sure that there is not another line with /dev/hda1 in fstab. It will work
 
Old 03-24-2002, 11:47 AM   #22
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy there is a tiny problem left

i was able to mount the c now and i can see it when logged as root but as a normal user
it says u don't have permession to acces /mnt/win_c
what shall i do now
 
Old 03-24-2002, 11:59 AM   #23
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
see my last post? do you have this very same line in your fstab file? where 'user' is specified, enables the group 'users' to mount the filesystem.
 
Old 03-28-2002, 08:19 AM   #24
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy i have tried that ............

...... but

it didn't work
someone told me it is all about the secuirty setup for hard disk c cos it is ntfs on windows

but from where can i confg. it on winds
can anyoone help me

 
Old 03-28-2002, 08:36 AM   #25
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Linux does not care about windows security It should mount and see the files OK.

type 'man fstab' and read that. Man pages can be confusing but just work through it bit by bit. You'll be OK.
 
Old 03-28-2002, 09:36 AM   #26
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Also, check fdisk in windows. you can list all the partitions there. WindowsXP does not have to be on the first partition of the first disk (/dev/hda1) and could be on the extended partition listed second or third (/dev/hda5 or hda6) FDISK will tell you all you need to know.
Also, Check the boot.ini file on the first primary partition of the first disk. (use XP to search for it) this will tell you where your XP installation is... eg...
  • multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="Microsoft Windows" /fastdetect
this shows that the install is on the first disk (disk0) of the second controller (rdisk1) on the 3rd partirion (partition2). In this setup though the first disk on the second controller is actually a DVD drive and the harddisk has the following partition table[list=1][*]primary partition[*]freespace[*]winxp installation (1st partition in extended space)[/list=1]
... so... to mount this in linux as root one would type...
  • mount -t ntfs /dev/hdd5 /windows/E
This all applies to an IDE system I'm not sure about SCSI. You can email me if your linux box is connected to the internet and want me to ssh into your box it to see if I can get it to work for you...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why cannot i browse my windows partitions? ramchowdary Linux - Software 3 02-18-2005 03:01 PM
mounting windows partitions shahzadiub Programming 1 04-22-2004 04:49 AM
fstab and windows partitions fedetxf Linux - Newbie 6 12-29-2003 06:09 PM
my windows partitions linuxtm2005 Red Hat 1 12-29-2003 11:35 AM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:13 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