[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 22:50:56 +0200 |
On Mon, 29 Aug 2016 22:29:40 +0200
David Craven <address@hidden> wrote:
>So for booting a vm we don't actually need a boot loader, since it passes the
>kernel image through the -kernel flag.
Huh, that appears to be the case. Back when I used VMs the first time they
simulated the entire PC, BIOS and all and there you would need the partition
table, bootloader etc just as you would on a real PC. But it seems to have
changed now...
> @Danny: Did you write install-uboot.c? I don't have a clue what it's
> doing =P
Yes, I wrote it. It makes sure it's safe to write to an unclaimed
fixed-position section of a drive and then writes to it.
Essentially it does
$ dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
^^^ ^^^
depends on board depends on board
but only after making sure that this doesn't clobber anything (payload data on
parititons, the partition table etcetc).
It's supposed to be analogous to grub-install, just for u-boot.
- 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 <=
- 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, 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