=== TerraChurners ==

The "TerraChurners" are the lab machines at the labs at Duke and in Aarhus.

The machines have 3 1TB disks. SATA0,SATA1 and SATA2

This is how they were installed:

  1. Enter BIOS:
    • Make sure SATA{0,1} is managed by the RAID system and SATA2 is on, but _not_ managed by the BIOS.
  2. Enter RAID system
    • Add SATA{0,1] to a RAID0 setup, striped and with optimized block size.
  3. Boot the installation CD (which is Ubuntu Gutsy Gibbon x64)
    • You may have to use the boot trick described  here
  4. Open a terminal and do the following:
    • Run "sudo parted /dev/sdc" and run the following commands:
    • print
    • Make sure all partitions are removed (print shouldn't list anything) and run the following in parted:
    • mkpart primary ntfs 0GB 750GB
    • mkpart extended 750GB -1s
    • mkpart logical ext3 750GB 995GB
    • mkpart logical linux-swap 995GB -1s
      Here is how it looks:
      ubuntu@ubuntu:~$ sudo parted /dev/sdc
      GNU Parted 1.7.1
      Using /dev/sdc
      Welcome to GNU Parted! Type 'help' to view a list of commands.
      (parted) print                                                            
      
      Disk /dev/sdc: 1000GB
      Sector size (logical/physical): 512B/512B
      Partition Table: msdos
      
      Number  Start  End  Size  Type  File system  Flags
      
      (parted) mkpart primary ntfs 0GB 750GB                                    
      (parted) mkpart extended 750GB -1s                                        
      (parted) mkpart logical ext3 750GB 995GB
      (parted) mkpart logical linux-swap 995GB -1s                              
      (parted) print                                                            
      
      Disk /dev/sdc: 1000GB
      Sector size (logical/physical): 512B/512B
      Partition Table: msdos
      
      Number  Start   End     Size    Type      File system  Flags
       1      32.3kB  750GB   750GB   primary                     
       2      750GB   1000GB  250GB   extended               lba  
       5      750GB   995GB   245GB   logical   ext3              
       6      995GB   1000GB  5201MB  logical                     
      
      (parted)           
      
  1. Start the installation, use manual partitioning:
    • For sdc1 specify /media/windows as mount point
    • For sdc2 specify / as mount point and use as "ext3"
    • For sdc3 specify "swap"
  2. Create a (temporary) user for yourself
  3. REMEMBER: to give the computer a decent host name.
  4. REMEMBER: In "ready to install dialog" select (hd2) as the disk for the boot loader.
  5. edit /boot/grub/menu.lst to set groot to (hd0,4).
    • Do NOT remove the comment # sign
    • run update-grub
  6. Open a terminal and run:
    • apt-get update
    • apt-get upgrade
  7. You should reboot after point 10.
  8. Open a terminal and run
    • apt-get install dmraid openssh-server

Known issues:

  • The machines bbq and grits in Aarhus show a black screen when booting from Ubuntu-Recovery/InstallCD.

The current workaround is the following: When booting from CD, select an item like "Start or Install Ubuntu", but before pressing Enter, press F6 and exchange the part "quiet splash" with "nosplash".

Page maintained by  Thomas Mølhave.