Changes between Version 7 and Version 8 of Procedures/EndUserDelivery/HardDisk


Ignore:
Timestamp:
Jul 13, 2011 2:28:54 PM (8 years ago)
Author:
emca
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/EndUserDelivery/HardDisk

    v7 v8  
    2727Unmount the partition with umount /dev/partition, e.g. umount /dev/sdb1 (if not already unmounted)[[BR]]
    2828
    29 At this point, you either need to make a Linux format disk (ext3) for hyperspectral data or a Windows format disk (NTFS, not FAT32) for all other data types.
     29At this point you will need to make a Windows format disk (NTFS, not FAT32) for all data types.
     30
     31note: for hyperspectral data prior to 2011, make a Linux format disk (ext3)
    3032
    3133---------------------
    3234== Formatting and partitioning ==
    33 === Linux format (ext3) disks [hyperspectral data] ===
    3435
    35 Partition and format the disk (command line)
    36  1. Run fdisk /dev/DEVICE_NAME (not partition)
    37  1. enter 'p' to print partition table and check you have selected the correct disk
    38  1. enter 'd' to delete the current partition (delete them all)
    39  1. enter 'n' to create a new partition
    40  1. enter 'p' to make new partition the primary partition. If it asks you to give a partition number press 1 and enter. Then press enter twice to fill the whole disk.
    41  1. enter 'p' to print new partition table – if all seems fine enter 'w' to write
    42  1. To be on the safe side, run dmesg again to make sure device name hasn't changed. You should now see the partition listed as device_name1, e.g. sdb1
    43  1. Unmount the partition if it remounted.
    44  1. Run `mke2fs -j /dev/partition`
    45 
    46 Remount and fix permissions:
    47  1. Unplug the disk and plug back in. The disk space should be located under /media/disk.
    48  1. It is wise to check that this destination is correct: 'df /media/disk' to check that this is where the device is mounted.
    49  1. Make writable for everyone using chmod a+rwx /media/disk
    50 
    51 == Copy over your data onto the disk ==
    52 
    53 Copy the delivery folder to /media/disk.
    54 
    55 == Finalising hard disk ==
    56 
    57 Set permissions and owner:
    58 
    59 chmod a+rX,a-w -R /media/disk [[BR]]
    60 chown root.root -R /media/disk
    61 
    62 NOTE: Be sure to record the number of the hard disk (or giving it one if it does not yet have one) before packing it.
    63 
    64 ---------------------
    65 
    66 === Windows format (NTFS, not FAT32) disks [everything except hyperspectral data] ===
     36=== Windows format (NTFS, not FAT32) disks [everything except hyperspectral data before 2011] ===
    6737
    6838==== Partition and format the disk (GUI) ====
     
    10373---------------------------------
    10474
     75
     76=== Linux format (ext3) disks [hyperspectral data prior to 2011] ===
     77
     78Partition and format the disk (command line)
     79 1. Run fdisk /dev/DEVICE_NAME (not partition)
     80 1. enter 'p' to print partition table and check you have selected the correct disk
     81 1. enter 'd' to delete the current partition (delete them all)
     82 1. enter 'n' to create a new partition
     83 1. enter 'p' to make new partition the primary partition. If it asks you to give a partition number press 1 and enter. Then press enter twice to fill the whole disk.
     84 1. enter 'p' to print new partition table – if all seems fine enter 'w' to write
     85 1. To be on the safe side, run dmesg again to make sure device name hasn't changed. You should now see the partition listed as device_name1, e.g. sdb1
     86 1. Unmount the partition if it remounted.
     87 1. Run `mke2fs -j /dev/partition`
     88
     89Remount and fix permissions:
     90 1. Unplug the disk and plug back in. The disk space should be located under /media/disk.
     91 1. It is wise to check that this destination is correct: 'df /media/disk' to check that this is where the device is mounted.
     92 1. Make writable for everyone using chmod a+rwx /media/disk
     93
     94== Copy over your data onto the disk ==
     95
     96Copy the delivery folder to /media/disk.
     97
     98== Finalising hard disk ==
     99
     100Set permissions and owner:
     101
     102chmod a+rX,a-w -R /media/disk [[BR]]
     103chown root.root -R /media/disk
     104
     105NOTE: Be sure to record the number of the hard disk (or giving it one if it does not yet have one) before packing it.
     106
     107---------------------
     108
    105109Return to [wiki:Procedures/EndUserDelivery]