1: [[!template id=project
3: title="Sysinst enhancements"
10: [Martin Husemann](mailto:martin@NetBSD.org)
15: duration="3 months"
18: The goal of this project is to enhance the NetBSD system installer (sysinst) to provide additional support for (in order):
20: * installation on multiple disks
21: * installation on RAID
22: * installation on GPT
23: * installation on cgd
24: * installation on LVM
25: * other enhancements
27: The installer currently supports installing the system to any available single disk. It is possible to select which parts (distribution sets) of the system to install, and also to customise the disk partition layout. Sysinst can also use vnode pseudo disks, so can be tested without the need to re-install the host system.
29: The first goal is to add the support for multiple disks to sysinst. When this is finished, it will be possible to partition multiple disks, add filesystem mount points across the multiple disks, and to select the boot disk.
31: The second goal is to add support for creating and installing on to RAID (levels 0, 1 and 1+0) partitions. Note, that it is currently possible to install on to an existing RAID parition, but not to create one. When installing to RAID 1 or RAID 1+0, it should be possible to install the boot code to all of the mirror disks.
33: The third goal is to add support for formatting and partitioning a disk with GPT instead of disklabel.
35: The fourth goal is to add support for creating and installing on to cgd (encrypted) partitions. The initial support will not be for the boot partition, but other partitions should be supported.
37: The fifth goal is to add support for creating and installing on to LVM Volume Groups and Logical Volumes. This should be similar to the RAID goal, above.
39: The other enhancements that might be possible are (not in priority order):
41: #### user interface
42: * customise colours
43: * add "back" and "forward" menu options
44: * run parts of the installer independently (e.g. disk partitioning, set installation)
46: #### cgd enhancements
47: * add the ability to encrypt the whole disk and to enter the decryption key at boot time
49: #### automated test setup
50: * add the ability to install Anita for automated testing
52: The candidate must have:
54: * familiarity with the system installer. You should have used sysinst to install the system.
55: * familiarity with C programming. The system installer program consists of C code.
56: * a test system, preferably with a 2nd bootable device.
58: The following would also be useful:
60: * familiarity with NetBSD.
61: * familiarity with user interface programming using curses.
63: ### References:
65: * [sysinst source (opengrok)](http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/utils/sysinst/)
66: * [vnconfig manual page](http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current)
67: * [raidctl manual page](http://netbsd.gw.com/cgi-bin/man-cgi?raidctl++NetBSD-current)
68: * [cgdconfig manual page](http://netbsd.gw.com/cgi-bin/man-cgi?cgdconfig++NetBSD-current)
69: * [LVM on NetBSD](http://www.netbsd.org/docs/guide/en/chap-lvm.html)
70: * [Anita automated testing](http://www.gson.org/netbsd/anita/)
74: [[!tag gsoc]]
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb