[Netkit.users] How do I create a disk image to use with netkit?

Luca Dionisi luca.dionisi at gmail.com
Mon Sep 7 16:48:49 CEST 2009


Hi all

I need to instantiate a vm in netkit with more space on disk. The default
has 1 GB.
How do I create a disk image to use with netkit?
The automated procedure (make -f Makefile.devel) is not working for me.

I'd be really ok with a bigger disk with the same content of my current one.
So I tried and created from scratch (dd) a disk image, created a partition,
an ext3 fs on it, mounted it, and I copied the content of the original
image.
But when I launch vstart I got some strange behaviour.

When I try:
   vstart vm1 --verbose --con0=this
results:
  Creating "/home/luca/netkit_stuff/netsukuku/vm1.disk" as COW file for
"/home/luca/netkit/fs/netkit-fs"
   ubda: ubda1
  VFS: Mounted root (ext2 filesystem) readonly.

Whilst when I try:
   vstart vm2 --verbose --con0=this -m /home/luca/netkit/fs/my-own-fs
results:
  Creating "/home/luca/netkit_stuff/netsukuku/vm2.disk" as COW file for
"/home/luca/netkit/fs/my-own-fs"
   ubda: ubda1
  List of all partitions:
  6200    1048576 ubda driver: uml-blkdev
    6201    1048540 ubda1
  No filesystem could mount root, tried:  ext3 ext2 cramfs romfs
  Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(98,0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20090907/a60443d6/attachment.html 


More information about the Netkit.users mailing list