All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] UML kernel & rootfs bundle with every kernel release ?
@ 2007-03-31 22:58 devzero
  2007-04-01  0:01 ` Parag Warudkar
  2007-04-01 19:08   ` [uml-devel] " Blaisorblade
  0 siblings, 2 replies; 40+ messages in thread
From: devzero @ 2007-03-31 22:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: blaisorblade, jdike

Hello !

i`m not very much into UML for the last months, but while playing around with dm-loop i just got one idea i`d like to share.

Whenever you want to test some new kernel (feature), you may put you main system at risk, exactly know what you`re doing - or - use UserModeLinux.

The "problem" with UML is:

- you needs to compile an UML kernel first.
- you needs some "basic" knowlege about UML to get things running.
- you need to create an appropriate filesystem image for UML - or find some for download
- you need to copy appropriate kernel modules inside
- you need to put kernel sources inside, have compiler......
- you may need appropriate modle-init-tools,initrd, kernel specific tools (updated dmsetup, updated....whatever)

in short: 
it`s quite some work to be done to have your uml 2.6.21 with root-fs up and running and working cleanly.
whenever i search the net for some appropriate UML fs image, those i find are very often old and outdated...

is there a project/website which is offering such ready to run "UML kernel+rootfs release bundles" for download (i.e. new kernel,generic  root-fs, modules inside, sources inside, compiler inside - in sync with the latest stable vanilla) , or , would it make sense to establish such project ?
i.e. besides releasing the kernel, also releasing sort of a kernel "runtime kit" and/or "devkit" ?

i think this could be very helpful for linux-kernel, because it could be tested by more people more quickly, more easily and thus, more often.
just download, do few steps for setup, start up that virtual machine and there you go testing, hacking into the sources, do all that things you never would do on your main system,  whatever....

it would probably also add benefit to UML itself.

does this sound dumb? i don`t know, so please comment.

regards
roland

PS:
ok, this would be some 500M to 1G download, but there`s lot`s of bandwidth today - and P2P/Bittorrent.....
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [uml-devel] [RFC] UML kernel & rootfs bundle with every kernel release ?
@ 2007-04-03  8:28 roland
  2007-04-03 18:01 ` Jason Lunz
  0 siblings, 1 reply; 40+ messages in thread
From: roland @ 2007-04-03  8:28 UTC (permalink / raw)
  To: lunz, Jeff Dike; +Cc: linux-kernel

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 


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2007-04-04 20:27 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-31 22:58 [RFC] UML kernel & rootfs bundle with every kernel release ? devzero
2007-04-01  0:01 ` Parag Warudkar
2007-04-01 19:08 ` Blaisorblade
2007-04-01 19:08   ` [uml-devel] " Blaisorblade
2007-04-01 19:58   ` Antoine Martin
2007-04-01 19:58     ` Antoine Martin
2007-04-02  2:05     ` Jeff Dike
2007-04-02  2:05       ` Jeff Dike
2007-04-02 10:21       ` Antoine Martin
2007-04-02 10:21         ` Antoine Martin
2007-04-02 11:22         ` Geert Uytterhoeven
2007-04-02 11:22           ` Geert Uytterhoeven
2007-04-02 12:50           ` Geert Uytterhoeven
2007-04-02 12:50             ` Geert Uytterhoeven
2007-04-02 14:53           ` Jeff Dike
2007-04-02 14:53             ` Jeff Dike
2007-04-02 15:43             ` Antoine Martin
2007-04-02 15:43               ` Antoine Martin
2007-04-03 23:49               ` Antoine Martin
2007-04-03 23:49                 ` Antoine Martin
2007-04-04  6:35                 ` Geert Uytterhoeven
2007-04-04  6:35                   ` Geert Uytterhoeven
2007-04-04 20:27                   ` Antoine Martin
2007-04-04 20:27                     ` Antoine Martin
2007-04-02 14:55         ` Jeff Dike
2007-04-02 14:55           ` Jeff Dike
2007-04-02 15:43           ` Antoine Martin
2007-04-02 15:43             ` Antoine Martin
2007-04-02 20:40         ` roland
2007-04-02 20:40           ` roland
2007-04-02 21:44           ` Jeff Dike
2007-04-02 21:44             ` Jeff Dike
2007-04-03  4:44             ` Jason Lunz
2007-04-03  4:44               ` Jason Lunz
2007-04-03 17:43         ` Blaisorblade
2007-04-03 17:43           ` Blaisorblade
2007-04-03 17:53           ` Antoine Martin
2007-04-03 17:53             ` Antoine Martin
2007-04-03  8:28 roland
2007-04-03 18:01 ` Jason Lunz

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.