PDA

View Full Version : Can't offload to Lexar stick



b206
03-02-2005, 03:42 AM
My laptop with XP won't boot. I am trying to recover the data and I came across this great website. I can load Knoppix 3.7 and I can see the data files in Konqueror. I am newbie and I have pored through as much as I can but so far no luck. I have a Iomega PCMCIA Clik 40Mb card (I have never used it before, just given by friend so I am not sure if it needs formatting). I get the little green triangle on the desktop with hde1. My data files are more than 40Mb so I bought a Lexar 128Mb USB Jumpdrive (stick, thumbdrive, flashdrive etc...), having seen it mentioned in these forums. I also have a USB 3.5 inch external floppy drive. I am trying to copy the data on to the Jumpdrive but it doesn't seem to be recognised.

I've picked up a few commands from the forums, hope it helps someone out there figure what is wrong:

sudo fdisk -l

Disk /dev/sda: 34 heads, 61 sectors, 1011 cylinders
Units = cylinders of 2074 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 ? 812419 1633055 850999312 6c Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(368, 82, 37) logical=(812418, 8, 5)
Partition 1 has different physical/logical endings:
phys=(357, 97, 35) logical=(1633054, 0, 52)
Partition 1 does not end on cylinder boundary:
phys=(357, 97, 35) should be (357, 33, 61)
/dev/sda2 ? 963654 1226000 272052916 6e Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(97, 115, 32) logical=(963653, 10, 2)
Partition 2 has different physical/logical endings:
phys=(107, 121, 32) logical=(1225999, 13, 46)
Partition 2 does not end on cylinder boundary:
phys=(107, 121, 32) should be (107, 33, 61)
/dev/sda3 ? 259879 519752 269488144 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(356, 101, 33) logical=(259878, 22, 48)
Partition 3 has different physical/logical endings:
phys=(0, 13, 10) logical=(519751, 17, 38)
Partition 3 does not end on cylinder boundary:
phys=(0, 13, 10) should be (0, 33, 61)
/dev/sda4 ? 672428 672438 10668+ 53 OnTrack DM6 Aux3
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(333, 89, 19) logical=(672427, 11, 36)
Partition 4 has different physical/logical endings:
phys=(339, 68, 15) logical=(672437, 21, 22)
Partition 4 does not end on cylinder boundary:
phys=(339, 68, 15) should be (339, 33, 61)

Partition table entries are not in disk order

Disk /dev/hda: 255 heads, 63 sectors, 4864 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4604 36981598+ 7 HPFS/NTFS
/dev/hda2 4605 4863 2080417+ f Win95 Ext'd (LBA)
/dev/hda5 4605 4863 2080386 b Win95 FAT32

==============================
cat /etc/fstab

/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
/dev/hde1 /mnt/hde1 auto user,exec,noauto 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/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
# Added by KNOPPIX
/dev/sda /mnt/sda vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

============================
cdrecord -scanbus

Cdrecord-Clone 2.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jśrg Schilling

Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'MATSHITA' 'CD-RW CW-8123 ' 'CW23' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus2:
2,0,0 200) 'CITIZEN ' 'X1DE-USB ' '1001' Removable Disk
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *

========================

cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: MATSHITA Model: CD-RW CW-8123 Rev: CW23
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: CITIZEN Model: X1DE-USB Rev: 1001
Type: Direct-Access ANSI SCSI revision: 02

===================

Can't wait to get going again, ditch M$ and run Linux.

Grateful for any ideas.

OErjan
03-02-2005, 05:25 PM
what does
dmesg|grep usb

dmesg|grep sd

dmesg|grep ub say?
from what i see you might need to format the card,
the usb stick seems to be there but i need some more,
The usbstick might need reformating to fat32 but no certainties yet
.

b206
03-02-2005, 07:04 PM
Thanks OErjan

Here's the output of: dmesg | grep usb

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 00:50:50 Aug 9 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x1800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: USB UHCI at I/O 0x1840, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 3, frame# 836
usb.c: USB device 2 (vend/prod 0x46d/0xc00e) is not claimed by any active driver.
usbdevfs: remount parameter error
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb2:2.0
usb-uhci.c: interrupt, status 3, frame# 1732


