Find the answer to your Linux question:
Results 1 to 10 of 10
Hi guys, Need help to mount a pen in Suse linux 10.0 What should be the steps to do it righ. please help me out!! thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    10

    USB pen drive trouble


    Hi guys,

    Need help to mount a pen in Suse linux 10.0
    What should be the steps to do it righ.

    please help me out!!
    thanks

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Suse 10.0 should automount your usb pen drive. Check the /media folder for your pen drive.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    If you still have problems (with it not being in /media for example) check out this tutorial:
    http://www.linuxforums.org/forum/lin...ves-linux.html
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2006
    Posts
    10
    Quote Originally Posted by dylunio
    If you still have problems (with it not being in /media for example) check out this tutorial:
    http://www.linuxforums.org/forum/lin...ves-linux.html

    I had seen that post before, but it didn't help much.
    that because the disk mounted was not the flash usb but a external disk I had conected to a IDE.

    If more info needed, just say...

  6. #5
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Sorry but what are you trying to mount? In your thread title you say it's a usb pen drive, and now you say it's an external disk?

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  7. #6
    Just Joined!
    Join Date
    Mar 2006
    Posts
    10

    Exclamation

    Like the title says i'm trying to mount a usb pen drive...
    What i said in my last post was that when i did what the tutorial says, it mounts, not my usb pen drive, but my usb external disk.

    and that's not what i want, got it?!
    Sorry the mess...

  8. #7
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    In the mount command given in the post, try using /dev/sda2 instead of /dev/sda1.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  9. #8
    TBD
    TBD is offline
    Just Joined! TBD's Avatar
    Join Date
    Mar 2006
    Posts
    29
    ----------------------------------
    USB 2.0 Flashdrive install on Linux
    Updated on 03/10/2006 04:59:30 AM EST by tbd

    Plug in the flash drive into one of the USB ports on your computer. After you've plugged it in, you'll want to open a terminal window and become the "root" user. To become the root user, type in the following command "su" (without the quotes).


    [tbd@linux:~> su
    Password:
    linux:/home/tbd #



    Enter Root's password. Now in the same terminal window type this command: "lsmod | more" (without quotes) to list your currently loaded modules. Scroll to the bottom of the list keeping an eye out for loaded USB modules such as: (usb_storage, ehci_hcd, uhci_hcd, usb_core ...etc)


    [linux:~> edd 12448 0
    usb_storage 86080 0
    floppy 73792 0
    ip6t_REJECT 6528 3
    i2c_viapro 9752 0
    ehci_hcd 36744 0
    snd_via82xx 33696 1
    gameport 17808 1 snd_via82xx
    snd_mpu401_uart 9344 1 snd_via82xx
    snd_emu10k1 133316 2 snd_emu10k1_synth
    snd_rawmidi 31904 4 snd_seq_midi,snd_seq_virmidi,snd
    _mpu401_uart,snd_emu10k1
    ipt_REJECT 6656 3
    snd_seq_device 11024 6 snd_seq_midi,snd_emu10k1_synth,s
    nd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
    via_velocity 38816 0
    crc_ccitt 2560 1 via_velocity
    ipt_state 2432 12
    snd_ac97_codec 117188 2 snd_via82xx,snd_emu10k1
    snd_pcm 117260 4 snd_pcm_oss,snd_via82xx,snd_emu10k1,snd_ac97_cod
    ec
    snd_timer 29320 3 snd_seq,snd_emu10k1,snd_pcm
    snd_ac97_bus 3328 1 snd_ac97_codec
    snd_page_alloc 13200 3 snd_via82xx,snd_emu10k1,snd_pcm
    snd_util_mem 6528 2 snd_emux_synth,snd_emu10k1
    uhci_hcd 36384 0
    usbcore 140596 4 usb_storage,ehci_hcd,uhci_hcd



    Now that we know our system will support a USB Storage unit enter the following command into the terminal "lsusb" (without quotes), see if your computer has recognized the flash drive you plugged in. Don't be concerned if it's not the brand-name you purchased - this stick is sold by A-Data ... but reads Feiya Technology (that is the memory manufacturer used in the A Data stick)


    linux: # lsusb
    Bus 005 Device 002: ID 090c:1000 Feiya Technology Corp. Memory Bar
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000



    This tells me that the system has recognized one USB device named "Feiya Technology Corp. Memory Bar". If your output doesn't list anything that looks like your flash drive, I'd recommend trying different USB ports on your computer to see if it can get listed.

    After successful recognition of your USB drive, you'll want to create a directory where your USB drive will be mounted.


    linux: cd /mnt
    tbd@linux:/mnt> mkdir usbstick



    With that done ... let's find out the proper device type the USB Stick is on. Enter this command in the terminal: dmesg | grep -i "SCSI device"


    linux:~> dmesg | grep -i "SCSI device"
    SCSI device sda: 1002496 512-byte hdwr sectors (513 MB)
    SCSI device sda: 1002496 512-byte hdwr sectors (513 MB)
    tbd@linux:~>



    As you can see, there are two lines of output, both the same. The information we're interested in is the output immediately after "SCSI device". On my machine it's sda ............

    If your running SATA (or scsi) drives, the output will most likely be quite different. The words you'll be looking for will probably be sdb or sdc . To make sure you select the correct device, simply look for some information that describes your flash drive. For example, my flash drive has 512 megabytes of storage on it. On the output, the words (513 MB) would be a good indicator of that being my flash drive.


    Now, before we add this information to "etc/fstab" (so your flashdrive starts when Linux starts) we will want to make a backup copy ... just in case.

    Enter the command as follows:
    cp /etc/fstab /etc/fstab.bak

    With the backup in place were ready to go.

    Now we're going to enter the command to alter the /etc/fstab file. To do this issue the following command in your terminal window:
    /dev/sda /mnt/usbstick vfat user,noauto,umask=0 0 0

    Make sure you use your own information! ... change sda to whatever your device is (sdb, sdc ...etc). Also make sure you have the proper directory - if you made your USB flash directory to be somewhere other than "/mnt" then you will need to adjust that accordingly.

    Now you should be able to mount your USB Drive and use it.
    Enter the following command to mount your USB Drive:
    cd /mnt
    mount usbstick

    linux:~> cd /mnt
    linux:/mnt> mount usbstick

  10. #9
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1

    SCSI device not showing

    Hi there, I'm running KDE on Suse 10.0, and the problem I have is that, although every USB drive I plug in is recognized in lsusb, nothing else happens or seems to work. The dmesg|grep command never returns any results, and I can't find the drive listed anywhere in the system. What am I doing wrong?

  11. #10
    Linux Engineer d38dm8nw81k1ng's Avatar
    Join Date
    Mar 2005
    Location
    Newcastle
    Posts
    793
    umm... try
    Code:
    fdisk -l
    that's a little L btw. it SHOULD list your pen drive. if it doesn't it could be because the filesystem is messed up. it might still work (at least it did with my friend's). my personal preference is to format it with the DSL FAT32 FS, at least then you get a clean FS table, instead of the mess that is DOS
    Here's why Linux is easier than Windows:
    Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
    Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •