|
|
|
These instructions will guide you in performing an Operating System Installation of Debian 10 or 11 via a USB boot drive. Instructions for creating the bootable USB drive are not covered in the scope of this document. [Official instructions for creating Debian bootable devices](https://wiki.debian.org/DebianInstall)
|
|
|
|
|
|
|
|
If you have followed the instructions for configuring the [BIOS Settings](https://git.ligo.org/cds/software/advligorts/-/wikis/RTS-Compatible-BIOS-Settings), the USB ports may have been disabled. Please re-enable the USB ports for the OS install and disable the USB ports after the install is complete. These instructions also follow the recommended disk setup of 2x 500GB SSD and 1x TB HDD.
|
|
|
|
|
|
|
|
Instructions for performing a Debian 10 OS install via USB:
|
|
|
|
|
|
|
|
1. While powered off, insert Debian USB.
|
|
|
|
2. Power on the computer and press F11 (your key may be different) to access the Boot Menu.
|
|
|
|
3. Select the Debian USB from the list.
|
|
|
|
4. If you are familiar with OS installs and initial setup, you can skip to Step 5. If not, here are step by step instructions for Debian 10.5 installer:
|
|
|
|
1. Choose Graphical Install
|
|
|
|
2. Choose Language, Location, Keyboard that are applicable to your preference.
|
|
|
|
3. Skip network configuration for now. This can be done while the computer is booted into the new OS.
|
|
|
|
4. Enter hostname (e.g. LLO demonstration is using x2fec)
|
|
|
|
5. Enter 'root' password
|
|
|
|
6. Create 'cdsadmin' user. Password is typically identical to 'root' user.
|
|
|
|
7. Choose Clock that is applicable to your location.
|
|
|
|
5. Partition Disks
|
|
|
|
1. Choose Manual
|
|
|
|
2. For this demonstration, the disk partitioning screen is showing the 2 500GB SSDs are labeled as devices sda/sdb. The 4TB HDD is labeled as device sdc.
|
|
|
|
3. Partition sdc:
|
|
|
|
1. Select the sdc 'Free Space'
|
|
|
|
2. Create New Partition (ligo)
|
|
|
|
3. Set size to '1.5TB', Set to 'Beginning', Set name to 'ligo'.Set Use as to 'XFS journaling file system, Set mount point to '/ligo'
|
|
|
|
4. Select 'Done setting up the partition'
|
|
|
|
5. Select the sdc 'Free Space'
|
|
|
|
6. Create New Partition (frames)
|
|
|
|
7. Set size to '2.5TB', Set to 'Beginning', Set name to 'frames', Set Use as to 'XFS journaling file system, Set mount point to '/frames'
|
|
|
|
8. Select 'Done setting up the partition'
|
|
|
|
4. Partition sda:
|
|
|
|
1. Select the sda 'Free Space', Create New partition
|
|
|
|
2. Set size to '100GB', Choose 'Primary', Set to 'Beginning', Set use as to 'XFS journaling file system', Set label to 'root
|
|
|
|
3. Select the sda 'Free Space', Create New partition
|
|
|
|
4. Set size to '5GB', Choose 'Primary', Set to 'Beginning', Set use as to 'Swap area',
|
|
|
|
5. Select the sda 'Free Space', Create New partition
|
|
|
|
6. Set size to 'max', Choose 'Logical', Set use as to 'physical volume for LVM'
|
|
|
|
5. Partition sdb: Repeat step 5d. sda and sdb will need to be identical.
|
|
|
|
6. Configure software Raid 25.
|
|
|
|
1. You should currently be at the partition disks screen, Select 'Configure software RAID' and select 'Yes' to apply the above partitions
|
|
|
|
2. Select 'Create MD device', Select 'RAID1', Set number of active devices to '2', set number of spare devices to '0', Select /dev/sda1 and /dev/sdb1, Continue, Select 'Yes' to write changes.
|
|
|
|
3. Select 'Create MD device', Select 'RAID1', Set number of active devices to '2', set number of spare devices to '0', Select /dev/sda2 and /dev/sdb2, Continue, Select 'Yes' to write changes.
|
|
|
|
4. Select 'Create MD device', Select 'RAID1', Set number of active devices to '2', set number of spare devices to '0', Select /dev/sda5 and /dev/sdb5, Continue, Select 'Yes' to write changes.
|
|
|
|
7. Configure the Logical Volume Manager
|
|
|
|
1. You should currently be at the partition disks screen, Select 'Configure the Logical Volume Manager' and select 'Yes' to apply the above partitions
|
|
|
|
2. Select 'Create Volume Group', Set name to 'vg00', Select '/dev/md2' (This should be your nearly 400GB Raid device)
|
|
|
|
3. Select 'Create logical volume', Select 'vg00' group, Set name to 'home', Set size to '25GB'
|
|
|
|
4. Select 'Create logical volume', Select 'vg00' group, Set name to 'var', Set size to '50GB'
|
|
|
|
5. Select 'Create logical volume', Select 'vg00' group, Set name to 'opt', Set size to '200GB'
|
|
|
|
6. Select 'Create logical volume', Select 'vg00' group, Set name to 'tmp', Set size to '20GB', and Select 'Finish'
|
|
|
|
8. Update Raid devices and LVM
|
|
|
|
1. RAID1 device 0, Set as 'XFS' and mount at '/'
|
|
|
|
2. RAID1 device 1, Set as 'swap'
|
|
|
|
3. LVM home, Set as 'XFS', mount at '/home', label as 'home'
|
|
|
|
4. LVM opt, set as 'XFS', mount at '/opt' , label as 'opt'
|
|
|
|
5. LVM var, set as 'XFS', mount at '/var', label as 'var'
|
|
|
|
6. LVM tmp, set as 'XFS', mount at '/tmp', label as 'tmp'
|
|
|
|
9. Select 'Finish partitioning and write changes to disk'
|
|
|
|
10. Select 'No' to using a network mirror
|
|
|
|
11. Select 'No' to Participate in the package usage survey.
|
|
|
|
12. At Software Selection, Only check 'SSH server' and 'standard system utilities'
|
|
|
|
13. Select 'Yes' for Install the GRUB boot loader to the master boot record, Select '/dev/sda'
|
|
|
|
14. Installation is now complete. The system will reboot. Be sure to remove the Debian USB to boot into the OS now installed on your SSDs. |
|
|
|
\ No newline at end of file |