LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-26-2004, 05:33 PM   #1
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Rep: Reputation: 0
How to access my jump drive in Mandrake 10.0


I tend to use my jump drive frequently with windows and when I try to transfer things to linux I can't figure out where to go about this. I'm a new user and have dabbled with Red Hat 9 and now Mandrake 10. Can any help me with this issue. Oh, and on another note... When I install programs why do they not show up on my start menu? I just learned to install tar.gz type programs but I never can find out where to launch them from? Thanx in advance... P.S. I browsed the forums for both of these issues...
 
Old 04-26-2004, 06:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Windows doesn't read Linux partitions by default. There are tools that allow you to do this. Don;t remmeber any name at this point (it was mentioned so you'd be able to get them by searching the site). From the Linux side, in Mandrake you should have /mnt/win_c directory (if you have more Windows partitions, there will be more directories), if you enter it, your Windows files will be shown. If there are no such directory, you should be able to configure it using MDK Control Center (Mount points).

Programs installed from source don't show in the menu. You need to add them manually. In Mandrake you have menudrake tool that allows you to do it.
 
Old 04-26-2004, 06:43 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
1)Not sure what is a "JUMP DRIVE" Assuming it is a USB pendrive you should try as follows
Connect your USB device, then as root

mkdir /mnt/jump
mount -t vfat /dev/sda1 /mnt/jump
you can change "jump" with wathever you like
cd /mnt/jump
ls -l

If you get as output a list of files (if present) you are after
then
cd ~home
umount /dev/sda1

If everything is ok add a line like this to your /etc/fstab
/dev/sda1 /mnt/jump vfat noauto,user 0 0
this will enable normal users to mount/unmount that device from the next boot on.

2) when you compile programs from sources,after installation the executables usually go to /usr/local/bin. The command
which program_name
will tell you where you executable went.
Hope this helps
Ciao
 
Old 04-26-2004, 11:58 PM   #4
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
1)Not sure what is a "JUMP DRIVE" Assuming it is a USB pendrive
Yes that is what I am reffering to.

Quote:
Connect your USB device, then as root

mkdir /mnt/jump
mount -t vfat /dev/sda1 /mnt/jump
you can change "jump" with wathever you like
cd /mnt/jump
ls -l
All of this worked but I get lost after this part.....

Quote:
If you get as output a list of files (if present) you are after
then
cd ~home
umount /dev/sda1



I get "No such file or directory". I'm not sure what I'm doing wrong. Please keep in mind I'm rather new at this.
 
