all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.
Date: Fri, 16 Sep 2016 14:26:55 +0200	[thread overview]
Message-ID: <CAEwRq=oJTi+kJnOoatEKm_mdVkXRCGbQ7Z9S7-DiK+rnZ3fcKA@mail.gmail.com> (raw)
In-Reply-To: <20160916130732.2a23f53a@scratchpost.org>

Hello,

The following hopefully is not too far from the truth, memory is somewhat
fading away...

> It says "Install GRUB with GRUB.CFG on DEVICE, which is assumed
> to be mounted on MOUNT-POINT."
> Does it mean "Install GRUB (with GRUB.CFG on DEVICE), which is
> assumed to be mounted on MOUNT-POINT"
> or "Install (GRUB with GRUB.CFG) on DEVICE, which is assumed to
> be mounted on MOUNT-POINT"?

I'm not sure I understand your question, but I guess it would be  the second
one.

> Usually I install grub to a drive, not a specific partition. My bootloader form
> says (grub-configuration (device "/dev/sda")) and that seems to work fine.

Yep, grub is installed as a MBR (Master Boot Record, first 512 bytes of the
drive)

> But the GRUB.CFG is on a partition. Which one?

The one holding (typically) /boot (which often is a separate
partition, or / if not),
but that is only default values, /path/to/grub.cfg can be specified by CLI args.

> It seems certainly able to find out where - and it all works fine.
> So if someone knows how that works, exactly, please clarify the comment :)

Grub knows filesystems, and has find functionality, unlike its
predecessor "lilo",
which at update time registered the disk block numbers to read at boot time, it
was fragile, and you better remember to update it when you changed anything
boot-related.

> It's a similar situation with U-Boot - only I don't think that it's permissible to
>install u-boot onto a partition at all. Its config file yes. Its executable? No.

I'm new to uboot, so can't help with that one.

Hope it helps.

-- 
Vincent Legoll

  reply	other threads:[~2016-09-16 12:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-05 19:58 wip u-boot support Danny Milosavljevic
2016-09-05 20:29 ` wip v2 " Danny Milosavljevic
2016-09-06 16:34   ` David Craven
2016-09-08 22:09     ` David Craven
2016-09-08 23:57       ` Danny Milosavljevic
2016-09-09  0:02       ` Danny Milosavljevic
2016-09-09 12:02         ` David Craven
2016-09-09 14:35           ` Danny Milosavljevic
2016-09-09 14:57           ` Danny Milosavljevic
2016-09-09 15:29             ` David Craven
2016-09-09 18:09               ` [WIP PATCH] gnu: add U-Boot support to operating-system configuration Danny Milosavljevic
2016-09-10 17:52                 ` David Craven
2016-09-16 11:07                   ` Danny Milosavljevic
2016-09-16 12:26                     ` Vincent Legoll [this message]
2016-09-17  7:47                       ` David Craven
2016-09-17 17:08                         ` David Craven
2016-09-24  4:16                           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=oJTi+kJnOoatEKm_mdVkXRCGbQ7Z9S7-DiK+rnZ3fcKA@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.