public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "roland" <devzero@web.de>
To: <lunz@falooley.org>, "Jeff Dike" <jdike@addtoit.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [uml-devel] [RFC] UML kernel & rootfs bundle with every kernel release ?
Date: Tue, 3 Apr 2007 10:28:40 +0200	[thread overview]
Message-ID: <023901c775ca$1608d670$eeeea8c0@aldipc> (raw)

what is the real advantage to package uml-kernel and rootfs into a single 
file ?

If this needs to be distributed with additional script, that's two files, 
anyway.

the classical way would be 3 files:  uml-kernel, rootfs, script - put into 
some tar.gz or tar.bz2

this could look as elegant like:

linux-2.6.21-UML-TryMe-and-RunMe-Kit.tar.bz2

linux-2.6.21-start.sh  (containing ./linux-2.6.21-kernel-um 
ubd0=linux-2.6.21-rootfs.....)
linux-2.6.21-kernel-um
linux-2.6.21-rootfs

regards
roland

ps:
>I've done the converse: package the uml kernel within the rootfs image,
>and use a script that plays the part of bootloader. With ext2 at least,
>it's fairly easy to use the debugfs 'cat' command for this.
wicked, though! :)



On Mon, Apr 02, 2007 at 05:44:34PM -0400, Jeff Dike wrote:
> There are sites (http://uml.nagafix.co.uk/ being the best one I know
> of) where, with two downloads, two uncompressions, and one command
> line later, you have a booted UML.
>
> The only way I know of to improve on this, aside from inprovements in
> the booted distro, is to package the filesystem as a rootfs within the
> UML kernel binary.  I've considered this, but haven't done anything
> with it.

I've done the converse: package the uml kernel within the rootfs image,
and use a script that plays the part of bootloader. With ext2 at least,
it's fairly easy to use the debugfs 'cat' command for this.

That way, you simply distribute the fs image with a companion script
that can boot any number of such images.

Jason 


             reply	other threads:[~2007-04-03  8:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-03  8:28 roland [this message]
2007-04-03 18:01 ` [uml-devel] [RFC] UML kernel & rootfs bundle with every kernel release ? Jason Lunz
  -- strict thread matches above, loose matches on Subject: below --
2007-03-31 22:58 devzero
2007-04-01 19:08 ` Blaisorblade
2007-04-01 19:58   ` [uml-devel] " Antoine Martin
2007-04-02  2:05     ` Jeff Dike
2007-04-02 10:21       ` Antoine Martin
2007-04-02 11:22         ` Geert Uytterhoeven
2007-04-02 12:50           ` Geert Uytterhoeven
2007-04-02 14:53           ` Jeff Dike
2007-04-02 15:43             ` Antoine Martin
2007-04-03 23:49               ` Antoine Martin
2007-04-04  6:35                 ` Geert Uytterhoeven
2007-04-04 20:27                   ` Antoine Martin
2007-04-02 14:55         ` Jeff Dike
2007-04-02 15:43           ` Antoine Martin
2007-04-02 20:40         ` roland
2007-04-02 21:44           ` Jeff Dike
2007-04-03  4:44             ` Jason Lunz
2007-04-03 17:43         ` Blaisorblade
2007-04-03 17:53           ` Antoine Martin

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='023901c775ca$1608d670$eeeea8c0@aldipc' \
    --to=devzero@web.de \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lunz@falooley.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox