[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does install-grub work?
From: |
Danny Milosavljevic |
Subject: |
Re: How does install-grub work? |
Date: |
Mon, 29 Aug 2016 23:57:35 +0200 |
Hi,
On Mon, 29 Aug 2016 23:19:30 +0200
David Craven <address@hidden> wrote:
> 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.
Yes. Note that Ludo said that it might make sense to separate the build side
(gnu/build/install.scm and gnu/build/vm.sc) from the host side (other stuff)
also for the patches.
> 2. Add your extlinux.conf generation/install code.
Yes. This one is the most important part.
On the other hand, Part 3 below is actually not that important even for actual
ARM hardware. Usually U-Boot is there when you buy it anyway - usually there's
no need to fiddle with it directly.
> 3. We can still add an install uboot to MBR procedure if it's necessary.
Sometimes MBR, sometimes random location in the middle of nowhere with a
magical sector number.
There's still a "FIXME" in gnu/build/install.scm install-bootloader about how
to detect on the build side which bootloader to use and then call either
install-grub or install-u-boot. I don't know how to do that. I've asked before
about whether it's (1) possible and (2) desireable to just compare the
config-filename to "extlinux.conf" and hardcode u-boot then. But *which* u-boot
package does it use? How would it know?
This is a very important part that is both missing and necessary - and I've not
found an answer to that so far.
> This would break the changes down into easy to review patches and subgoals...
Yes, I agree that that would be good.
- Re: Guix with U-Boot, (continued)
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- How does install-grub work?, Danny Milosavljevic, 2016/08/29
- Re: How does install-grub work?, David Craven, 2016/08/29
- Re: How does install-grub work?, Danny Milosavljevic, 2016/08/29
- Re: How does install-grub work?, David Craven, 2016/08/29
- Re: How does install-grub work?, David Craven, 2016/08/29
- Re: How does install-grub work?,
Danny Milosavljevic <=
- Re: How does install-grub work?, David Craven, 2016/08/29
- Re: How does install-grub work?, Danny Milosavljevic, 2016/08/29
- Re: How does install-grub work?, David Craven, 2016/08/30
- Re: How does install-grub work?, Danny Milosavljevic, 2016/08/29
- Re: How does install-grub work?, Danny Milosavljevic, 2016/08/29
- [PATCH 03/11] gnu: Add python-binaryornot., David Craven, 2016/08/22
- [PATCH 04/11] gnu: Add python-nltk., David Craven, 2016/08/22
- Re: [PATCH 04/11] gnu: Add python-nltk., Danny Milosavljevic, 2016/08/27
- [PATCH 08/11] gnu: Add python-publicsuffix., David Craven, 2016/08/22
- [PATCH 07/11] gnu: Add python-schematics., David Craven, 2016/08/22