File:  [NetBSD Developer Wiki] / wikisrc / projects / project / sysinst-enhancements.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Nov 6 14:48:47 2011 UTC (2 years, 5 months ago) by jmmv
Branches: MAIN
CVS tags: HEAD
Define the per-project category and difficulty at the template level,
instead of manually tagging the project pages.  While doing this, prefix
the tags with "category:" and "difficulty:" to make them easier to

[[!template id=project

title="Sysinst enhancements"


[Marc Balmer](, [Martin Husemann](

duration="3 months"

The goal of this project is to enhance the NetBSD system installer (sysinst) to provide additional support for (in order):

* installation on multiple disks
* installation on RAID
* installation on cgd
* installation on LVM
* other enhancements

The installer currently suuports 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 psuedo disks, so can be tested without the need to re-install the host system.

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.

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.

The third 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.

The fourth 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.

The other enhancements that might be possible are (not in priority order):

#### user interface
* customise colours
* add "back" and "forward" menu options
* run parts of the installer independently (e.g. disk partitioning, set installation)

#### cgd enhancements
* add the ability to encrypt the whole disk and to enter the decryption key at boot time

#### automated test setup
* add the ability to install Anita for automated testing 

The candidate must have:

* familiarity with the system installer. You should have used sysinst to install the system.
* familiarity with C programming. The system installer program consists of C code.
* a test system, preferably with a 2nd bootable device.

The following would also be useful:

* familiarity with NetBSD.
* familiarity with user interface programming using curses.

### References:

* [sysinst source (opengrok)](
* [vnconfig manual page](
* [raidctl manual page](
* [cgdconfig manual page](
* [LVM on NetBSD](
* [Anita automated testing](

[[!tag gsoc]]

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb