This repository contains scripts for automated installation of a computer operating system capable of running the containerized OpenDLV framework.
Warning!! The scripts will completely erase your entire harddrive (ALL YOUR
DATA WILL BE LOST). Do this only if you know exactely what you are doing.
Use on your own risk, we are not responsible for any lost data from running
these scripts!
-
Create a Arch Linux bootable USB drive by following the instructions given at: https://wiki.archlinux.org/index.php/USB_flash_installation_media
-
Boot the computer using the bootable USB
-
Connect to the wireless internet via 'wifi-menu' or connect to the wired via 'dhcpcd' Check network status with:
ip a
-
Download the automated scripts with:
wget https://raw.githubusercontent.com/cfsd/opendlv.os/master/x86/get.sh sh get.sh
-
Enable the setups that you want to enable on the machine, e.g.:
cp setup-available/setup-chroot-01-rtkernel.sh . cp setup-available/setup-post-01-router.sh .
-
Configure the basic installation and the enabled setups. Important!! Please check the harddrive device name otherwise you might destroy your working harddrive. Choose the harddrive you would like to install on if you have more than one harddrive.
Check the network interface name with 'ip a' and the harddrive device name with 'lsblk'. Configure files, e.g:
nano install-conf.sh nano setup-post-01-router.sh
-
Run the automated installation with (REMEMBER: all your data will be lost. You have been warned!):
chmod +x *.sh ./install.sh
-
After the first computer restart you need to help it once more to get Internet, to finalize the installation. Run wifi-menu again or connect to the wired via 'dhcpcd'
Todo
- update Router-setup
-
Create a Arch Linux Arm bootable SD card by following the instructions given at https://archlinuxarm.org/platforms/armv7/ti/beaglebone-black
-
Boot the BeagleBone Black using the bootable SD card
-
Download the automated scripts with:
wget https://raw.githubusercontent.com/chalmers-revere/opendlv.os/master/arm-bbb/get.sh sh get.sh
-
Enable the setups that you want to enable on the machine, e.g.:
cp setup-available/setup-post-01-pru.sh .
-
Configure the basic installation and the enabled setups.
vim install-conf.sh vim setup-post-01-pru.sh
-
Run the automated installation with (REMEMBER: all your data will be lost. You have been warned!):
chmod +x *.sh ./install.sh