Hi.
I used a dd command to write and iso image of some distro having 1.8g iso image onto 8gb pendrive. And it worked but I didn't notice that the pen drive now only shows 1.8gb.
Here are the messages from the command line:
Code:
root@her:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xc2966b58
Device Boot Start End Blocks Id System
/dev/sda1 * 63 40001849 20000893+ 83 Linux
/dev/sda2 40001850 312581807 136289979 5 Extended
/dev/sda5 40001913 48002219 4000153+ 82 Linux swap
/dev/sda6 48002283 312581807 132289762+ 83 Linux
Disk /dev/sdb: 8004 MB, 8004304896 bytes
247 heads, 62 sectors/track, 1020 cylinders, total 15633408 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
dmesg shows this:
Code:
[ 9.114912] usb 1-1.4: Product: Cruzer Blade
[ 9.125232] usb 1-1.4: Manufacturer: SanDisk
[ 9.135204] usb 1-1.4: SerialNumber: 20054963931175A206C1
[ 9.170178] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 9.180131] scsi8 : usb-storage 1-1.4:1.0
[ 9.189680] usbcore: registered new interface driver usb-storage
[ 9.201031] hidraw: raw HID events driver (C) Jiri Kosina
[ 9.247017] usbcore: registered new interface driver usbhid
[ 9.256465] usbhid: USB HID core driver
gdisk shows this:
Code:
root@her:~# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.7
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************
Command (? for help):
Please tell me if I need to run more commands for troubleshooting.
Thanks.