New and stoopid

Fred Roller fred at fwrgallery.com
Wed May 12 15:13:31 UTC 2010


On 05/10/2010 04:51 PM, Brian Oney wrote:
> Hello Ubuntu,
[snip]

> # then:
> rooster at roosters-laptop:~$ sudo fdisk -l
> /dev/hda
>         #                    type name                  length   
> base      ( size )  system
> /dev/hda1     Apple_partition_map Apple                     63 @ 
> 1         ( 31.5k)  Partition map
> /dev/hda2         Apple_Bootstrap untitled                1954 @ 
> 64        (977.0k)  NewWorld bootblock
> /dev/hda3         Apple_UNIX_SVR2 untitled           114201172 @ 
> 2018      ( 54.5G)  Linux native
> /dev/hda4         Apple_UNIX_SVR2 swap                 3007050 @ 
> 114203190 (  1.4G)  Linux swap
>
hd* is usually indicative of an IDE drive or the like.  USB (flash, 
thumb, external drives) usually come up sd* plus this looks like a 
standard hard drive layout for bootable internal drive (hda = IDE 
primary-master) with default partitioning.

try the following with your flash drive:

     assumptions:
         - you are comfortable with cli and know how to open terminal
         - your flash drive is not > 16Gb (typical thumb/flash/jump drive)

start with flash drive out

open terminal

type command:

     watch -n 1 "dmesg | tail -n 20"

which should yeild (something like):

     [158613.300039] usb 1-3: new high speed USB device using ehci_hcd 
and address 6
     [158613.452983] usb 1-3: configuration #1 chosen from 1 choice
     [158613.453594] scsi8 : SCSI emulation for USB Mass Storage devices
     [158613.453734] usb-storage: device found at 6
     [158613.453735] usb-storage: waiting for device to settle before 
scanning
     [158618.450382] usb-storage: device scan complete
     [158618.450857] scsi 8:0:0:0: Direct-Access     Kingston 
DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
     [158618.451374] sd 8:0:0:0: Attached scsi generic sg4 type 0
     [158618.452466] sd 8:0:0:0: [sdd] 31506432 512-byte logical blocks: 
(16.1 GB/15.0 GiB)
     [158618.454331] sd 8:0:0:0: [sdd] Write Protect is off
     [158618.454337] sd 8:0:0:0: [sdd] Mode Sense: 23 00 00 00
     [158618.454339] sd 8:0:0:0: [sdd] Assuming drive cache: write through
     [158618.457843] sd 8:0:0:0: [sdd] Assuming drive cache: write through
     [158618.458333]  sdd: sdd1
                                               ^
     [158618.689296] sd 8:0:0:0: [sdd] Assuming drive cache: write through
     [158618.689304] sd 8:0:0:0: [sdd] Attached SCSI removable disk

please note at the marker " ^ " the assigned device.

/if/ you get this in your dmesg listing then, provided you know your 
filesytem on the drive then you could try:

     sudo mount -t [your filesystem] /dev/[the assigned device] /mnt

example based on mine:

     sudo mount -t ext3 /dev/sdd1 /mnt

if you can get this far then two things:

     1. back up your data, copy it from /mnt to some safe location.

     2. you may have broken your usb auto mount (beyond me without 
research) but still have manual mounting capability.


[snip]

> The problem is most likely self-induced. I am new and just went along 
> blindly removing my flashdrive without mounting or unmounting it.

lesson learned?  Flash drive needs to do it's thing before being 
removed.  Normally no big deal if it's read only.

> This same USB drive used to show up on the desktop and in the file 
> list. My Ipod shuffle will show up now but not this very important usb 
> drive.

Last time I ran in to this I removed the data as above then 
repartitioned and reformatted.


> I would really appreciate some help and please donĀ“t tell me that I 
> have to format it without recovering my data (life).
>
> Thank you!
> Brian
>
>

Hope this helps a bit.

Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100512/55dcd980/attachment.html>


More information about the ubuntu-users mailing list