WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to find device path for USB  (Read 5146 times)

Offline enoch

  • Full Member
  • ***
  • Posts: 122
how to find device path for USB
« on: October 02, 2009, 03:37:21 PM »
I would like to access / mount my USB drive, how do I find the path or command?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to find device path for USB
« Reply #1 on: October 02, 2009, 03:40:10 PM »
Plug in the USB drive.
Go to a root shell.
look in /mnt for the partition - EX: sda1
mount the partition - EX: mount /mnt/sda1

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: how to find device path for USB
« Reply #2 on: October 02, 2009, 04:56:58 PM »
We have a GUI tool. Control Panel -> Mount Tool
Clicking top button cycles through devices, clicking bottom button will change status mount/unmount.
10+ Years Contributing to Linux Open Source Projects.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to find device path for USB
« Reply #3 on: October 02, 2009, 11:46:05 PM »
Well, I am a command line guy, so sometimes I forget.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: how to find device path for USB
« Reply #4 on: October 02, 2009, 11:52:20 PM »
That's cool. But some are not ! We try to please both.
10+ Years Contributing to Linux Open Source Projects.

Offline enoch

  • Full Member
  • ***
  • Posts: 122
Re: how to find device path for USB
« Reply #5 on: October 03, 2009, 10:29:30 AM »
Thanks the mount tool worked,  /mnt gave Permission Denied even at root.

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
Re: how to find device path for USB
« Reply #6 on: October 04, 2009, 02:27:03 AM »
I find that after inserting my usb stick

Code: [Select]
sudo fdisk -l
usually helps me find what I'm looking for

hth

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14785
Re: how to find device path for USB
« Reply #7 on: October 04, 2009, 02:35:43 AM »
..or:
Code: [Select]
$ dmesg | tail -20