LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 11-29-2004, 03:32 AM   #1
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Rep: Reputation: 0
~n00b~ USB Devices, Windows, and Media files..


!*#Newbie Alert#*!

OK Im a BRAND NEWBIE to the world of linux...Windows, never more except for minimal usage...

I have Mandrake 10.1 running KDE. (Maybe not the greatest distro but its a start)

Several Probs though, trying to navigate my way through this new world.

1) USB Devices, mainly Flash Drives (Thumb Drives). How to I access the files stored on them, and how to I transfer files to them? I have read many forums and tutorials on this topic and no response helped. I keep running into erros...Any and All help will be adored..

2) DVD, .Mpeg's etc. Files will not play in Kaffein. An error pops up saying plugin required. Fine I understand that, but where to I aquire the plugin.

3)Lets say I have mp3's,.jpeg's etc. stored in WindowsXP, can I access them in the Linux OS, if so..How?? I do not think storing them on both the Windows and Linux partitions would be suitable as it takes up double the HD space..

Yeah Im knew to it all, but Im enjoying it alot better than Windows so far, especially from a programming view..

Any and all help will be appreciated.


 
Old 11-29-2004, 04:09 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi Spooky31!

Welcome to LQ.org. Not quite the answers you'd expect, but I hope it helps

1-)I've no idea, sorry. However, all USB devices I have (two: scanner and joypad) I had to load the modules in order for them to work, for example, typing these at the terminal, as root:

modprobe joydev for the joypadand modprobe scanner for the scanner did the trick. Perhaps that would help you too... dunno, really...

2-)I had the same problem with SuSE. That's sad, really, they give us a player without codecs and don't provide a descent link or doc about it. I've tried installed mplayer codecs but still no go. What I could recommend here is a descent media player, called mplayer. It's really fast, can run both from command line or gui and it's extremally portable. There's even a Xbox version of it . Plays everything too, from .mp3 to DVD's and VCD's. The only draw back is that most likely, your DVD's "menu" won't work as it should, but it's no big deal, really.

3-)I'll take that you are dual-booting your system and that you have those files in a Windows Partition right? That's easily done by editing your /etc/fstab. Here is an example of "mounting" a Windows Partition in FAT32 in Linux with full write and read permissions for all users:

/dev/hda1 /win98 vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0

Adding that line at your /etc/fstab will mount the first slice of your drive (like C:\) at /win98 in Linux. You need to be root to alter that file.

Good luck!

Last edited by Mega Man X; 11-29-2004 at 04:10 AM.
 
Old 11-29-2004, 07:01 AM   #3
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks so far...

1) Where could I obtain the names of the modules I need for my USB devices? I have a multicard reader so I see the list all for USB slots under dmesg. Only there is no mudule listing..

2) mplayers cool thanks will try it when I can figure out how to get files off my USB.

3) Ok I understand adding the line the fstab file..But when I edit it I get the response "Check that you have write access to this file or that enough disc space is available" So how to I get write access to edit this file..(Did I do something wrong installing this?) And once I add that line to fstab..what next does an icon just appear that gives me access to my winxp partition??

Appreciate your help so far..
 
Old 11-29-2004, 07:09 AM   #4
ParoXoN
LQ Newbie
 
Registered: Nov 2004
Location: Canada!
Distribution: Debian Etch
Posts: 5

Rep: Reputation: 0
To edit fstab you need root permissions, if i'm not mistaken... (I'm a newbie as well.)
 
Old 11-29-2004, 07:30 AM   #5
theonebeyond
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.0
Posts: 258

Rep: Reputation: 30
Have a look at this one... maybe it helps you! Report please :-)

http://www.linuxquestions.org/questi...icle&artid=115

Greetings, Sascha
 
Old 11-29-2004, 07:35 AM   #6
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 31
Hello Spooky31,

OK, in answer to your questions (or, the best I can offer!!) -

1) USB Flash drives, etc. Hmm, I've been struggling with this a bit myself. My father's got a USB card reader built into the machine. As I understand it, what should happen with Mandrake is that when you insert a card (Compact Flash, Memory Stick, etc) the OS should recognise it and pop an icon on the desktop... This doesn't seem to occur; however, if the machine is booted with the card in place, it'll be recognised and you'll get an icon on your desktop which takes you to the files - so give that a try. I'm still trying to work this out myself...

As for digital cameras, etc; it depends on the model, but in most cases it should be supported. If it's a 'Mass Storage' type camera, when you plug it in, an icon should appear on your desktop. Other types of camera should invoke the photo program 'FLPhoto' when they're plugged in - check that you've got FLPhoto installed, otherwise the system will just sit there and do nothing...

2) DVDs etc.. OK, Mandrake, in common with every other commercial distribution, cannot ship the product with any means of playing most DVDs. This is because Kaffeine, MPlayer, Xine, etc, all require the 'libdvdcss' plugin to de-encrypt scrambled disks. Unfortunately, the legal status of the plugin is questionable, particularly in the USA (Windows is OK because you actually pay for software to do the same job). For plugins and extensions to Xine, Kaffeine, etc, try the Penguin Liberation Front website, which provides easy to use RPMs for Mandrake. My advice to you would be to remove your existing multimedia players and reinstall from PLF's website - add PLF to your URPMI sources list and use RPMDrake to install & take care of dependencies for you - PLF provide instructions for you.
Please do be aware though, and to reiterate, the use of DVD descrambling may be illegal in your locality.

Hope this helps!
 
Old 11-29-2004, 07:55 AM   #7
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
In response to< theonebeyond> the link provided:

