View previous topic :: View next topic |
Author |
Message |
mkjtravel
Joined: 20 Sep 2006 Posts: 7
|
Posted: Wed Sep 20, 2006 2:23 pm Post subject: using a stick |
|
|
Hi
I am a newbie to DSL and have a minor problem. DSL is installed to hda2 on my harddisk. To transfer data I would like to use a stick. But if I put the stick on the USB-port nothing happens. I have tried `scsiinfo -l`that I know from SuSE, but that command is not known. How do I find out, what letter X is connected to my stick /dev/sdx1 etc
Thanks
Juergen |
|
Back to top |
|
|
bostonvaulter
Joined: 03 Sep 2006 Posts: 31
|
Posted: Wed Sep 20, 2006 4:11 pm Post subject: |
|
|
in dsl-n the mount tool does not seem to recognize anything new. It only sees things that were there at boot. So the easiest way to do it would be to boot with the usb stick in, then you could simply use the mount tool to mount and unmount it.
Or as SU, you could mkdir /mnt/sda1
and then mount /dev/sda1 /mnt/sda1
to mount it. This is assuming that this is the only usb drive you have in. If you put in more drives it becomes sdb1, then sdc1, etc. |
|
Back to top |
|
|
roberts
Joined: 17 Apr 2006 Posts: 320 Location: OC CA USA
|
Posted: Wed Sep 20, 2006 7:37 pm Post subject: |
|
|
I will pass this request to the maker of the mount tool.
But this may be helpful...
When you plug in your pendrive, the hotplug manager places corresponding info into dmesg.
So doing a [b]dmesg | tail -17[/b] should show the device assigned to the freshly inserted pendrive. |
|
Back to top |
|
|
mkjtravel
Joined: 20 Sep 2006 Posts: 7
|
Posted: Thu Sep 21, 2006 7:16 am Post subject: |
|
|
[quote="roberts"]I will pass this request to the maker of the mount tool.
But this may be helpful...
When you plug in your pendrive, the hotplug manager places corresponding info into dmesg.
So doing a [b]dmesg | tail -17[/b] should show the device assigned to the freshly inserted pendrive.[/quote]
Well. dmesg tells me, there is a new device. But it doesn't tell me the letter to /dev/sdX1
I have created a dir called /mnt/stick and all mounts like
mount /dev/sda1 /mnt/stick
mount -t auto /dev/sda1 /mnt/stick
or /dev/sda instead of /dev/sda1 just cause a 'Not a valid block device'
Any hints?
Thanks
Juergen |
|
Back to top |
|
|
roberts
Joined: 17 Apr 2006 Posts: 320 Location: OC CA USA
|
Posted: Thu Sep 21, 2006 5:30 pm Post subject: |
|
|
Post the results of
$ sudo fdisk -l
Perhaps that will help us find the issue. |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Tue Oct 10, 2006 2:14 pm Post subject: I thought I had the same problem |
|
|
I came across this because (I thought) I had the same problem.
As DSL-N won't let me write to the first partition on a USB stick and Windows cannot read anything but the first partition on a USB stick, I've been doing some kind of USB stick shuffle. The second USB stick is my DSL one that will let me write to the first partition
Until I worked through the suggestions above, I had been inserting a USB stick (after boot) and waiting (a long time) for it to appear in EmelFM. Of course, the two lines in [b]bold[/b] right at the end were what I was missing...
root@dslbox:~# fdisk -l
Disk /dev/sda: 1039 MB, 1039663104 bytes
32 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 256 253951+ c Win95 FAT32 (LBA)
/dev/sda2 257 1023 760864 c Win95 FAT32 (LBA)
[b]Insert USB stick[/b]
root@dslbox:~# dmesg | tail -17
usb 1-4: new high speed USB device using ehci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: Sony Model: Storage Media Rev: 0100
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 506880 512-byte hdwr sectors (260 MB)
sdb: Write Protect is off
sdb: Mode Sense: 43 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
root@dslbox:~# fdisk -l
Disk /dev/sda: 1039 MB, 1039663104 bytes
32 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 256 253951+ c Win95 FAT32 (LBA)
/dev/sda2 257 1023 760864 c Win95 FAT32 (LBA)
Disk /dev/sdb: 259 MB, 259522560 bytes
8 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 496 * 512 = 253952 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 253177 6 FAT16
[b]root@dslbox:~# mkdir /mnt/sdb1
root@dslbox:~# mount -t vfat /dev/sdb1 /mnt/sdb1[/b] |
|
Back to top |
|
|
|