| 62 | === Preparing hard disks for delivery === |
| 63 | |
| 64 | You will need to have root permissions before you start. |
| 65 | |
| 66 | Create Partition |
| 67 | |
| 68 | Unmount disk |
| 69 | run dmesg to find device name (listed at the bottom if just plugged in) |
| 70 | |
| 71 | run fdisk /dev/device name (probably sdb) |
| 72 | |
| 73 | enter 'p' to print partition table and check you have selected the correct disk[[BR]] |
| 74 | enter 'd' to delete the current partition[[BR]] |
| 75 | enter 'n' to create a new partition [[BR]] |
| 76 | enter 'p' to make new partition the primary partition[[BR]] |
| 77 | enter 'p' to print new partition table – if all seems fine enter 'w' to write |
| 78 | |
| 79 | ensure disk is unmounted again |
| 80 | |
| 81 | to be on the safe side, run dmesg again to make sure device name hasn't changed |
| 82 | |
| 83 | run mke2fs -j /dev/partition (probably sdb1) |
| 84 | |
| 85 | make writable for everyone – chmod a+rwx /media/disk |
| 86 | |