LinuxQuestions.org
Help answer threads with 0 replies.
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 03-09-2005, 02:03 PM   #1
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Rep: Reputation: 15
HELP! Access win files from Fedora 3 (GNOME)


Hi There!
Please, if any one could help as to how should i go about accessing my windows partition from linux. I have only one CPU and Fedora 3 is working just fine.

If any one could also help with setting up: Lexmark z700 and HP Scanjet 4070 (both usb)! Another problem: mozilla does not allow me to start it up, it gives a message that "user" is currently being used. How can i disable that?

Many thanks!

Padeco
 
Old 03-09-2005, 03:59 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

In regards to your first question about accessing your Win partition in linux. You will need to mount the the drive.

So for example if your Windows is on the first partition of the Primary Slave hard drive you would mount it like this...

(as root) mkdir /windows
(as root) mount /dev/hdb1 /windows

You should now be able to go into the /windows partition and view and grab files.

>Craig
 
Old 03-09-2005, 10:44 PM   #3
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Original Poster
Rep: Reputation: 15
Failed

Thanks Craig,
but i got the following message:
mount: can't find /dev/hdb1/windows in /etc/fstab or /etc/mtab

I followed all the steps and did no seem to work!

Do you have any advice?

Thanks,
Padeco
 
Old 03-09-2005, 11:22 PM   #4
zeddity
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
Re: Failed

Quote:
Originally posted by padeco
[B]Thanks Craig,
but i got the following message:
mount: can't find /dev/hdb1/windows in /etc/fstab or /etc/mtab
Check the spacing in the command. There should be a space between /dev/hdb1 and /windows
 
Old 03-09-2005, 11:44 PM   #5
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Original Poster
Rep: Reputation: 15
Failed again

i had the space as mentioned and got the following message;

mount: special device /dev/hdb1 does not exist

any suggestions?
Many thanks!
 
Old 03-09-2005, 11:54 PM   #6
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Original Poster
Rep: Reputation: 15
hdb1 or hda1

i do not have hdb1, but there are hda, hda1, hda2 and hda5 does it make any sense?
 
Old 03-10-2005, 12:10 AM   #7
Vijayasarathy
LQ Newbie
 
Registered: Mar 2005
Distribution: Redhat Lnux 9.0
Posts: 12

Rep: Reputation: 0
you query on mounting windows partitions

Hi,

The solutions that Realdeal and Zeddity gave were right, except for the fact taht they have taken the hard disk partitions for granted.

If you are with Redhat, I can give you conrete solutions that have a graphical interface, but since you are with Fedora, I can tell you how to KNOW the hard disk partition that contains windows:


The usual convention for hard disks is:

The first hard disk is called going to be called hda, the second hdb and so on .....

The first partition in hda is going to be called hda1(or may be even zero-indexed, I am not sure...check it out), the second partition hda2 and so on ....

So, you got to identify which partition in which drive contains windows .......

you can use the "df" or "mount" commands to know about what partitions with what filesystems are mounted into what directories.

In all probablility, you would have installed windows in your C: and as the primary partition.....if you have only a single disk, the name of the partition is likely to be /dev/hda1.

after you identify your partition, you can mount it on a suitable directory using:

mount -t vfat "/dev/partitionname" "directory in which you want to mount"

remember to give a space between partition name and mountpoint..

Hope this answers.

Regards.
 
Old 03-10-2005, 01:12 AM   #8
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Original Poster
Rep: Reputation: 15
I tried the following:

[ ]# mount -t vfat /dev/hda1 windows
mount: mount point windows does not exist
and

[ ]# mount -t vfat /dev/hda1 /windows
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

any help?
thanks
 
Old 03-10-2005, 05:52 AM   #9
zeddity
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by padeco
I tried the following:

[ ]# mount -t vfat /dev/hda1 windows
mount: mount point windows does not exist
and

[ ]# mount -t vfat /dev/hda1 /windows
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

any help?
thanks
Getting warmer...

The error message tells you the things that *might* be going wrong. I'm going to take a wild guess here and say that you're running Windows 2000 or XP and are using NTFS rather than VFAT on the windows partition. Are you? In that case you'd need -t ntfs rather than -t vfat.

Actually you may not need the -t option at all. The mount command can automatically recognise some types of filesystems. I'm pretty sure both VFAT and NTFS are among those filesystems.

I trust that you're taking the time not just to figure out what to type, but also *why* you need to type what it is that you're typing. It'll save much more time in the long run.
 
Old 03-10-2005, 06:33 AM   #10
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 264

Rep: Reputation: 30
If you are running Fedora, and the drive you need to mount is NTFS, you also need to install the linux-NTFS driver into the kernel, as NTFS isn't supported natively under Fedora.

You can find the files and clear information at http://linux-ntfs.sourceforge.net .
 
Old 03-10-2005, 12:01 PM   #11
padeco
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Ubuntu 6.06
Posts: 34

Original Poster
Rep: Reputation: 15
Thumbs up THANKS

Many thanks to all!
every hint was useful and finally it worked

All the h hints were correct, i WAS using windows xp and indeed had to install linux-NTFS driver into the kernel. Folloed all the steps at http://linux-ntfs.sourceforge.net

all is working fine!

Actually, zeddity, you mentioned:
"I trust that you're taking the time not just to figure out what to type, but also *why* you need to type what it is that you're typing. It'll save much more time in the long run."

and that is very valid, but, as a newbie, where can one find info on all the meaning of these commands?

once again, many thanks!

padeco

if you guys have nay hints on running a lexmark z700 and hp scanjet 4070, please let me know!
 
Old 03-10-2005, 08:36 PM   #12
zeddity
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
Re: THANKS

Quote:
Originally posted by padeco
[B
Actually, zeddity, you mentioned:
"I trust that you're taking the time not just to figure out what to type, but also *why* you need to type what it is that you're typing. It'll save much more time in the long run."

and that is very valid, but, as a newbie, where can one find info on all the meaning of these commands?
[/B]

The manpages. Type "man mount" to get information on the mount command for example. Also works for some files: "man fstab" will give you the info you need to configure linux to automaticallly mount partitions on bootup.

Want more info on the man command? Type "man man" :P

Last edited by zeddity; 03-10-2005 at 08:40 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
Problem with Fedora Core 3, Samba, gnome & win 2000/XP edesmarais Linux - Networking 21 12-15-2005 01:36 PM
Recommendation for win xp software to access and transfer files to Redhat 4 pref gui jalluttar Linux - Software 1 11-29-2005 10:28 PM
Access files on windows xp from fedora core 2 velibos Linux - Newbie 1 08-05-2004 02:57 PM
GNOME prevents access to XSL files andymadigan Debian 2 08-03-2004 08:35 PM
How do I access files on Win box from Linux box zanew Linux - Networking 5 06-12-2002 11:58 AM

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

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