OK I tried sdb1, sdb2 and sdb3
secial device /dev/sdb1 does not exist.
There must be a way I can find out the name of my usb drive
Printable View
OK I tried sdb1, sdb2 and sdb3
secial device /dev/sdb1 does not exist.
There must be a way I can find out the name of my usb drive
Connect your device. As root, do fdisk -l.
If it's detected, you'll see it listed there.
Your output should look similar to this:
My flash drive entry is listed in red.Code:root@jason:~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7294eac1
Device Boot Start End Blocks Id System
/dev/sda1 2048 62912511 31455232 83 Linux
/dev/sda2 62912512 125825023 31456256 83 Linux
/dev/sda3 125829120 488397167 181284024 5 Extended
/dev/sda5 487348224 488397167 524472 82 Linux swap
/dev/sda6 125841408 209729535 41944064 83 Linux
/dev/sda7 209731584 487346175 138807296 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 4004 MB, 4004511744 bytes
116 heads, 51 sectors/track, 1322 cylinders, total 7821312 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 32 7821311 3910640 b W95 FAT32
Check that the device is being recognised first.
Run this in a terminal
Then plug it in and look for any errors...Code:tail -f /var/log/messages
It's mounted now, but read only. Just on google trying to figure out what to do, in-between doing housework
OK sick of fiddling about with the flash drive so just typed it out.
My flash drive is formatted with fat so don't see why it is only read only.
eth0 Link encap:Ethernet HWaddr 00:40:CA:73:8A:BB
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns: 0 frame:0
TX packetsL0 errors:0 dropped:0 overruns: 0 carriers:0
collisions:0 txqeueln:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:20 Base address:0x9000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX Packets:0 errors:0 dropped:0 overruns:0 frame:0
TX Packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqeuelen:0
RX bytes:0 (0.0 b) TX bytes: 0 (0.0 b)
that's ifconfig -a btw
What happens when you try dhcpd?
Code:dhcpd
It's like every time I boot my machine another problem presents itself, but at least I got the flash drive working as root.
lsmod
Quote:
Module Size Used by
snd_seq_dummy 1119 0
snd_seq_oss 25900 0
snd_seq_midi_event 4696 1 snd_seq_oss
snd_seq 42680 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 34554 0
snd_mixer_oss 14726 1 snd_pcm_oss
ipv6 236629 14
lp 7105 0
fuse 58136 1
saa7134_alsa 9415 0
ir_kbd_i2c 4493 0
tuner_simple 12357 1
tuner_types 7973 1 tuner_simple
ir_lirc_codec 3623 0
tda8290 11606 0
lirc_dev 8087 1 ir_lirc_codec
ir_sony_decoder 1831 0
tuner 19108 1
nouveau 501887 2
snd_via82xx 17595 0
gameport 6861 1 snd_via82xx
ttm 44512 1 nouveau
snd_ac97_codec 90095 1 snd_via82xx
drm_kms_helper 23927 1 nouveau
ac97_bus 834 1 snd_ac97_codec
ir_jvc_decoder 1957 0
saa7134 139540 1 saa7134_alsa
drm 143170 4 nouveau,ttm,drm_kms_helper
snd_pcm 59843 4 snd_pcm_oss,saa7134_alsa,snd_via82xx,snd_ac97_code c
v4l2_common 5259 2 tuner,saa7134
ir_rc6_decoder 2341 0
i2c_algo_bit 4287 1 nouveau
ir_rc5_decoder 1861 0
videodev 57461 3 tuner,saa7134,v4l2_common
snd_timer 15717 2 snd_seq,snd_pcm
v4l1_compat 13666 1 videodev
snd_page_alloc 5925 2 snd_via82xx,snd_pcm
usbhid 32435 0
snd_mpu401_uart 5095 1 snd_via82xx
videobuf_dma_sg 7352 2 saa7134_alsa,saa7134
ppdev 4901 0
processor 23158 0
ir_nec_decoder 2149 0
videobuf_core 13687 2 saa7134,videobuf_dma_sg
ir_common 3634 1 saa7134
rtc_cmos 7970 0
fan 1926 0
hid 63771 1 usbhid
video 10482 1 nouveau
thermal 6718 0
output 1456 1 video
rtc_core 11871 1 rtc_cmos
snd_rawmidi 15638 1 snd_mpu401_uart
thermal_sys 11426 4 processor,fan,video,thermal
ir_core 13010 9 ir_kbd_i2c,ir_lirc_codec,ir_sony_decoder,ir_jvc_de coder,saa7134,ir_rc6_decoder,ir_rc5_decoder,ir_nec _decoder,ir_common
evdev 7303 11
rtc_lib 1502 1 rtc_core
parport_pc 18218 1
tveeprom 10577 1 saa7134
snd_seq_device 4505 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
firewire_ohci 23789 0
parport 25627 3 lp,ppdev,parport_pc
hwmon 1065 1 thermal_sys
snd 43891 12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,saa7 134_alsa,snd_via82xx,snd_ac97_codec,snd_pcm,snd_ti mer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
firewire_core 43998 1 firewire_ohci
button 4005 1 nouveau
soundcore 4641 1 snd
i2c_viapro 4779 0
sg 21511 0
via_agp 5063 1
i2c_core 16421 13 ir_kbd_i2c,tuner_simple,tda8290,tuner,nouveau,drm_ kms_helper,saa7134,drm,v4l2_common,i2c_algo_bit,vi deodev,tveeprom,i2c_viapro
8139too 16597 0
agpgart 23062 3 ttm,drm,via_agp
shpchp 23205 0
mii 3334 1 8139too
lsusb and some more txt to make this post 10 chars
Quote:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0718:0069 Imation Corp.
Bus 003 Device 002: ID 15d9:0a33 Trust International B.V. Optical Mouse
Bus 004 Device 002: ID 0aec:3050 Neodio Technologies Corp. ND3050 8-in-1 Card Reader
lspci 123456789
Quote:
00:00.0 Host bridge: VIA Technologies, Inc. P4X333/P4X400/PT800 AGP Bridge (rev 82)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
00:0a.0 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01)
00:0b.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev f0)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)