first off, if you have a halfway new laptop the HDD will be /dev/sd-something ( serial ata or scsi ), if it s old, it s /dev/hd-something ( parallel ata )
to get a list of all attached sd/hd devices use dmesg ( prints kernel messages ) and "pipe" ( vertical line on the same key where backslash is on english layout ) the output into grep ( regular expression parser )
magi ~ # dmesg | grep sd
[ 0.000000] Command line: root=/dev/sda5 vga=0x307
[ 0.000000] Kernel command line: root=/dev/sda5 vga=0x307
[ 1.512802] Driver 'sd' needs updating - please use bus_type methods
[ 4.742833] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 4.745606] sd 0:0:0:0: [sda] Write Protect is off
[ 4.748360] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.748377] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.751269] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 4.754173] sd 0:0:0:0: [sda] Write Protect is off
[ 4.757044] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.757064] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.760015] sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[ 4.801393] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.804596] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 4.810770] sd 4:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 4.814007] sd 4:0:0:0: [sdb] Write Protect is off
[ 4.817009] sd 4:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.817025] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.820125] sd 4:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 4.823248] sd 4:0:0:0: [sdb] Write Protect is off
[ 4.826340] sd 4:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.826357] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.829492] sdb: sdb1
[ 4.838608] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 4.842007] sd 4:0:0:0: Attached scsi generic sg1 type 0
[ 13.000490] sd 8:0:0:0: [sdc] 1003520 512-byte hardware sectors (514 MB)
[ 13.001484] sd 8:0:0:0: [sdc] Write Protect is off
[ 13.001484] sd 8:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 13.001484] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 13.005008] sd 8:0:0:0: [sdc] 1003520 512-byte hardware sectors (514 MB)
[ 13.006485] sd 8:0:0:0: [sdc] Write Protect is off
[ 13.006485] sd 8:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 13.006485] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 13.006485] sdc: sdc1
[ 13.060381] sd 8:0:0:0: [sdc] Attached SCSI removable disk
[ 13.060415] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 13.619569] EXT3 FS on sda5, internal journal
[ 13.835707] EXT4 FS on sdb1, internal journal
[ 35.050474] Adding 2096440k swap on /dev/sda6. Priority:-1 extents:1 across:2096440k
something like
[ 4.760015] sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
means the first (in detection order) serial ata device ( sda , second is sdb, ... ) has 5 partitions ( sda1 , sda2, sda3, sda5 and sda6 - sda4 is only virtual, divided into two partitions as displayed by the content of the greater and smaller tags behind it )
[ 4.829492] sdb: sdb1
means the serial ata device has only one partition: sdb1
you can of cause use fdisk or so to find out what partition is vFAT, but via brute force it also works ( and doesn t trash your partition table if you press the wrong series of keys )
magi ~ # mkdir /fatpartition
magi ~ # mount -t vfat -o rw /dev/sda1 /fatpartition
if that worked you can access the data from /dev/sda via the /fatpartition directory. otherwise try the next partition...
magi ~ # mount -t vfat -o rw /dev/sda2 /fatpartition
magi ~ # mount -t vfat -o rw /dev/sda3 /fatpartition
.
.
.
magi ~ # mount -t vfat -o rw /dev/sdb1 /fatpartition
.
.
.
additionally you can use an usb stick, because usb sticks are also always formated with vfat, and gets recognized by the kernel within 5 seconds. see the ( end of the ) kernel output with
dmesg again:
magi ~ # dmesg
.
.
.
[ 4089.895028] usb 1-3: new high speed USB device using ehci_hcd and address 7
[ 4090.010943] usb 1-3: configuration #1 chosen from 1 choice
[ 4090.011485] scsi9 : SCSI emulation for USB Mass Storage devices
[ 4090.011686] usb-storage: device found at 7
[ 4090.011686] usb-storage: waiting for device to settle before scanning
[ 4090.011485] usb 1-3: New USB device found, idVendor=1307, idProduct=0163
[ 4090.011485] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4090.011485] usb 1-3: Product: USB Mass Storage Device
[ 4090.011485] usb 1-3: Manufacturer: USBest Technology
[ 4090.011485] usb 1-3: SerialNumber: 07051800006689
[ 4095.011397] scsi 9:0:0:0: Direct-Access Ut163 USB2FlashStorage 0.00 PQ: 0 ANSI: 2
[ 4095.013110] sd 9:0:0:0: [sdc] 1003520 512-byte hardware sectors (514 MB)
[ 4095.013448] sd 9:0:0:0: [sdc] Write Protect is off
[ 4095.013448] sd 9:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 4095.013448] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 4095.016458] sd 9:0:0:0: [sdc] 1003520 512-byte hardware sectors (514 MB)
[ 4095.017084] sd 9:0:0:0: [sdc] Write Protect is off
[ 4095.017088] sd 9:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 4095.017094] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 4095.017097] sdc: sdc1
[ 4095.071396] sd 9:0:0:0: [sdc] Attached SCSI removable disk
[ 4095.071396] sd 9:0:0:0: Attached scsi generic sg3 type 0
[ 4095.071396] usb-storage: device scan complete
that tells you that the usb stick is sdc, and it s partition mount point sdc1
magi ~ # mkdir /usbstick
magi ~ # mount -t vfat -o rw /dev/sdc1 /usbstick
to create a directory called /usbstick and mount the usb stick inside of it
then , to save the output of lscpi into a text file, type
magi ~ # lspci > /usbstick/lspci.txt
magi ~ # umount /usbstick
the thing right of lspci is the greater character. you need to unmount the partition before you pull out the usb-stick in order to avoid filsystem corruption ( the linux kernel buffers the data to avoid file fragmentation but at the point a partition needs to be released all remaining transactions are handled )
access the usb stick or HDD partition via windows and open the lspci.txt directly uppon it with WORDPAD - it will NOT work propperly with notepad.