All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] grub-setup: make it possible to specify the root device
Date: Tue, 04 Sep 2012 18:51:19 +0200	[thread overview]
Message-ID: <50463187.1090303@gmail.com> (raw)
In-Reply-To: <1346769168-28089-1-git-send-email-arnout@mind.be>

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

On 04.09.2012 16:32, Arnout Vandecappelle (Essensium/Mind) wrote:

> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
> 
> When creating a bootable disk image in a file rather than on a physical
> device, it is not possible to guess the root partition.  Therefore,
> allow the root partition to be specified on the command line.


Looks like you just do it wrong. Correct way is to create a loopback and
then use kpartx to discover partitions, not use loopback with offset.
This "root device" is purely technical information and it should be
discovered automatically from the information we already have (we have a
directory)

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2012-09-04 16:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 14:32 [PATCH] grub-setup: make it possible to specify the root device Arnout Vandecappelle (Essensium/Mind)
2012-09-04 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-09-04 18:44   ` Arnout Vandecappelle
2012-09-05  5:04     ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-06 17:42       ` Arnout Vandecappelle

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=50463187.1090303@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-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.
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.