LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2006, 06:08 PM   #1
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Rep: Reputation: 15
usb flash memory on mandrake 10.0


Hi,
I have a flash disc (512mb) and I want to use it under mandrake. can you describe the way to install it? Please describe in the easiest way because I dont know linux. Thank you
 
Old 02-14-2006, 06:10 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
what X window manager are you using? KDE Gnome...?
 
Old 02-14-2006, 06:18 PM   #3
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
flash

I use KDE
And how can I log in as root? on konsole I write su and I can log in but on kde I cant. thank you
 
Old 02-14-2006, 06:41 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
if you logout you should be able to type in root for the username.

in KDE open up the konsole
plug in your usb device, if it is in already, take it out, then plug back in.
then in konsole type: cat /var/log/messages
a bunch of stuff will fly by, but what you want is just at the end.
you should see something like this:

kernel: usb 2-2: new full speed USB device using uhci_hcd and address 2
kernel: usb 2-2: new full speed USB device using uhci_hcd and address 3
kernel: Initializing USB Mass Storage driver...
kernel: scsi3 : SCSI emulation for USB Mass Storage devices
kernel: usbcore: registered new driver usb-storage
kernel: USB Mass Storage support registered.
kernel: Vendor: SanDisk Model: Cruzer Mini Rev: 0.1
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: SCSI device sda: 501759 512-byte hdwr sectors (257 MB)
kernel: sda: Write Protect is off
kernel: SCSI device sda: 501759 512-byte hdwr sectors (257 MB)
kernel: sda: Write Protect is off
kernel: sda: sda1
kernel: Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0

What you want to pay attention to is this line:
kernel: sda: sda1

that tells you there is a partition at sda1, it could be different on your system.

now you need to create a folder to mount the device in:
cd /mnt
mkdir usbstick

now if you want to be able to easily mount the device in KDE you need to edit your /etc/fstab file by adding something like this:

/dev/sda1 /mnt/usbstick vfat user,suid,dev,exec,noauto 0 0

then in KDE you can open your system icon, then open your storage media icon, and you should see a usbstick icon, double click and you are in.
 
Old 02-14-2006, 06:48 PM   #5
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
pico

thank you very much

But I dont know which editor will I use to open fstab?

I have written pico but it says bad command.
How can I edit fstab?
 
Old 02-14-2006, 06:49 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
you can use the graphical interface if you want, i normally use vi
but it is very different than most
 
Old 02-14-2006, 06:52 PM   #7
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
kde

I cant login kde as root thus I cant edit fstab on kde. When I logout, just my name appears. But there is no root.
 
Old 02-14-2006, 07:03 PM   #8
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
vi

I have written the necessary things on fstab but I cant save it.
 
Old 02-14-2006, 07:11 PM   #9
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
nothing

I have done all the things but nothing happened
 
Old 02-14-2006, 07:26 PM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
then goto the konsole
type su
put in the root password
then type: kedit
that should open kedit with root privilages.
open the fstab and edit it
 
Old 02-14-2006, 07:38 PM   #11
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
help me pls

I cant do anything without install this driver. I have done all the things but it doesnt work. on my hardware center, on unknown there is : usb 2.0 flash disk.

how can I install it?
 
Old 02-15-2006, 08:24 AM   #12
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
It is not clear by your post whether you have tried this, but I thought by default Mandrake/Mandriva will mount USB devices on

/mnt/removeable/

You should try opening this in Konqeror. If it does not appear, you should open up 'configure my computer' from the KDE menu and check to see whether the service is running to mount USBs.

If this does not work, then you will need to dig deeper to find out what the problem is. It might an issue with USB 2, however I have a 512MB mp3 player that I can connect without problems.
 
Old 02-15-2006, 08:36 AM   #13
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
ok

Ok, now it works. umount command works and I can easily disconnect the device. thanks
 
  


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
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 06:39 PM
USB Flash memory alanbarnard Linux - Hardware 2 10-25-2004 05:49 PM
where is the usb flash memory? chinaundead Mandriva 2 04-08-2004 01:52 PM
USB flash memory??? perdesiz Linux - Hardware 6 03-12-2004 11:10 AM
USB flash memory ericmax Red Hat 2 09-11-2003 07:45 AM


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