Line 34: |
Line 34: |
| === Determine the Device Name === | | === Determine the Device Name === |
| # Remove all USB flash drives, USB hard drives, and other removable disks attached to the system. Invoke a terminal window if running under X-windows. | | # Remove all USB flash drives, USB hard drives, and other removable disks attached to the system. Invoke a terminal window if running under X-windows. |
− | # Run <code>sudo fdisk -lu</code>. The output should look similar to this: Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0xb51ef163 Device Boot Start End Blocks Id System /dev/sdb1 63 23085404 11542671 83 Linux /dev/sdb2 23085405 33591914 5253255 83 Linux /dev/sdb3 * 33591915 138464234 52436160 83 Linux /dev/sdb4 138464235 243336554 52436160 83 Linux | + | # Run <code>sudo fdisk -lu</code>. The output should look similar to this: |
| + | Disk /dev/sdb: 160.0 GB, 160041885696 bytes |
| + | 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors |
| + | Units = sectors of 1 * 512 = 512 bytes |
| + | Disk identifier: 0xb51ef163 |
| + | |
| + | Device Boot Start End Blocks Id System |
| + | /dev/sdb1 63 23085404 11542671 83 Linux |
| + | /dev/sdb2 23085405 33591914 5253255 83 Linux |
| + | /dev/sdb3 * 33591915 138464234 52436160 83 Linux |
| + | /dev/sdb4 138464235 243336554 52436160 83 Linux |
| # Insert the compact flash disk into the compact flash writer | | # Insert the compact flash disk into the compact flash writer |
− | # Run <code>sudo fdisk -lu</code>. The output should look similar to this: Device Boot Start End Blocks Id System /dev/sdb1 63 23085404 11542671 83 Linux /dev/sdb2 23085405 33591914 5253255 83 Linux /dev/sdb3 * 33591915 138464234 52436160 83 Linux /dev/sdb4 138464235 243336554 52436160 83 Linux Disk /dev/sdc: 1024 MB, 1024966656 bytes 32 heads, 62 sectors/track, 1009 cylinders, total 2001888 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00000000 Disk /dev/sdc doesn't contain a valid partition table Or This: Device Boot Start End Blocks Id System /dev/sdb1 63 23085404 11542671 83 Linux /dev/sdb2 23085405 33591914 5253255 83 Linux /dev/sdb3 * 33591915 138464234 52436160 83 Linux /dev/sdb4 138464235 243336554 52436160 83 Linux Disk /dev/sdc: 2042 MB, 2042191872 bytes 5 heads, 50 sectors/track, 15954 cylinders, total 3988656 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x97880540 Device Boot Start End Blocks Id System /dev/sdc1 * 50 254749 127350 6 FAT16 We are looking for any partition which is not an internal hard drive. Comparing the output in step 2, we see that /dev/sdc is a new device which was displayed in step 4 but not in step 2. In this particular case, /dev/sdc is the device name we are interested in as the size matches the size of the compact flash device we inserted into the writer. Make a note of your device name as it will be required to write the disk image to the compact flash in the next section. We will refer to the noted device as /dev/devicenamenoted throughout the rest of this article. | + | # Run <code>sudo fdisk -lu</code>. The output should look similar to this: |
− | # If you see a valid partition on the compact flash device (Step 4 example output 2) you will need unmount the partition. To unmount the partition, type <code>sudo umount /dev/devicenamenoted</code> | + | Device Boot Start End Blocks Id System |
| + | /dev/sdb1 63 23085404 11542671 83 Linux |
| + | /dev/sdb2 23085405 33591914 5253255 83 Linux |
| + | /dev/sdb3 * 33591915 138464234 52436160 83 Linux |
| + | /dev/sdb4 138464235 243336554 52436160 83 Linux |
| + | |
| + | Disk /dev/sdc: 1024 MB, 1024966656 bytes |
| + | 32 heads, 62 sectors/track, 1009 cylinders, total 2001888 sectors |
| + | Units = sectors of 1 * 512 = 512 bytes |
| + | Disk identifier: 0x00000000 |
| + | |
| + | |
| + | Disk /dev/sdc doesn't contain a valid partition table |
| + | Or this: |
| + | Device Boot Start End Blocks Id System |
| + | /dev/sdb1 63 23085404 11542671 83 Linux |
| + | /dev/sdb2 23085405 33591914 5253255 83 Linux |
| + | /dev/sdb3 * 33591915 138464234 52436160 83 Linux |
| + | /dev/sdb4 138464235 243336554 52436160 83 Linux |
| + | |
| + | Disk /dev/sdc: 2042 MB, 2042191872 bytes |
| + | 5 heads, 50 sectors/track, 15954 cylinders, total 3988656 sectors |
| + | Units = sectors of 1 * 512 = 512 bytes |
| + | Disk identifier: 0x97880540 |
| + | |
| + | Device Boot Start End Blocks Id System |
| + | /dev/sdc1 * 50 254749 127350 6 FAT16 |
| + | # We are looking for any partition which is not an internal hard drive. Comparing the output in step 2, we see that /dev/sdc is a new device which was displayed in step 4 but not in step 2. In this particular case, /dev/sdc is the device name we are interested in as the size matches the size of the compact flash device we inserted into the writer. Make a note of your device name as it will be required to write the disk image to the compact flash in the next section. We will refer to the noted device as /dev/devicenamenoted throughout the rest of this article. |
| + | # If you see a valid partition on the compact flash device (Step 4 example output 2) you will need unmount the partition. To unmount the partition, type: <code>sudo umount /dev/devicenamenoted</code> |
| | | |
| = Limey Linux Instllation on a Large Compact Flash Card = | | = Limey Linux Instllation on a Large Compact Flash Card = |