Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-20-2003, 09:22 AM
|
#1
|
Member
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539
Rep:
|
cigar pro usb drive
I am having difficulty getting my cigar pro usb drive to work in RH 9.0 (it was working in 7.3)
I create the folder /mnt/cigarpro, then on the next command i get an error:
>>mount -t ext2 /dev/sda /mnt/cigarpro
mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems
I enter:
>>dd if=/dev/sda of=/tmp/drivedump count=1024
1024+0 records in
1024+0 records out
the file drivedump is binary, so can't really read it.
also did:
>>cat /proc/partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
8 0 516096 sda 2655 166473 338256 433100 0 0 0 0 0 212720 433100
8 1 515568 sda1 2638 165771 336818 427640 0 0 0 0 0 209600 427640
3 0 58615704 hda 30101 27053 456140 246970 14313 63455 622272 1103480 -1 4132530 40001582
3 1 104391 hda1 34 83 234 360 21 11 64 450 0 790 810
3 2 57199432 hda2 30050 26917 455706 246460 14292 63444 622208 1103030
0 225440 1350090
3 3 1309297 hda3 14 44 176 110 0 0 0 0 0 110 110
3 64 13282416 hdb 3215 4969 64746 740340 909 1066 15792 34330 -1 4270040 39425222
3 65 13277691 hdb1 3213 4963 64730 740330 909 1066 15792 34330 0 385190
774660
Tried the same commands with sda1 (instead of sda) with the same results.
Can anyone tell me what else to do?
|
|
|
05-20-2003, 09:37 AM
|
#2
|
LQ Newbie
Registered: May 2003
Posts: 10
Rep:
|
1) Try mounting the /tmp/drivedump file in the cigarpro directory and see what happens. Try it as ext2, fat, and vfat and see if one of those works.
2) try using format and see what comes out when you chose the usb drive and then p for partition. That will give you what format it is.
DanH
|
|
|
05-20-2003, 11:35 AM
|
#3
|
Member
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539
Original Poster
Rep:
|
>>mount -t ext2 /tmp/drivedump /mnt/cigarpro
mount: /tmp/drivedump is not a block device (maybe try `-o loop'?)
>> mount -t fat /tmp/drivedump /mnt/cigarpro
mount: fs type fat not supported by kernel
>>mount -t vfat /tmp/drivedump /mnt/cigarpro
mount: /tmp/drivedump is not a block device (maybe try `-o loop'?)
I didnt see loop as an option for -o
I'm not sure what you mean by your format suggestion.
|
|
|
05-20-2003, 11:50 AM
|
#4
|
LQ Newbie
Registered: May 2003
Posts: 10
Rep:
|
mount -t ext2 -o ro,loop=/dev/loop0 /tmp/drivedump /mnt/cigarpro
as root type
fdisk /dev/sda
that will bring you to a menu or give you a "Not a valid block device" error. If it's the error, try sdb sdc, etc and see what it comes back as.
In any case, check /var/log/messages and have a tail -f /var/log/messages going when you plug the drive in and see what the output tells you. It'll tell you if the drive is recognized and what device it becomes.
DanH
|
|
|
05-20-2003, 12:37 PM
|
#5
|
Member
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539
Original Poster
Rep:
|
i don't know how you guys know all these commands, its amazing to me.
>>mount -t ext2 -o ro,loop=/dev/loop0 /tmp/drivedump /mnt/cigarpro
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
>>fdisk /dev/sda
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
What to choose?
When i unplug and replug the device, /var/log/messages says:
May 20 10:37:09 localhost kernel: usb.c: USB disconnect on device 00:13.2-3.2 address 3
May 20 10:37:14 localhost kernel: hub.c: new USB device 00:13.2-3.2, assigned address 4
May 20 10:37:17 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product ea0/6803/100
|
|
|
05-20-2003, 01:37 PM
|
#6
|
Member
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825
Rep:
|
Shouldn't that command be
mount -t vfat /dev/sda1 ?
|
|
|
08-20-2003, 03:15 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Rep:
|
I was having the same problem, and fixed it by including the sd_mod module.
modprobe sd_mod
After that, I could mount the drive just fine.
|
|
|
08-20-2003, 11:13 PM
|
#8
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
you probably need to mount /dev/sda 1
try it
|
|
|
08-22-2003, 05:02 PM
|
#9
|
Member
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539
Original Poster
Rep:
|
Thanks for the tip
I don't know what I did, but at some put it just started working
|
|
|
All times are GMT -5. The time now is 03:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|