linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Malahal Naineni <malahal@us.ibm.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Determine boot disk device name...
Date: Tue, 26 Oct 2010 11:41:39 -0700	[thread overview]
Message-ID: <20101026184139.GA32464@us.ibm.com> (raw)
In-Reply-To: <AANLkTikp-8mrhoPSaZYT=m7CwCMfPrvBUK9tiQBeZFmB@mail.gmail.com>

Alexander Skwar [alexanders.mailinglists+nospam@gmail.com] wrote:
>    Hi!
>    2010/10/25 Malahal Naineni <[1]malahal@us.ibm.com>
> 
>      Alexander Skwar [[2]alexanders.mailinglists+nospam@gmail.com] wrote:
>      >    I also wanted to suggest this, but…
>      >
>      >    benutzer@horst:~$ cat /proc/cmdline
>      >    root=/dev/xvda1 ro
> 
>      I got confused with boot and root! Thanks for correction. Usually boot
>      disk is mounted at /boot. Your boot disk could be same as root disk (in
>      this case there would not be anything mounted at /boot but just a
>      directory).
> 
>    Well, but even the location of the /boot directory/partition doesn't
>    necessarily tell, from where someone booted - suppose, you've got
>    a boot disk /dev/sda. On /dev/sda, there's grub. Grub's setup so,
>    that it boots a system/kernel, which is on /dev/sdb. The system
>    is "self contained" on /dev/sdb.
> 
>    In such a case, the system would've been booted from /dev/sda,
>    but there's no way to tell that, once the "/dev/sdb system" has
>    been started - or is there?

Once loader's job is done, it is not needed and I don't think there is a
way to find out your boot disk in all __situations__ as I said before.
In fact, you can use a USB disk as your boot disk and remove it after
boot.

Thanks, Malahal.

  reply	other threads:[~2010-10-26 18:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24  2:58 [linux-lvm] Determine boot disk device name Jon Price
2010-10-25 18:11 ` Malahal Naineni
2010-10-25 19:21   ` Alexander Skwar
2010-10-25 21:28     ` Malahal Naineni
2010-10-26  8:29       ` Alexander Skwar
2010-10-26 18:41         ` Malahal Naineni [this message]
2010-10-26 18:55           ` Ray Morris
2010-10-25 19:16 ` Stephane Chazelas
2010-12-02  3:12   ` Stuart D. Gathman
2010-10-27  5:52 ` Luca Berra

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=20101026184139.GA32464@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=linux-lvm@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).