--
T o m M i t c h e l l
sorry just seeing this now!
On Sun, Apr 8, 2012 at 3:04 PM, <dej...@googlemail.com> wrote:
> I put up a Wiki article at OMAPpedia:
> http://www.omappedia.com/wiki/Multiboot_using_u-boot
> Please feel free to comment, correct or modify if needed.
many thanks for this contribution.
here are some comments:
- how do you manage the fact that multiple OS might need different bootloaders?
- you seem to imply mostly multiple ubuntu installations, is that
true? or do you intend to support multi non Ubuntu OS ?
what we've been doing so far inside TI to address the same problem is
the following:
[note that in our case it's a multi Ubuntu support only]
- create several partition like you do on USB, and make sure that each
partition has it's own /boot/boot.script with the right root= option
in the bootargs
- once booted into OS1, we use a 'switch' script from a running Panda
that will:
- chroot into the OS2 partition, and make sure the SD card is mounted as well
- run flash-kernel from the chroot, so that it flashes the SD card
with the uImage, initrd, and bootloaders from the OS1 chroot (since
11.10 the booloaders are just packages that can be flashed with
flash-kernel), and generate boot.scr from the content of
/boot/boot.script (from the chroot).
- manually reboot the system, it will boot the new OS
the main advantage here are:
- there is no issue when 'upgrading' or 'dist-upgrading', it just works
- when booting 11.10, you boot with the 11.10 booloarders, and when
booting 12.04, you boot with the 12.04 bootloaders.
the main drawback is that it's a Ubuntu centric solution... but that
might be fine for some people...
if that method is useful, we could post it as well.