Posts: 1,062
Dave
Joined: 20 Jan 2010
#16
The device should be similar to
/dev/sdb1 (normally usb key)
/dev/hdb1 (normally older internal hdd)

/dev (meaning the /dev folder)
hd/sd (meaning hard disk / sata device)
b (meaning the seccond device a,b,c,etc...)
1 (meaning the first partition on the device 1,2,3,etc...)

I normally find my device by issuing blkid as root *before* it is plugged in, then after it is plugged in to compare. ( this will give you the UUID + the relative file in /dev ) The one that shows up the seccond time will be your device.

The output should be similar to

Code: Select all

/dev/hda1: UUID="b6e350ac-53ef-491a-bf28-9353b364f1bb" TYPE="ext3" 
/dev/hda2: UUID="e3bb28f8-6695-4cfa-9bf6-c70280a0e13d" TYPE="swap"
with the outputed code above, to mount the seccond partition I would use the following commands (as root)
mkdir /mnt/hda2
mount /dev/hda2 /mnt/hda2

THIS WILL MOUNT AS ROOT USER. You will then need to make your changes as ROOT. To mount as a normal user you would use pmount and pumount to replace mount and umount respectively.
Posts: 107
brian
Joined: 10 Sep 2011
#17
Dave wrote:The device should be similar to
/dev/sdb1 (normally usb key)
/dev/hdb1 (normally older internal hdd)

/dev (meaning the /dev folder)
hd/sd (meaning hard disk / sata device)
b (meaning the seccond device a,b,c,etc...)
1 (meaning the first partition on the device 1,2,3,etc...)

I normally find my device by issuing blkid as root *before* it is plugged in, then after it is plugged in to compare. ( this will give you the UUID + the relative file in /dev ) The one that shows up the seccond time will be your device.

The output should be similar to

Code: Select all

/dev/hda1: UUID="b6e350ac-53ef-491a-bf28-9353b364f1bb" TYPE="ext3" 
/dev/hda2: UUID="e3bb28f8-6695-4cfa-9bf6-c70280a0e13d" TYPE="swap"
with the outputed code above, to mount the seccond partition I would use the following commands (as root)
mkdir /mnt/hda2
mount /dev/hda2 /mnt/hda2

THIS WILL MOUNT AS ROOT USER. You will then need to make your changes as ROOT. To mount as a normal user you would use pmount and pumount to replace mount and umount respectively.
Hi Dave,
much appreciate your time. __{{emoticon}}__

I followed your advice putting blkid as root, which gave me pretty much the same results you showed. But when I connected my USB drive and ran blkid again, there was no difference at all.

And yet, if I connect a USB wireless antenna, it works immediately, without mounting anything! __{{emoticon}}__

brian
Posts: 1,062
Dave
Joined: 20 Jan 2010
#18
__{{emoticon}}__ hhmm try the going through the same sequence only instead of using blkid use fdisk -l.

If that does not show anything type lsusb and post the output here.
EDIT:
for before and after the usb device is inserted

ANOTHER EDIT:
I have been treating this as though it is a usb-hdd, I did not take into consideration that it is a cd/dvd player. Just to eliminate another easy problem, is there a cd / dvd in the drive? Sometimes that will make a differance.
Posts: 107
brian
Joined: 10 Sep 2011
#19
Dave wrote: __{{emoticon}}__ hhmm try the going through the same sequence only instead of using blkid use fdisk -l.

If that does not show anything type lsusb and post the output here.
EDIT:
for before and after the usb device is inserted

ANOTHER EDIT:
I have been treating this as though it is a usb-hdd, I did not take into consideration that it is a cd/dvd player. Just to eliminate another easy problem, is there a cd / dvd in the drive? Sometimes that will make a differance.
Hi Dave,
still here, sorry about the delay... just real busy these days..

I ran fdisk -l as root before and after inserting the drive. No difference.
So I ran lsusb before inserting the drive and got this:

Code: Select all

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
and after inserting the drive got this:

Code: Select all

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0e8d:1836 MediaTek Inc. Samsung SE-S084 Super WriteMaster Slim External DVD writer

I did all this while a CD was in the drive.

Also, I tried to mount it through Nautilus running as root, but it told me that I wasn't authorized. But it did recognize the CD in the driver, so it might be progress..

Any thoughts?

Brian