Differences between revisions 1 and 2
Revision 1 as of 2024-05-16T14:22:27+0000
Size: 1706
Editor: Leafoliage
Comment:
Revision 2 as of 2024-06-19T03:41:35+0000
Size: 2432
Editor: Leafoliage
Comment:
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
TBD === Repair Menu ===

 1. Grep and mount file systems manually
 2. Add a bsdinstall menu button: Repair
 3. Implement script that lists mountable partitions, and mounts partition upon select

=== Upgrade Menu ===

 1. Write an automatic update script
 2. Add a bsdinstall menu button: Update
 3. Implement script that lists updatable partitions, and updates it upon select

=== Live Environment ===

 1. Mount /usr/local tmpfs upon selecting live environment
 2. Configure network with either bsdconfig/bsdinstall/dhcp
 3. Configure pkg so that it works out of the box
Line 45: Line 61:

== Status Report ==

|| Date |||| Description ||
|| 6/14 |||| Added /usr/local tmpfs. Tried grepping and mounting ufs and zfs partition. ||

Improving Repair Ability of the FreeBSD Installer

Project description

This project aims to improve the FreeBSD installer in three aspects: adding a repair menu, adding an upgrade menu and modifying the liveCD environment to facilitate pkg install. The repair menu would allow users to choose existing partitions in a computer to mount and access for further inspection and repair. The upgrade menu would allow users to choose existing systems to upgrade to newer version. Lastly, the liveCD would be modified to allow pkg installation within out of the box.

Approach to solving the problem

Repair Menu

  • Use gpart to filter root partition
  • Write a script to list partitions and mount them for access upon selection

Update Menu

  • Write a fully/partially automatic upgrade script
  • Write a script to list existing systems to upgrade

LiveCD environment for pkg install

  • specify a tmpfs as /usr/local to be included in /etc/fstab
  • Modify /tmp size
  • configure dhcp in startbsdinstall

Deliverables

  • A repair menu listing partitions to mound and access
  • An upgrade menu listing systems to upgrade
  • Allow pkg install in LiveCD out of the box

Milestones

Repair Menu

  1. Grep and mount file systems manually
  2. Add a bsdinstall menu button: Repair
  3. Implement script that lists mountable partitions, and mounts partition upon select

Upgrade Menu

  1. Write an automatic update script
  2. Add a bsdinstall menu button: Update
  3. Implement script that lists updatable partitions, and updates it upon select

Live Environment

  1. Mount /usr/local tmpfs upon selecting live environment
  2. Configure network with either bsdconfig/bsdinstall/dhcp
  3. Configure pkg so that it works out of the box

Test Plan

  • Test out repair menu with one/several system with zfs/ufs (if it can correctly identify partitions and mount)
  • Test out upgrade menu with one/several system (if it can correctly identify systems and upgrade smoothly)
  • Test out pkg install once boot into the LiveCD environment

The Code

TBA

Status Report

Date

Description

6/14

Added /usr/local tmpfs. Tried grepping and mounting ufs and zfs partition.

SummerOfCode2024Projects/ImprovingRepairAbilityOfTheFreeBSDInstaller (last edited 2024-06-19T03:41:35+0000 by Leafoliage)