Find the answer to your Linux question:
Results 1 to 9 of 9
Like Tree1Likes
  • 1 Post By devils casper
Hello! This is my first post at this forum and I would like to kindly ask for help. I use Kubuntu for a year now and everything but USB ran ...
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Location
    germany
    Posts
    4

    Be root and find mounted USB

    Hello!
    This is my first post at this forum and I would like to kindly ask for help. I use Kubuntu for a year now and everything but USB ran out of the box. A friend got me his USB stick with materials I would like to make available on the system. Now how do I mount and find an USB drive?

    with
    Code:
    sudo mount /dev/sda2 /mount 
    it keeps saying: Sie müssen den Dateisystemtyp angeben. 
    Which translates to: Please enter the Storeagesystemtype. or anyhow similar
    My general question would be, if i can choose any existing /sda(1or2or3) to mount the USB there? If it’s mounted then, how do I locate it within the Dolphin?

    Help would really be so so kind as while I’m a total noob in how to use linux!

    Regards
    LinuxNewBe

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Does Kubuntu detect and mount USB Drive whenever you plug it in?

    If you have to mount it manually, Plug-in USB Drive and execute sudo fdisk -l command in Konsole. Check which device name has been assigned to it. Use that device name in mount command.

    First of all create mount point (folder). You can create it anywhere. Its better to create folder in /media, imho.
    Code:
    sudo mkdir /medio/USB
    mount /dev/<device_name>  /media/USB
    ls /media/USB
    Navigate to / - media - USB in Dolphin.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Location
    germany
    Posts
    4
    Thanks devils casper!

    I may have changed the os defaults so that the USB now doesn’t get autodetected. If that would be an option I totally agree with rechanging it, any suggestions on that?

    Here is the code the Konsole gives out from sudo fdsk -l
    Code:
    MyLinux@computer:~$ sudo fdisk -l
    [sudo] password for MyLinux: 
    
    Platte /dev/sda: 80.0 GByte, 80026361856 Byte
    255 Köpfe, 63 Sektoren/Spur, 9729 Zylinder
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0007f49b
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sda1   *           1        4781    38398135+  83  Linux
    /dev/sda2            4781        9730    39750657    5  Erweiterte
    /dev/sda5            9662        9730      541696   82  Linux Swap / Solaris
    /dev/sda6            4781        9595    38666240   83  Linux
    /dev/sda7            9595        9661      534528   82  Linux Swap / Solaris
    
    Partitionstabelleneinträge sind nicht in Platten-Reihenfolge
    
    Platte /dev/sdb: 16.0 GByte, 16047407104 Byte
    94 Köpfe, 30 Sektoren/Spur, 11114 Zylinder
    Einheiten = Zylinder von 2820 × 512 = 1443840 Bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xc3072e18
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdb1               3       11115    15667264    7  HPFS/NTFS
    MyLinux@computer:~$
    I tryed /sdb as a devicename as you implyed:
    Code:
    @computer:~$ sudo mkdir /media/USB
    computer:~$ sudo mount /dev/sdb  /media/USB
    mount: Sie müssen den Dateisystemtyp angeben
    Can you find the USB or does it imply a change of the defaults that may have been done previously?

    Thank you!

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Hi there.

    Your USB drive is /dev/sdb1. So follow the steps given by DC using that device name.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Sep 2011
    Location
    germany
    Posts
    4
    Hello jayd512!

    Yes that works out! Thank you!
    Well I found it! It worked!

    Thanks to both of you! Very well appreciated!

    Regards
    LinuxNewbe911

  6. #6
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    It's not going to be located in your home directory.
    You should be able to find the media folder inside the root folder.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  7. #7
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    To avoid mounting usb drives as root now I use pmount/pumount command. You may see How to fstab - Ubuntu Forums if that interests you.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Or
    you can use umask=0 to enable full access to USB Drive for all users.
    Code:
    sudo mount -t ntfs-3g /dev/sdb1 /media/USB -o defaults,umask=0
    ptkobe likes this.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Sep 2011
    Location
    germany
    Posts
    4
    Hello Jay, Devils Casper, Ptkobe!

    The media section to look at....yes! Found my way to it, thanks to you! Ptkobe, this thread is the follow up on this one! while I just changed from my friends USB to mine thanks to you as well!
    I just pmounted it. Looks pretty doable to me, as while it can mount any USB anytime with just two simple commands. Thank you guys for helping me out!

    Regards,
    LinuxNewBw

Posting Permissions

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