Saturday, February 24, 2007

Ubuntu USB device name

Due to serious hardware failures, all my computers went down. Now it is only down to a live CD... Ubuntu here.

The USB is my only storage after all. It, however, did not appear at /dev/sda1 instead at /dev/sdd1 . How did I discover it? Simple, at first :

$sudo dmesg

However, that is not good enough.

$sudo fdisk -l
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 1956 500720 e W95 FAT16 (LBA)


That's better. You can then :

$sudo mkdir /tmp/mnt
$sudo mount -t vfat /dev/sdd /tmp/mnt

You need to specify the USB virtual file system, which I found mine to be vfat ( some guessing only, unfortunately ). And that is all.


By the way, there is an auto-mount feature.

No comments: