LinuxQuestions.org
Visit Jeremy's Blog.
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 12-16-2005, 09:42 PM   #1
Wolfe
LQ Newbie
 
Registered: Dec 2005
Location: Seattle, WA
Distribution: mandriva 2006 / SUSE 10.0
Posts: 3

Rep: Reputation: 0
configuring file sharing between windows and mandriva 2006 dual boot system


fairly new to linux -
under my devices folder, my windows partition is listed and i can browse through the files, but can't open any, ie: an openoffice file on my windows side is visible but when i attempt to open it with linux it says mnt/hda1/windows/filename . . .does not exist. i've been playing around with samba but can't seem to get it to recognize the windows partition. i've also attempted to mount the partition manually, but it returns that the partition is already mounted.
what should my next step be . . .i'm not opposed to being pointed in the right direction and seeing if i can figure it out . . .

wk>
 
Old 12-16-2005, 11:26 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
"When I attempt to open it"

How?

Are you double clicking in a file mananger (probably konqueror in Mandriva)? If you are, see if you can try to open in a terminal with TAB auto-completion. Something like:
oowriter /mnt/hda1/My\ Documents/Cool\ File.odw

Not sure the file extension But hopefully you get my point. Once you type /mnt/hda1/ Start hitting TAB to see what files/directories exist to select/enter. Once you see the file, type part of it's filename, and then hit TAB again until you get the full filename in the prompt, then hit enter.

If you get some error and the file doesn't open, post up that error here or google it to see what pops up.

Cool
 
Old 12-17-2005, 01:32 PM   #3
Wolfe
LQ Newbie
 
Registered: Dec 2005
Location: Seattle, WA
Distribution: mandriva 2006 / SUSE 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
okay . . .first, thanks for the advice . . .however . . .

i was double clicking on the file from konqueror - it opened OOo but brought up an error message - directory doesn't exist . .

no attempting to mount from a terminal, i can't seem to get into the appropriate folder - i can get to /mnt/windows/ but i can't change directory into the folder listed as Documents and Settings/ - is this (and please excuse my ignorance) because linux doesn't recognize spaces between the file names? when i tab, it brings up Documents. . . as a valid directory, but when i hit enter it says no such file or directory

how do i account for spaces in file names when i'm changing directories?

thanks for the help . . .
wk>
 
Old 12-17-2005, 02:40 PM   #4
Wolfe
LQ Newbie
 
Registered: Dec 2005
Location: Seattle, WA
Distribution: mandriva 2006 / SUSE 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
okay, i figured out how to correctly enter file names with spaces (using \); so i'm thinking that perhaps my issue isn't with samba or file sharing, but perhaps the way that OOo attempts to open the files, ie: when i just downloaded one of my documents from the internet, a file with spaces in the name, OOo gave me 3 error messages, one for each of the words in the file name. so, though i think i've figured out what my problem is, i don't know how to correct it yet. do i need to configure my linux system to recognize spaces in file names (a possibility?) or just OOo? does this all make sense?

again, i appreciate the assistance.
>
 
Old 12-17-2005, 02:42 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The escape character ( \ ) is used to escape spaces or odd characters in a bash environment. This is usually taken care of in a gui though. Anyway, yeah, so:
cd /mnt/windows/Documents\ and\ Settings/

That's the syntax. However, hitting tab after the 'a' in and, should pull up the rest of the directory, then you can hit enter and it *should* drop you in that directory.

HTH

Cool
 
Old 12-17-2005, 02:58 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Heh, you were typing while I was

Try adding quotes around the whole thing:
oowriter "/mnt/windows/Documents and Settings/The Document You Want.osw"

Notice with quotes you don't need escapes.

I definitely think OpenOffice can open files with spaces, so my first guess is an issue with how the file is getting opened or sent (via stdin?) to OpenOffice.

Try creating a new file, an empty document, type a few key phrases into it, save it with spaces, and then try to open it, see what happens.

This is not normal behaviour, you may want to do everything for a bit from the command line to give you verbose output to post up, it may help to diagnose your problem.

Cool
 
  


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
System Crash - Mandriva 2006 - Dell Inspiron 6000 enmanuelr Linux - Laptop and Netbook 2 11-16-2005 06:30 PM
Internet Sharing with 3 eth devices problem, Mandriva 2006 muhon Linux - Networking 2 11-08-2005 06:08 PM
file sharing in dual boot? bobbyhill Linux - Newbie 4 08-24-2005 12:22 PM
Windows XP and Mandriva Power pack dual boot MaxtoRs Mandriva 5 05-10-2005 12:08 AM
sharing mp3 files on a dual boot system moloneyr Linux - Newbie 10 09-04-2004 08:34 AM


All times are GMT -5. The time now is 03:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration