can't not mount usbdrive


Forum: Other Help Topics
Topic: can't not mount usbdrive
started by: woverin

Posted by woverin on Nov. 30 2003,09:45
I login as root
then
mount -t vfat /dev/sda1 /mnt/usbdrive
Here is the error msg
mount: /dev/sda1 is not a valid block device

How can I fix this problem?

Posted by Gilbert Ashley on Nov. 30 2003,16:09
You need to put spaces between the arguments:
mount -t vfat /dev/sda1 /mnt/usbdrive
You might also need to call it /dev/sda instead of /dev/sda1

Posted by woverin on Nov. 30 2003,17:31
Problem solved by reinstall DSL
for some reason
I did not plug usbdrive during dsl-hdinstall so it did not remember that I have usbdrive

Now I try to plug it during dsl-hdinstall and it works :)

Posted by woverin on Nov. 30 2003,19:59
usbdrive did not function again
I notice that each time I reboot
Code Sample
/dev/sda1 /mnt/usbdrive auto users,noauto,exec,umask=000  0 0
 
keep adding everytime one by one
Now I have this line repeat over 10 times

Posted by roberts on Nov. 30 2003,20:41
That problem has been fixed in the next release. It only occurs with hard drive installed systems. But should not cause  mounting problems. Until then you can just delete the extras.
Posted by woverin on Dec. 01 2003,02:51
i deleted the extras but it still keep comming back. Are there any hot fix? I need to use usbdrive
Posted by roberts on Dec. 01 2003,19:35
The extras do not prevent mounting the drive. Note that USB 2.0 is not  supported in the  kernel used by DSL. The only time I have seen "not a valid block device" was trying to mount a 2.0 or when plugging and unplugging or swaping with another usb drive. Sometimes that will cause the system to want to use /dev/sdb1

If you really want to hack a system file then:  Edit /etc/init.d/knoppix-autoconfig   Search for usbdrive. There should be three lines concerning the usbdrive.  Add an "if fi" statement around those three lines...

if [ ! -d /mnt/usbdrive ] ; then
  new ...
  echo ...
  mkdir ...
fi

As, I have said this is corrected in the next release.

Posted by woverin on Dec. 02 2003,19:33
Mine thumbdrive is USB 1.1< Magic Star Mp3 Player 128mb >
I tried  /dev/sdb1 but no luck
Thanks for point me out to  /etc/init.d/knoppix-autoconfig
I will give a try with my little C skill.
When we will see the next release ? (possible kernel 2.6 included?)
I really apprecitiate your work.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.