[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:45:46 +0200 |
On Mon, 29 Aug 2016 22:54:27 +0200
David Craven <address@hidden> wrote:
> for actual boards, isn't uboot usually written to flash instead of to a MBR?
That depends on the board - sometimes it's written to flash.
For Allwinner hardware, it's written to a fixed section (fixed sectors) on
either a SD card or NAND flash or eMMC. It's not in the MBR but after it and
before the first partition.
Many pieces of hardware have U-Boot as something like a BIOS - it's not meant
to be updated. And if you do want to update it, you go to the U-Boot prompt and
update it from within itself.
I think that's why the extlinux.conf exists in the first place - you just put
it somewhere where the [potentially immutable forever] U-Boot can find it and
it will pick it up (at least when the partition is marked Active).
Interestingly enough, the situation is similar with Libreboot and its
integrated Grub. That's why I added comment in the source code that asks
whether it makes sense to seperate the config storing part from the bootloader
installation part - the latter can be unnecessary while the former can be very
necessary at the same time.
- Re: Guix with U-Boot, (continued)
- 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, 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/30
- Re: How does install-grub work?,
Danny Milosavljevic <=
- 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
- [PATCH 10/11] gnu: Add python-url., David Craven, 2016/08/22
- [PATCH 09/11] gnu: Add python-publicsuffix2., David Craven, 2016/08/22
- [PATCH 02/11] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/22
- Re: [PATCH 02/11] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/26