On Thu, 28 Aug 2014 08:18:46 +0200
Petter Reinholdtsen <p...@hungry.com> wrote:

> [Neil Williams]
> > If you agree that Grub2 support is a viable fix for the issue behind
> > this bug, please feel free to close this bug.
> 
> If it work, I agree that it is a sensible fix for the FreedomBox.
> 
> But I believe the extlinux support will still need to handle kernel
> upgrades, for those using that setup. :) Perhaps it should be dropped
> when switching to grub?

I didn't make that clear. If grub2 installs and configures cleanly
(versions in jessie and later), then extlinux is not configured by
vmdebootstrap.

If grub2 needs manual installation after booting the VM with syslinux
(using update-grub ; grub-install /dev/sda) then that manual stage can
also include disabling / removing / purging syslinux support as the
user sees fit.

Please try the version of vmdebootstrap now in the master branch at
git.liw.fi.

> > Note that grub2 at the version in wheezy currently has problems with
> > loop devices which means that grub2 support in vmdebootstrap for
> > wheezy requires the VM to be booted (with extlinux) and grub2 setup
> > completed manually. After this point, grub2 takes over managing
> > kernel updates etc.
> 
> Oh. :( I would prefer to be able to build FreedomBox images in Wheezy,
> as that I what I am using.  But it is not too bad it if only work in
> Jessie. :)

It's not *where* the images are built that matters. It is the
distribution of the VM which matters, i.e. the version of grub
installed inside the VM. The base system has no effect on this (i.e.
grub does not need to be installed on the system running
vmdebootstrap).

The only limitation is that if the VM is based on Wheezy, then the
version of grub in wheezy will need some manual intervention to switch
it to grub.

Please also look at the examples scripts in the current upstream as
these include support which now duplicates some of the freedombox
scripting. I'm currently investigating how best to manage u-boot
installation for a variety of boards. Support for boards not included
in the current examples can be contributed as discrete customisation
scripts for that specific board but testing those examples would be up
to the contributor.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: PGP signature

Reply via email to