mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.7 KiB
1.7 KiB
Ubuntu
OS Installation
Download and boot the last Ubuntu release.
Follow the steps :
The partitioning is :
- 256 MB : EFI partition
- 20 GB : system partition
- 32 GB : unused partition (will be used later)
- rest : unused partition (will be used later)
Remove the installation disk and then reboot.
Skip the welcoming window.
Don't install updates if Ubuntu asks to. The scripts will.
Start the disk utility to name partitions so that OverlayFS can identify them.
- 32 GB - Partition 3 :
01-tmp-home
- rest - Partition 4 :
01-tmp-system
The same procedure is required to make USB disk usable for the students, the partition name must be : 01-home
OS configuration
student@tmp-hostname:~$ wget github.com/01-edu/public/archive/master.zip
student@tmp-hostname:~$ unzip master.zip
student@tmp-hostname:~$ cd public-master/scripts
student@tmp-hostname:~$ sudo ./install_client.sh
[...]
Ask for student user password (will be removed later)
[...]
Ask to set the root password
[...]
Long installation/configuration process
[...]
student@tmp-hostname:~$ cat dconfig.txt | dconf load /
student@tmp-hostname:~$ reboot
The system is now read-only, every data is written to a temporary partition.
The session is password-less.
To gain a superuser terminal with read/write access to the filesystem, type these commands:
student@tmp-hostname:~$ su -
Password:
root@tmp-hostname:~# overlayroot-chroot