File:  [NetBSD Developer Wiki] / wikisrc / projects / project / sysinst-enhancements.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Sat Mar 17 20:21:45 2012 UTC (9 years, 1 month ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by spz

[[!template id=project

title="Sysinst enhancements"


[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 GPT
* installation on cgd
* installation on LVM
* other enhancements

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.

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 formatting and partitioning a disk with GPT instead of disklabel.

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.

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.

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