$su
passwordenter root password here)
#cd /usr/src/linux
#make menuconfig

Returns.

bash: cd: /usr/src/linux: No such file or directory

I think I tried this before you showed it to me and still the same..

<kevinatkins>

As far as plugging like Memory Stick in or even a Flash Drive for that matter, and botting with them plugged in does nothing different...Same same...
 
Old 11-29-2004, 11:24 AM   #8
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Make menuconfig won't work unless you've the kernel sources installed. Compiling the kernel can be difficult for newbies, mind you. But following that link would work.

The kernel source is a package (not shipped with Mandrake on your disks) which can be acquired from a Mandrake FTP.
 
Old 11-29-2004, 12:31 PM   #9
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
Never too late to start learning it, granted it might be a pain in the "rear" process.

I have nothing but time, and love experimenting so if you have the time to help cool, if not then can you direct me to a link that may help..

Keep in mind my linux box isnt connected to the internet. As the network here only allows WinXp machines on it. So I would have to transfer all files from windows to Mandrake...

"At first I thought I was a n00b, now I know the truth"
 
Old 11-29-2004, 01:52 PM   #10
csplinter
LQ Newbie
 
Registered: Nov 2004
Location: Beaumont, Texas
Distribution: Gentoo Stage 1
Posts: 27

Rep: Reputation: 15
Acessing Windows files

To address # 3, Windows Xp (by default) uses the NT file system, NTFS for short. First you need to see if you have the NTFS driver kernel module, this is simple, just type this into the console.

<type>
cat /proc/filesystems |grep ntfs
</type>

Excludeing the "type" tags :-)
If it outputs "ntfs" then your ready to mount the file system. Type the following commands (if it doesn't skip to the end)

<type>
/sbin/fdisk -l
</type>

Be sure to note which drive has windows on it e.g. /dev/hda4

<type>
mkdir /mnt/windows/
mount /dev/[the harddrive/partion /w windows on it]
</type>

Then you can veiw your windows files in /mnt/windows/, if this works (you see your windows drive) then you might wont to consider have linux automatically mount the drive at boot time. try adding a line like this to /etc/fstab

/dev/[the harddrive/partion /w windows on it] /mnt/windows ntfs defaults 0 0

So you don't have a ntfs driver, no problem, just go here the have great instructions on how to install one
http://linux-ntfs.sourceforge.net/

Good luck
 
Old 11-29-2004, 03:02 PM   #11
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
about mass storage devices, i'm trying to do the same thing. this is all i've found so far http://www.linux-usb.org/USB-guide/x498.html
but i remember reading about a program which loads them automatically....unfortunately when i read the article, MSDs weren't on my list of things to do so i forgot what its called. all i know is it starts with Project and for some reason planets spring to mind when i try remember the rest.
 
Old 11-30-2004, 12:56 AM   #12
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
Fine n Dandy..Will give it a whirl when I get off as I do not have my PC here with me today..

Just a quick oppinion though. I've done some research on P2P programs for Mandrake, and I come to the conclusion that Limewire seems to be the most popular..Any oppinions on a better one or is that the one to go for..
 
Old 11-30-2004, 01:21 PM   #13
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 31
I occasionally use Limewire and I like it. There are others - I tried gtk-gnutella and didn't get on so well with it, but I guess with some things it's down to personal taste... perhaps worth giving a few clients a spin, see which is best for you.
 
Old 12-01-2004, 02:20 AM   #14
Spooky31
LQ Newbie
 
Registered: Nov 2004
Location: Washignton
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
I will give LimeWire a whirl when I get a internet connection.
But heres a problem I ran into today..

I got my partition with WinXP to show, and I can view anything and everything that is contained within the original files. ONly heres the catch say I add some pictures to the My Pictures, but I can only see the sample pictures that come when you install WinXp. I cant see any new files added.(Im attempting to voew them in Mandrake of course..)
Any clue on what I did wrong, and is there a way I can give myself root permissions besides being in command line, i.e using the gui. Because when I try to edit fstab in Emacs it says I do not have root permission..

And when you right click on the screen and go to "new" you get a list with 'folder', 'device'..etc..when you choose new device you can associate and hde with that icon on your desktop. Whats to stop me from adding a USB device, except for the fact I do not see that option on the list..
 
Old 12-01-2004, 03:40 PM   #15
csplinter
LQ Newbie
 
Registered: Nov 2004
Location: Beaumont, Texas
Distribution: Gentoo Stage 1
Posts: 27

Rep: Reputation: 15
Writeing to an ntfs filesystem in linux is not advised, because ntfs is a proprietary system linux developers have to reserse engineer it, because of this theres lots of bugs, if you want to read files from linux with windows then i would suggest either useing a utilitie like explore2fs http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm or setting up a seperate vfat filesystem which both os'es can read and write to. But if your hell bent on the idea of writeing to a ntfs partition try

<code>
mount -remount,rw /mnt/[the name of the partition]
</code>

but if you do that, good luck! :-)
 
  


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
Linux under Windows - to use USB devices, not affect / reboot Windows, etc? pianoplayer88key General 2 12-01-2005 07:17 PM
Windows Media Players files in FireFox? RedHatCore Linux - Software 15 08-13-2005 02:12 PM
mplayerplug-in and Windows Media files triquito Linux - Software 4 06-17-2005 12:39 AM
how to play windows media 9 files? Lasker Linux - Software 2 05-08-2005 02:22 AM
gxine and Windows Media files raysr Linux - Software 0 10-29-2004 05:38 PM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration