Changes between Version 9 and Version 10 of Procedures/EndUserDelivery/HardDisk


Ignore:
Timestamp:
Aug 2, 2011, 3:26:35 PM (13 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/EndUserDelivery/HardDisk

    v9 v10  
    3434== Formatting and partitioning ==
    3535
    36 === Windows format (NTFS, not FAT32) disks [everything except hyperspectral data before 2011] ===
     36This section describes creating a Windows (NTFS) format delivery disk. This format is now used for everything except hyperspectral data before 2011. The instructions for creating a linux EXT3 disk can be [wiki:Procedures/EndUserDelivery/HardDisk/ext3 found here].
    3737
    3838==== Partition and format the disk (GUI) ====
     
    6464== Copy over your data onto the disk ==
    6565
    66  1. Unplug the disk and plug back in. The disk space should be located under /media/ARSFDAN. It is wise to check that this destination is correct: 'df /media/ARSFDAN' to check that this is where the device is mounted.
    67  1. Copy the delivery folder to /media/ARSFDAN.
    68 
    69 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.
    70 
    71 ---------------------------------
    72 
    73 
    74 === Linux format (ext3) disks [hyperspectral data prior to 2011] ===
    75 
    76 Partition and format the disk (command line)
    77  1. Run fdisk /dev/DEVICE_NAME (not partition)
    78  1. enter 'p' to print partition table and check you have selected the correct disk
    79  1. enter 'd' to delete the current partition (delete them all)
    80  1. enter 'n' to create a new partition
    81  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.
    82  1. enter 'p' to print new partition table – if all seems fine enter 'w' to write
    83  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
    84  1. Unmount the partition if it remounted.
    85  1. Run `mke2fs -j /dev/partition`
    86 
    87 Remount and fix permissions:
    88  1. Unplug the disk and plug back in. The disk space should be located under /media/disk. It is wise to check that this destination is correct: 'df /media/disk' to check that this is where the device is mounted.
    89  1. Make writable for everyone using chmod a+rwx /media/disk
    90 
    91 == Copy over your data onto the disk ==
    92 
    93 Copy the delivery folder to /media/disk.
    94 
    95 == Finalising hard disk ==
    96 
    97 Set permissions and owner:
    98 
    99 chmod a+rX,a-w -R /media/disk [[BR]]
    100 chown root.root -R /media/disk
    101 
    102 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.
    103 
    104 ---------------------
     66 1. Unplug the disk and plug back in. The disk space should be located under /media/ARSFDAN. It is wise to check that this destination is correct: Use 'df /media/ARSFDAN' to check that this is where the device is mounted.
     67 1. Copy the delivery folder to /media/ARSFDAN (if this is indeed the correct directory).
    10568
    10669Return to [wiki:Procedures/EndUserDelivery]