BootLoader
|
Size: 863
Comment: Added Page for Ubuntu Express Specification
|
Size: 2358
Comment: cat spec
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| * '''Contributors''': Fabianx * '''Packages affected''': |
* '''Contributors''': Fabianx, ColinWatson * '''Packages affected''': ubuntu-express, grub-installer, yaboot-installer, os-prober, parted |
| Line 10: | Line 10: |
| The last part of the Ubuntu Express Installer is the installation of the Bootloader. The ubuntu-installer has already a substantial volume of code to handle boot loader installation (including a number of sanity checks) which we should reuse. This is currently part of udeb maintainer scripts. | Design an UbuntuExpress component to install the boot loader. |
| Line 14: | Line 14: |
| == Use cases == | The Ubuntu installer already has a substantial volume of code to handle boot loader installation (including a number of sanity checks) which we should reuse. This is currently part of udeb maintainer scripts. |
| Line 16: | Line 16: |
| 1. Install bootloader into MBR 2. Install bootloader into partition |
LILO will not be supported; on i386/amd64, we will only support GRUB. Expert users who wish to use LILO are likely to be able to install it manually from the comfort of the live environment. |
| Line 21: | Line 20: |
| This specification considers only the boot loader installation component of UbuntuExpress. This is a required component of an installer and (in this case) will have no user interface, so no use cases are specified. |
|
| Line 23: | Line 24: |
| == Implementation == | We will modify several components of the installer to produce suitable ubuntu-express-* packages: |
| Line 25: | Line 26: |
| === Code === | * grub-installer needs minor changes to avoid failing if mapdevfs is not present. These can probably go upstream. It needs to produce an ubuntu-express-grub.deb. * yaboot-installer needs minor changes to avoid failing if archdetect or mapdevfs is not present. (For the first version, we can produce a simple archdetect shim that checks /proc/cpuinfo for New``World Power``Macs or PR``eP systems, which are all we care about for now.) At least the mapdevfs changes can go upstream. It needs to produce an ubuntu-express-yaboot.deb. * os-prober needs minor changes to avoid failing if mapdevfs is not present. These can probably go upstream. It needs to produce an ubuntu-express-os-prober.deb. * parted needs to be modified to optionally produce output in the style of `/usr/lib/partconf/find-partitions --flag`, for yaboot-installer. We hope that this can go upstream. |
| Line 27: | Line 31: |
| === Data preservation and migration === | == Implementation status == |
| Line 29: | Line 33: |
| == Outstanding issues == == BoF agenda and discussion == |
* 2005-12-07 ColinWatson: parted patch prepared and sent upstream (but in the meantime I've incorporated partconf-find-partitions into partman.deb, so this is not a blocker). os-prober modified upstream to work outside d-i. ---- CategorySpec |
Launchpad Entry: https://launchpad.net/distros/ubuntu/+spec/ubuntu-express-bootloader
Created: Date(2005-10-31T17:33:49Z) by Fabianx
Contributors: Fabianx, ColinWatson
Packages affected: ubuntu-express, grub-installer, yaboot-installer, os-prober, parted
Summary
Design an UbuntuExpress component to install the boot loader.
Rationale
The Ubuntu installer already has a substantial volume of code to handle boot loader installation (including a number of sanity checks) which we should reuse. This is currently part of udeb maintainer scripts.
LILO will not be supported; on i386/amd64, we will only support GRUB. Expert users who wish to use LILO are likely to be able to install it manually from the comfort of the live environment.
Scope
This specification considers only the boot loader installation component of UbuntuExpress. This is a required component of an installer and (in this case) will have no user interface, so no use cases are specified.
Design
We will modify several components of the installer to produce suitable ubuntu-express-* packages:
- grub-installer needs minor changes to avoid failing if mapdevfs is not present. These can probably go upstream. It needs to produce an ubuntu-express-grub.deb.
yaboot-installer needs minor changes to avoid failing if archdetect or mapdevfs is not present. (For the first version, we can produce a simple archdetect shim that checks /proc/cpuinfo for NewWorld PowerMacs or PReP systems, which are all we care about for now.) At least the mapdevfs changes can go upstream. It needs to produce an ubuntu-express-yaboot.deb.
- os-prober needs minor changes to avoid failing if mapdevfs is not present. These can probably go upstream. It needs to produce an ubuntu-express-os-prober.deb.
parted needs to be modified to optionally produce output in the style of /usr/lib/partconf/find-partitions --flag, for yaboot-installer. We hope that this can go upstream.
Implementation status
2005-12-07 ColinWatson: parted patch prepared and sent upstream (but in the meantime I've incorporated partconf-find-partitions into partman.deb, so this is not a blocker). os-prober modified upstream to work outside d-i.
UbuntuExpress/BootLoader (last edited 2008-08-06 16:14:48 by localhost)