All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Jeremy Katz <katzj@redhat.com>, Andy Whitcroft <apw@shadowen.org>,
	xen-devel@lists.sourceforge.net
Subject: Re: boot loaders for domain != 0
Date: Thu, 03 Feb 2005 12:49:53 -0600	[thread overview]
Message-ID: <42027251.4070604@codemonkey.ws> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1236E0@liverpoolst.ad.cl.cam.ac.uk>

Ian Pratt wrote:

>Using libext2fs would be nice from a security POV (it's probably not too
>hard to crash Linux getting it to mount a suitably crafted filesystem
>structure), but it doesn't help if the client is using XFS or Reiserfs
>etc (though I'm not sure Grub supports these anyhow). Perhaps insisting
>on an ext3 /boot is OK.
>
>Ian
>  
>
I contemplated doing this for not just grub but also for ISOLinux so 
that you could boot off of a CDROM.  A really intelligent loader would 
determine which Kernel the system is trying to load (i.e. 2.6.10 vs. 
2.4.23) and load an appropriate Xen kernel.

I looked into it a bit and it wouldn't be terribly hard to support boot 
splash screens either.  Like Jeremy, this is on my TODO list but I 
figured I look into this after getting a new set of management tools 
(since this is mostly management-level stuff).

For what it's worth, I think doing a quick mount, read, and then umount 
is the easiest approach since it extends well to doing things like 
peeking at an ISO's contents by mounting an ISO image.  Using libraries 
would probably introduce some nasty dependencies without really gaining 
much...

Regards,

-- 
Anthony Liguori
anthony@codemonkey.ws



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  parent reply	other threads:[~2005-02-03 18:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 17:28 boot loaders for domain != 0 Ian Pratt
2005-02-03 18:06 ` Jeremy Katz
2005-02-03 18:49 ` Anthony Liguori [this message]
2005-02-03 19:32 ` Jan Kundrát
2005-02-03 20:57   ` [PATCH] Xen Grub-style boot loader Anthony Liguori
2005-02-03 23:58     ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2005-02-03 22:11 boot loaders for domain != 0 Ian Pratt
2005-02-04  1:09 ` Jacob Gorm Hansen
2005-02-03 14:28 Ian Pratt
2005-02-03 16:57 ` Jeremy Katz

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=42027251.4070604@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=apw@shadowen.org \
    --cc=katzj@redhat.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /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.