the output of: dmesg | grep sd

Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 6
sda : block size assumed to be 512 bytes, disk size 1GB.
sda:<6>scsi singledevice 2 0 3 0
sda1 sda2 sda3 sda4


the output of: dmesg | grep ub

ACPI: Subsystem revision 20040326
SCSI subsystem driver Revision: 1.00
usb.c: registered new driver hub
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:1d.0-1, assigned address 2
hub.c: new USB device 00:1d.1-1, assigned address 2

I can write to the USB external floppy drive although it doesn't appear on the desktop. My plan is to write the data to the jumpdrive, put it in a Windows 98SE and save the data there then figure out the best version of Linux to run from the Laptop. Knoppix is quite impressive.

OErjan
03-03-2005, 05:52 PM
to be honest i canot see your driver either, BUT i can see a unrecognized usbdevice...

usb.c: USB device 2 (vend/prod 0x46d/0xc00e) is not claimed by any active driver.
as weird as it may sound you managed to find a usbstick that is not recognized as such??
hmm, have you tried to remove ALL partitions on it and reformat it? (on another computer using win with drivers instaled)?
repartitioneing and reformating is last resort i think. weird, i have come across lots of usb disks and pens and all have worked this far. hmm, atleast the one i had trouble with worked after partitioning&formating. that MAY damage your disk though.
hmm, you have a CDburner.
oh, don't say anything, let me guess, that the cdburner is ocupied by the knoppix disk.
otherwise that would have worked.
hmm, Harry_kuhnman has an interesting way, look here
http://www.knoppix.net/forum/viewtopic.php?t=14781
this should work for you i think.

b206
03-05-2005, 06:31 AM
I've tried reformating the Jumpdrive in Win98SE on another machine and tried it again in Knoppix but same result. I didn't dare use Fdisk on it yet, I want to try the tip that you very kindly included as a link in your message. I have an idea, correct me if I am wrong: could it be that the stick is factory-formatted to FAT16 ? You're right, my CD burner is the only CD drive in the laptop. I've done a lot of trawling on the Net, seems like there are tons of people out there with similar problems, regarding USB stick being recognised. I am trying to find the quickest way to off load the files from the XP drive and then start afresh with Linux. I have been downloading ISO images of other live CDs just to see if they would recognise the Jumpdrive. I figured that I could continue with my work while it's downloading and then I could see if that particular distribution recognises the stick - the exercise would also help note which flavour of Linux appeals to me. Both Suse and Slack recognised the Jumpdrive straight off but when I try to mount, they both give me 'bad block' or incorrect filesystem type error messages. That got me thinking that your suspicions were probably right, they can see the device, they just don't like the media format. So my next approach is to try Harry's idea, if that fails I will have to go and buy another USB stick, perhaps a brand that is definitely detected by Knoppix (my favourite distro still) and hopefully check that it's FAT32 formattable (or even NTFS). Could I format the current USB stick through Knoppix?

OErjan
03-05-2005, 08:59 AM
i have a bunch of nonames, not one has a brandname.
EDIT i just found a 16 Mb one that is a Sandisk /EDIT

OErjan
03-05-2005, 12:30 PM
yes you could certainly use qtparted (or fdisk and mkdosfs -F 32 /dev/devicepartition in combination) to format/partition the stick.
all "I" have tried worked with that, but you may have bad luck...(you seem to be prone to that).
vfat is by the way a "collection name" for fat 12, 16, 32. so it shoud work

b206
03-08-2005, 03:17 AM
I successfully retrieved all of my data from the XP drive. In the end the best and fastest method I managed to figure out is to load Slaxware LiveCD which has a nice feature to load into RAM and fire up two Konqueror windows, one of the hard disk and the other of the CD ROM drive, and simply copy from one window to the other and bingo, everything came over. I now look forward to learning more about working solely with Linux.

Thanks again for your help.

b206
03-08-2005, 02:40 PM
Not entirely correct, brain going in sleep mode. Not two Konqueror windows but one and the other being K3B and paste between the two.

OErjan
03-08-2005, 05:32 PM
should work with most smaller linix bootcds. like DamnSmallLinux, slax...