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: * partition disks using GPT
21: * prepare multiple disks
22: * combine multiple partitions to raid/lvm volumes
23: * encrypt partitions via cgd
24: * other enhancements
26: 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.
28: The first goal is to allow partitioning disks using the GUID partition table (GPT). The current partitioning code is tight heavily to the BSD disklabel. Fixing it is straight forward, but both methods have to be offered and only some architectures can boot from GPT disks.
30: The second goal is to allow preparing several disks. This part would also be usefull (see "other enhancements" below) as a stand-alone tool. Various disks may be partitioned using different shemes, for example when the boot disk can not use GPT, but secondary (large) disks should use it. This part also is a direct prerequisite for the following one.
32: The third goal is to (optionally) create logical volumes from multiple partitions or disks, either using raidframe or LVM. This includes making the volumes bootable, if possible.
34: 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.
36: The other enhancements that might be possible are (not in priority order):
38: #### user interface
39: * customise colours
40: * add "back" and "forward" menu options
41: * run parts of the installer independently (e.g. disk partitioning, set installation)
43: #### cgd enhancements
44: * add the ability to encrypt the whole disk and to enter the decryption key at boot time
46: #### automated test setup
47: * add the ability to install Anita for automated testing
49: The candidate must have:
51: * familiarity with the system installer. You should have used sysinst to install the system.
52: * familiarity with C programming. The system installer program consists of C code.
53: * a test system, preferably with a 2nd bootable device.
55: The following would also be useful:
57: * familiarity with NetBSD.
58: * familiarity with user interface programming using curses.
60: ### References:
62: * [sysinst source (opengrok)](http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/utils/sysinst/)
63: * [vnconfig manual page](http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current)
64: * [raidctl manual page](http://netbsd.gw.com/cgi-bin/man-cgi?raidctl++NetBSD-current)
65: * [cgdconfig manual page](http://netbsd.gw.com/cgi-bin/man-cgi?cgdconfig++NetBSD-current)
66: * [LVM on NetBSD](http://www.netbsd.org/docs/guide/en/chap-lvm.html)
67: * [Anita automated testing](http://www.gson.org/netbsd/anita/)
71: [[!tag gsoc]]
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb