-
kinoppix 3.7 and usb pen drive problems
hi
i have a knoppix 3.7 live cd and a kingston data traveller usb flash drive.
when i boot knoppix in my home machine and plug in the usb drive it detects it normally
but when i boot kinoppix from a computer in my university and try to plug the same usb drive it does not detect it. but the usb drive works fine when i load windows xp in the same computer (in this particular machine windows detects my usb but kinoppix doesnt but in my home computer both kinoppix and win xp detects the usb ).
anyways in when i do lsmod|more i can see the usb-storage module has been loaded
but in the fstab will there were no entry for the usb device so i typed
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000,uid=kinoppix,gid=kinop pix 0 0
and made a mounting piont on mnt as sda1
and try to mount the device (sda1) it produces an error something similar to "sda1 is not a correct block device"
given below are the lsmod,lspci,fstab and mtab files
lsmod file
____________________________________
Module Size Used by Not tainted
i830 69536 1
agpgart 42724 11 (autoclean)
autofs4 8756 1
af_packet 13544 0 (autoclean)
i810_audio 25048 1
ac97_codec 11916 0 [i810_audio]
soundcore 3428 2 [i810_audio]
e100 51064 1
serial 52100 0 (autoclean)
mousedev 3832 1
hid 22564 0 (unused)
input 3168 0 [mousedev hid]
pcmcia_core 39840 0
thermal 6724 0 (unused)
processor 9008 0 [thermal]
fan 1600 0 (unused)
button 2700 0 (unused)
battery 5952 0
ac 1824 0
rtc 7036 0 (autoclean)
cloop 8740 2
ieee1394 183076 0
usb-storage 61760 0 (unused)
usb-uhci 21644 0 (unused)
usbcore 57600 1 [hid usb-storage usb-uhci]
ataraid 6180 0
ide-scsi 8816 1
____________________________________________
lspci file
________________________________________________
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 81)
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 81)
__________________________________________________ __________________
this is th fstab file
__________________________________________________ ___________________
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix
0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda4 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix
0 0
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix
0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda4 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix
0 0
---------------------------------------------------------------------------------------------------
mtab file
__________________________________________________ _________________
/dev/root / ext2 rw 0 0
/dev/scd0 /cdrom iso9660 ro 0 0
/dev/cloop /KNOPPIX iso9660 ro 0 0
/ramdisk /ramdisk tmpfs rw,size=192348k 0 0
/proc/bus/usb /proc/bus/usb usbdevfs rw,devmode=0666 0 0
automount(pid521) /mnt/auto autofs rw,fd=4,pgrp=521,minproto=2,maxproto=4 0 0
/dev/hda5 /mnt/hda5 ntfs ro,nosuid,nodev,umask=000,uid=1000,gid=1000 0 0
/dev/hda1 /mnt/hda1 ntfs ro,nosuid,nodev,umask=000,uid=1000,gid=1000 0 0
/dev/hda3 /mnt/hda3 ext3 ro,nosuid,nodev 0 0
-------------------------------------------------------------------------------------------------------
any reason for this situation
and how can i get over this
thankz
-
Senior Member
registered user
Go back a few steps.
Check the usb daemon is running
As root
# ps x | grep usb
should return something like
3152 ? SW 0:00 [usb-storage-0]
3203 pts/0 S 0:00 grep usb
Once your usb device is connected
# modprobe usb-storage
will start the usb-storage module.
then
# less /proc/modules
will check if the device is connected.
It will return something like
usb-storage 61280 0 (unused)
lp 7492 0 (autoclean)
autofs4 8756 0 (unused)
af_packet 13512 0
nls_iso8859-1 2844 0 (unused)
nls_cp437 4348 0 (unused)
agpgart 42628 0 (unused)
via82cxxx_audio 19484 1
ac97_codec 11884 0 [via82cxxx_audio]
uart401 6052 0 [via82cxxx_audio]
sound 55276 0 [via82cxxx_audio uart401]
soundcore 3428 5 [via82cxxx_audio sound]
3c509 11668 1
parport_pc 24840 1
parport 22496 1 [lp parport_pc]
serial 51940 0
printer 7680 0
usb-uhci 21836 0 (unused)
usbcore 57824 0 [usb-storage printer usb-uhci]
apm 9768 1
rtc 6940 0
ext3 63972 1
jbd 46164 1 [ext3]
Then #mkdir /mnt/sda1
Then #mount -t vfat /dev/sda1 /mnt/sda1
Then #mount -o uid=knoppix -t vfat /dev/sda1 /mnt/sda1
Then finally, if all goes well, as knoppix#ls /mnt/sda1 to see the device directories.
Once this stage has been achieved then the entry you have put in /etc/fstab should work.
Best of luck!
(These commands were tried out on Knoppix 3.3, but should be similar for 3.7 )
-
Junior Member
registered user
LINUX recognition of USB flash drive
As a newbie, I'm having a similar problem. However, I've made some progress but haven't solved my problem yet. At first I couldn't get KNOPPIX LINUX to recognize my USB flash drive. However, I found a cheatcode that solves the recognition problem for me. It is:
knoppix usb2
I enter that at the boot prompt and I get an icon on my desktop titled "Hard Drive Partition [sda1]". This drive then shows up when I have to decide where to save my configuration settings. After saving, configs.tbz and knoppix.sh files are shown on the flash drive.
However, I can't get beyond this point. When I reboot (using the cheatcode), I can't get the knoppix to use these configuration files even though the flash drive is still recognized. I've tried the command:
/mnt/sda1/
but it doesn't like that command. I get a return message that says:
bash:/mnt/sda1/: is a directory
This is where total ignorance overtakes me and I can't proceed.
I hope my suggestion is of value to you. Also, if you have any suggestions on my problem, I'd like to hear them.
Thanks
-
Junior Member
registered user
Solution to my Problem
I seem to have solved my USB flash drive and system configuration problem. By trial and error I have discovered that the cheatcode:
knoppix usb2 config=scan
will cause knoppix linux to detect and mount my flash drive and import the configuration file from it. Now I can use my flash drive as I please
I hope this has been helpful to others
-
hey thankz.
i didnt got a chance to try them out yet but tommarow ill be going to the uni and ill post whether your method worked
but a qiuck note since my usb drive worked perfectly with the same kinnopix drive in ma home computer and aslo it worked in my uni comp when using win Xp.so can any one tell me why this is like happenning ,any reasons for this.
there are 2 usb hubs in the front of the computer case of the uni comp as well as two at the back and i only tried the front ones .might this be the reason for the usb to not get detected
-
@markpreston;
hi;
total newb here - but working at it....
I don't think I can run as Root at all (is it even possible to be or run as Root from the LiveCD ??) - I click the penquin and then choose Root Shell and the Konsole opens and I typed some of your commands and nothing happens...it goes to an empty line ![Sad](images/smilies/icon_sad.gif)
@nirVaan;
I would think that like tstrickland pointed out - you probably need to tell it "which" USB port you are connected to, via using [knoppix usb1 myconfig=scan] (or knoppix usb2, knoppix usb3, etc )
-
Senior Member
registered user
I click the penquin and then choose Root Shell and the Konsole opens and I typed some of your commands and nothing happens...it goes to an empty line.
I don't know what you are doing, but usually when a command is run in a terminal and it goes to an empty line it means the command succeeded without errors.
It doesn't mean that nothing happened.
This should apply to the following
# modprobe usb-storage
#mkdir /mnt/sda1
#mount -t vfat /dev/sda1 /mnt/sda1
#mount -o uid=knoppix -t vfat /dev/sda1 /mnt/sda1
I tend to su into root when running from a knoppix shell, but I doubt this is any different to clicking on the penguin icon as you describe. Maybe the lack of a root password when running from the liveCD has some effect I am unaware of regarding clicking on the penguin icon to get to a root shell.
Similar Threads
-
By nikala in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-07-2008, 11:24 AM
-
By knostic in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 11-21-2005, 11:18 PM
-
By jaciii in forum Hardware & Booting
Replies: 0
Last Post: 12-19-2003, 06:49 PM
-
By RE Dude in forum General Support
Replies: 5
Last Post: 10-30-2003, 02:14 AM
-
By ivi in forum Hardware & Booting
Replies: 2
Last Post: 04-26-2003, 08:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Apple 661-0287 5.25](/store/img/4cYAAOSwz9hlQ79Z/s-l225//Apple-661-0287-5-25-Unidisk-Analog-CD-Card-Vintage.jpg)
Apple 661-0287 5.25" Unidisk Analog CD Card Vintage 1986 820-0190-A
$152.00
![*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG13) picture](/store/img/OEYAAOSwAIRmiaJ-/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1220-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG13)
$63.75
![Dual Systems AOM-12 Digital to Analog S-100 Computer picture](/store/img/YuIAAOSwM5tmC0L9/s-l225//Dual-Systems-AOM-12-Digital-to-Analog-S-100-Comput.jpg)
Dual Systems AOM-12 Digital to Analog S-100 Computer
$95.00
![Brand New - Apple Macintosh SE & SE/30 - Universal Replacement Power Supply picture](/store/img/dxUAAOSwKctmjgoV/s-l225//Brand-New-Apple-Macintosh-SE-SE-30-Universal-Repla.jpg)
Brand New - Apple Macintosh SE & SE/30 - Universal Replacement Power Supply
$134.99
![*KB* ANALOG DEVICES MODEL RTI-1221 VINTAGE COMPUTER (JKG1) picture](/store/img/OfwAAOSwvnpmiZiX/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1221-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1221 VINTAGE COMPUTER (JKG1)
$63.75
![*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG14) picture](/store/img/N2YAAOSwBFlmiaMV/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1220-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG14)
$63.75
![*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG7) picture](/store/img/WDYAAOSwi6FmiZy2/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1220-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG7)
$63.75
![*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG22) picture](/store/img/-JQAAOSwiYpmiajO/s-l225//-KB-ANALOG-DEVICES-MODEL-RTI-1220-VINTAGE-COMPUTER.jpg)
*KB* ANALOG DEVICES MODEL RTI-1220 VINTAGE COMPUTER (JKG22)
$63.75
![Extron RGB-160XI Analog Computer Video 60-378-01 picture](/store/img/acQAAOSw0rdcMWoG/s-l225//Extron-RGB-160XI-Analog-Computer-Video-60-378-01.jpg)
Extron RGB-160XI Analog Computer Video 60-378-01
$187.06
![Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals picture](/store/img/dToAAOSw~R9mPt-B/s-l225//Tandy-TRS-80-Computer-2-w-Disc-Drive-FD-501-Joysti.jpg)
Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals
$224.99