<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Dear Luca,<br>
<br>
in the second case, try passing "--append=root=98:1" as option to
vstart.<br>
<br>
For a step-by-step resize procedure, I suggest you have a look at this
post, if you haven't already:
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/pipermail/netkit.users/2007-January/000242.html">http://list.dia.uniroma3.it/pipermail/netkit.users/2007-January/000242.html</a>.<br>
<br>
Regards,<br>
Massimo.<br>
</tt><br>
Luca Dionisi wrote:
<blockquote
cite="mid:73dbe2850909070748r60ba5e9fs34986e89763d0318@mail.gmail.com"
type="cite">Hi all<br>
<br>
I need to instantiate a vm in netkit with more space on disk. The
default has 1 GB.<br>
How do I create a disk image to use with netkit?<br>
The automated procedure (make -f Makefile.devel) is not working for me.<br>
<br>
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.<br>
But when I launch vstart I got some strange behaviour.<br>
<br>
When I try:<br>
vstart vm1 --verbose --con0=this<br>
results:<br>
Creating "/home/luca/netkit_stuff/netsukuku/vm1.disk" as COW file for
"/home/luca/netkit/fs/netkit-fs"<br>
ubda: ubda1<br>
VFS: Mounted root (ext2 filesystem) readonly.<br>
<br>
Whilst when I try:<br>
vstart vm2 --verbose --con0=this -m /home/luca/netkit/fs/my-own-fs<br>
results:<br>
Creating "/home/luca/netkit_stuff/netsukuku/vm2.disk" as COW file for
"/home/luca/netkit/fs/my-own-fs"<br>
ubda: ubda1<br>
List of all partitions:<br>
6200 1048576 ubda driver: uml-blkdev<br>
6201 1048540 ubda1<br>
No filesystem could mount root, tried: ext3 ext2 cramfs romfs<br>
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(98,0)<br>
<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
</pre>
</blockquote>
</body>
</html>