Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

noob trying to use my flash drive

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
specialist125
Posts: 139
Joined: 2006-02-08 06:13

noob trying to use my flash drive

#1 Post by specialist125 »

Ok, I have a SanDisk Cruzer mini 1GB flash drive and I can get it to work.Is their somthing special I have to do to it first before it will work.I know that is is detecting my flash drive but I cant seem to access it . I went through this tutorial :

http://www.novell.com/coolsolutions/feature/11637.html

but in the end it wasn't workin and their was noting in my flash folder.

here's my imput and information asked by the tutorial

lsusb
Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 004: ID 043d:007b Lexmark International, Inc.
Bus 003 Device 003: ID 043d:007c Lexmark International, Inc.
Bus 003 Device 002: ID 043d:007a Lexmark International, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 0781:5150 SanDisk Corp. SDCZ2 Cruzer Mini Flash Drive (thin)
Bus 001 Device 001: ID 0000:0000

dmesg | grep -i "SCSI device"
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)

pwd
/home/specialist125/Desktop

cp /etc/fstab /etc/fstab.bak
I checked and the backup file is their

echo "/dev/sda /home/jason/Desktop/flash vfat users,noauto,uid=jason,gid=users 0 0" >> /etc/fstab

changed to

echo "/dev/sda /home/specialist125/Desktop/flash vfat users,noauto,uid=specialist125,gid=users 0 0" >> /etc/fstab


exit
exit

mount flash
changed to root
mount flash

THIS IS THE FSTAB FILE
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sde /home/specialist125/Desktop/flash vfat users,noauto,uid=specialist125,gid=users 0 0
/dev/sde /home/specialist125/Desktop/flash vfat users,noauto,uid=specialist125,gid=users 0 0
/dev/sda /home/specialist125/Desktop/flash vfat users,noauto,uid=specialist125,gid=users 0 0

User avatar
Kaitlyn
Posts: 129
Joined: 2005-12-13 14:35
Location: Big Orange

#2 Post by Kaitlyn »

I can't seem to find it now, but last December I read about a kernel bug that resulted in the partition table being read as the first partition of the drive. So you may need to try another kernel version.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#3 Post by specialist125 »

I installed from the package manager the kernel-image-2.6.8-2-386

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#4 Post by specialist125 »

So could someone give me a better method to get this to work or a link with some direction to doing this because I really need to use my flash drive.

adssse
Posts: 71
Joined: 2006-01-17 05:36

#5 Post by adssse »

I cant really tell you what is going wrong.

For me all I have to do is creat the directory /mnt/sda1 and (as root)

mount /dev/sda1 /mnt/sda1
and to unmount
umount /mnt/sda1

Scotti
Moderator Team Member
Moderator Team Member
Posts: 305
Joined: 2005-11-08 01:13

#6 Post by Scotti »

Here's my /etc/fstab entry for my USB drive.

Code: Select all

/dev/sda /media/usb0 auto defaults,user,noauto 0 0
I created /media/usb0 and I just $ mount /media/usb0. Works fine for me.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#7 Post by specialist125 »

ok here is my /etc/fstab

Code: Select all

/dev/sde /home/specialist125/Desktop/flash auto defaults,user,noauto 0 0
since I already have that directory on my desktop

Then as $ mount /home/specialist125/Desktop/flash

but I got the following message

mount: I could not determine the filesystem type, and none was specified

What does this mean

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#8 Post by specialist125 »

Ok I got my flash drive to work but I have a few question

1.Why does dmesg | grep -i "SCSI device" show my drive as
"SCSI device sde: 2001888 512-byte hdwr sectors (1025 MB)" but in fdisk -l /dev/sde show it as

Disk /dev/sde: 1024 MB, 1024966656 bytes 32 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

Device Boot Start End Blocks Id System
/dev/sde1 1 992 999813+ 6 FAT16


which say's sde1

2. Shouldn't the light on my drive go off when I unmount?
This is my fstab

Code: Select all

/dev/sde1       /home/specialist125/Desktop/flash  auto auto,user,exec      0 0

3. Is their a way to set this up where it auto mounts on plug in instead of going to the drive and selecting mount. I have used knoopix and I mounted on plug in


Ok I thought It was working properly, well it was but stoped. Yesterday I could mout and unmount the drive then I restared my computer and this is when I realize
1. If I plug in the flash drive before boot up I doesnt make my computer hang like before but I can't mount the drive after log in? why?

2. Like I said yesterday the dive would mount and unmout but the light on the flash drive would not shut off. After rebooting without putting the flash disk in the dive I can log in and mount but it will not let me unmount the drive now and if I take it out I can't remount it at a later time without shutting down and restarting.Why?

How can I resolve these problems?

I'm new to linux and I'm learning my way and keeping a log of problems I run into so I like to know why things work the way they do instead of just doing stuff.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#9 Post by specialist125 »

So, does any one have an answer?

Post Reply