Summary

usb-creator will be modified to use GRUB2 as the default bootloader. Care will be taken to fall back to syslinux on pre-Maverick Ubuntu CDs.

The interface will be streamlined for the common case of putting an Ubuntu ISO on a partition.

Release Note

The Startup Disk Creator application now creates a single directory ("boot") to store all of its files on your USB disk. Its interface has also been improved to streamline the common use case.

Rationale

User stories

Assumptions

foundations-n-cd-boot is implemented.

Design

Implementation

Correcting the behavior of the format button

The devices structure will carry an additional boolean flag for each device that designates whether or not the device is being formatted. The frontend will check this flag and, if the device is selected, grey out the format button and change its label to "formatting". Selecting a device that isn't being formatted will return the button state to normal.

Only show the smartest option for each device

The label for the destination device will always be sourced from the vendor and model of the device, as obtained by udisks. This will clear up confusion as to what the "Wipe Disk" button erases, in addition to making the selection understandable to non-technical users.

A set of rules will govern what partition will be installed to:

This set of rules will live in the backend, which will simply expose a single device to the frontend.

Better error handling

When an exception is caught, usb-creator will hand the error to apport, after handling it itself.

Only write the ISO to the disk (support GRUB2)

Instead of writing the contents of the ISO image, we will leverage grub2's ability to boot straight from an ISO image (iso-scan/filename=). usb-creator will create a boot/ directory, and place the ISO image and a grub configuration file in it. When the ISO is finished copying, usb-creator will loop mount it and verify the MD5 checksums.

The supported filesystems will be expanded from VFAT to the set of filesystems that GRUB2 supports booting from (VFAT, NTFS, ext, ...).

If the source CD is older than Maverick, we will fall back to the old functionality of writing the contents of the ISO to a disk.

Test USB disk

The "Test USB disk" button on the "Installation Complete" dialog will run the USB disk in KVM. The button will only be present if kvm-ok returns 0.

Test/Demo Plan


CategorySpec

FoundationsTeam/Specs/USBCreatorMaverick (last edited 2010-10-14 18:44:17 by robbie.w)