From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: How does install-grub work? Date: Mon, 29 Aug 2016 23:19:30 +0200 Message-ID: References: <20160822132018.19828-1-david@craven.ch> <20160822132018.19828-6-david@craven.ch> <20160827104228.5db67f6a@scratchpost.org> <20160829123149.0e260af6@scratchpost.org> <20160829161919.5277eb35@scratchpost.org> <20160829201656.4390d2db@scratchpost.org> <20160829205734.0b49dc92@scratchpost.org> <20160829225056.240c8d0e@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beTxy-0005P9-8A for guix-devel@gnu.org; Mon, 29 Aug 2016 17:19:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beTxu-00064n-2B for guix-devel@gnu.org; Mon, 29 Aug 2016 17:19:37 -0400 Received: from mail-yw0-x233.google.com ([2607:f8b0:4002:c05::233]:34904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beTxs-00064K-Pi for guix-devel@gnu.org; Mon, 29 Aug 2016 17:19:33 -0400 Received: by mail-yw0-x233.google.com with SMTP id j12so119979ywb.2 for ; Mon, 29 Aug 2016 14:19:31 -0700 (PDT) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel > Does the u-boot bootloader routine have to do anything other than > generating the extlinux.conf file? That would be enough so that there > is an alternative to grub-install for the qemu use case and for actual > boards, isn't uboot usually written to flash instead of to a MBR? So I'd say the next steps are: 1. Pick out your changes that are related to renaming grub to bootloader and add a shim for the uboot parts. That should be enough to get vm's booting. 2. Add your extlinux.conf generation/install code. 3. We can still add an install uboot to MBR procedure if it's necessary. This would break the changes down into easy to review patches and subgoals...