[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does install-grub work?
From: |
David Craven |
Subject: |
Re: How does install-grub work? |
Date: |
Mon, 29 Aug 2016 22:54:27 +0200 |
>>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...
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?
> 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.
Nice!
- 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 <=
- 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
- Re: [PATCH 04/11] gnu: Add python-nltk., Danny Milosavljevic, 2016/08/27