Old 04-27-2004, 04:40 AM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
I assume you got the list of files contained into your pendrive.(if you have some)
The command
cd ~home is only to move to a different directory before you unmount the USB drive.
you can also type
cd /home/logname........ where "logname" is your logname of course
then (as root)
umount /dev/sda1...........(make sure you are not typing unmount as it doesn't work)
At this point your device is "unmounted"
For the future if you want to have your pendrive available as normal user after booting
add a line like this to your /etc/fstab
/dev/sda1 /mnt/jump vfat noauto,user 0 0
Then reboot and your drive should be able to be mounted by console commands or
adding an icon to your desktop.
For KDE right click on the desktop
then add new device
choose hard disk
an icon should be created onto your desktop and you can mount/unmount by right clicking on it.
Hope this helps more than the previous post, sorry I was in a hurry.
Ciao
 
Old 04-27-2004, 01:58 PM   #6
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
[root@localhost ccollins]# umount /dev/sda1
umount: /mnt/jump: device is busy
umount: /mnt/jump: device is busy
umount: /mnt/win_c2: device is busy

This is the issue I'm getting now...
 
Old 04-27-2004, 04:44 PM   #7
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
this usually happens when you have an open file(s) from mounted directory/device.
make sure first you closed any file from that directory or to make it faster typing
sync
from the console.
this will enable the system writing on that directory (syncronization)
Then you should be able to unmount your filesystem.
If you have edited your /etc/fstab as per previous post you should be able to mount/unmount as normal user as well.
Ciao
 
Old 04-27-2004, 04:51 PM   #8
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
Sorry, but i read somewhere Mandrake 10 has a very effective Plug&Play system.
Did you choose the full options when installing Mandrake or did you make some customisations.
This because it seems you're having too many problems considering mandrake is usually very friendly with those kind of problems.
Ciao
 
Old 04-28-2004, 12:15 AM   #9
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
[root@localhost ccollins]# mount -t vfat /dev/sda1 /mnt/jump
[root@localhost ccollins]# cd /mnt/jump
[root@localhost jump]# ls -l
total 4842
-rwxr--r-- 1 root root 44032 Apr 12 14:56 104 N.doc*
drwxr--r-- 3 root root 1024 Apr 26 15:38 CatalystDisplayDriver/
drwxr--r-- 2 root root 2048 Mar 8 16:14 CD Keys/
-rwxr--r-- 1 root root 1584212 Apr 6 14:24 ivanview.exe*
-rwxr--r-- 1 root root 3321026 Dec 19 21:54 Learning Python - Orielly.pdf*
drwxr--r-- 2 root root 1024 Mar 3 22:07 New Folder/
drwxr--r-- 2 root root 1024 Mar 8 07:42 PCG-FRV25 Drivers/
-rwxr--r-- 1 root root 393 Apr 6 14:33 test.html*
drwxr--r-- 6 root root 1024 Apr 23 23:03 WinCustomize/
[root@localhost jump]# cd /home
[root@localhost home]# umount /dev/sda1
umount: /mnt/jump: device is busy
umount: /mnt/jump: device is busy
[root@localhost home]# sync
[root@localhost home]# umount /dev/sda1
umount: /mnt/jump: device is busy
umount: /mnt/jump: device is busy
[root@localhost home]#

This is the issue still. I didn't do anything except view what was on it. I did nothing with any of the files on the drive.

To your question before: No, I used all default settings. I do not see why using a pen drive is such an irritating task on Linux.
 
Old 04-28-2004, 12:18 AM   #10
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
Then I tried it a few diffrent ways just to be safe but still the same...

[root@localhost home]# cd /mnt/jump
[root@localhost jump]# sync
[root@localhost jump]# cd /home
[root@localhost home]# umount /dev/sda1
umount: /mnt/jump: device is busy
umount: /mnt/jump: device is busy
[root@localhost home]# cd /mnt/jump
[root@localhost jump]# sync
[root@localhost jump]# umount /dev/sda1
umount: /mnt/jump: device is busy
umount: /mnt/jump: device is busy
 
Old 04-28-2004, 05:19 PM   #11
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
Try posting your /rtc/fstab, who knows......
Ciao
 
Old 04-29-2004, 03:12 PM   #12
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
/dev/hda5 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 noatime 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/scsi/host1/bus0/target0/lun0/part1 /mnt/removable auto umask=0,user,iocharset=iso8859-1,kudzu,codepage=850,noauto,exec 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/sda1 /mnt/win_c2 vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
none /mnt/removable2 supermount dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0
 
Old 04-29-2004, 03:36 PM   #13
ccollins04
LQ Newbie
 
Registered: Apr 2004
Location: Chelsea, Oklahoma
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
[root@localhost root]# umount /dev/sda1
umount: /dev/sda1: not mounted
[root@localhost root]# mount /dev/sda1 /mnt/jump
mount: /dev/sda1 already mounted or /mnt/jump busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt/jump
What is that all about?
 
  


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
Jump Drive dudeman41465 Linux - Hardware 3 06-28-2005 01:31 AM
USB jump drive dink27 Linux - Hardware 28 06-20-2005 07:44 PM
jump drive kingcobrawoods Linux - General 2 01-04-2005 03:23 PM
Lexar Jump Drive Slebine Linux - Hardware 22 07-26-2004 09:39 PM
How to mount a jump drive gschrade Linux - Newbie 7 01-28-2004 03:06 PM


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