Results 1 to 9 of 9
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 ...
- 09-26-2011 #1Just 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
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?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
Help would really be so so kind as while I’m a total noob in how to use linux!
Regards
LinuxNewBe
- 09-26-2011 #2
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.
Navigate to / - media - USB in Dolphin.Code:sudo mkdir /medio/USB mount /dev/<device_name> /media/USB ls /media/USB
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-26-2011 #3Just 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
I tryed /sdb as a devicename as you implyed: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:~$
Can you find the USB or does it imply a change of the defaults that may have been done previously?Code:@computer:~$ sudo mkdir /media/USB computer:~$ sudo mount /dev/sdb /media/USB mount: Sie müssen den Dateisystemtyp angeben
Thank you!
- 09-26-2011 #4
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.
- 09-26-2011 #5Just 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
- 09-26-2011 #6
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.
- 09-27-2011 #7
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.
- 09-27-2011 #8
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
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-27-2011 #9Just 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


1Likes
Reply With Quote