Changes between Version 36 and Version 37 of install_debian


Ignore:
Timestamp:
May 29, 2010, 9:37:46 PM (9 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_debian

    v36 v37  
    2424XO: 209.234.253.168
    2525}}}
    26  * Manually partition the drive
     26 * Drive partioning. If you are using 2TB disks or greater... Switch to console before partitioning:
     27{{{
     28parted /dev/sda mklabel gpt
     29parted /dev/sdb mklabel gpt
     30
     31parted /dev/sda unit s mkpart biosboot 2048 4095
     32parted /dev/sda set 1 bios_grub on
     33
     34parted /dev/sdb unit s mkpart biosboot 2048 4095
     35parted /dev/sdb set 1 bios_grub on
     36
     37parted /dev/sda unit s mkpart boot 4096 1052671
     38parted /dev/sda set 2 raid on
     39
     40parted /dev/sdb unit s mkpart boot 4096 1052671
     41parted /dev/sdb set 2 raid on
     42
     43parted /dev/sda unit s mkpart pv 1052672 3905974272
     44parted /dev/sda set 3 raid on
     45
     46parted /dev/sdb unit s mkpart pv 1052672 3905974272
     47parted /dev/sdb set 3 raid on
     48
     49
     50mdadm --create --raid-devices=2 --level-1 --metadata=1.0 --verbose /dev/md0 /dev/sda2 /dev/sdb2
     51mdadm --create --raid-devices=2 --level-1 --metadata=1.0 --verbose /dev/md1 /dev/sda3 /dev/sdb3
     52}}}
     53
    2754 * Remove any existing partitions.
    2855 * Add one partition (on each disk if there are two disks) that is: