Benutzer-Werkzeuge

Webseiten-Werkzeuge


howto:openwrt-vm

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
howto:openwrt-vm [2011/03/02 12:22] – sparedisk 1G -> 100m justinotherguyhowto:openwrt-vm [2011/03/02 12:31] – ...and back again: 100M -> 1G justinotherguy
Zeile 5: Zeile 5:
   * download [[http://downloads.openwrt.org/backfire/10.03.1-rc4/x86/openwrt-x86-generic-combined-ext2.vmdk|the prebuilt Kamikaze image in vmware disk image format]]:   * download [[http://downloads.openwrt.org/backfire/10.03.1-rc4/x86/openwrt-x86-generic-combined-ext2.vmdk|the prebuilt Kamikaze image in vmware disk image format]]:
   (Remark: in case you should wonder why we're using the latest RC of 10.03.1 - it's because that is the first release that sports the mysql-server package)   (Remark: in case you should wonder why we're using the latest RC of 10.03.1 - it's because that is the first release that sports the mysql-server package)
-  * download [[http://volkszaehler.org/sparedisk-100m.vmdk.gz|the g'zipped prebuilt 1 GB spare disk image in vmware disk image format]] and gunzip it or roll your own:+  * download [[http://volkszaehler.org/sparedisk-1G.vmdk.gz|the g'zipped prebuilt 1 GB spare disk image in vmware disk image format]] and gunzip it or roll your own:
     * create a new file system for the db in an appropiate size - you might want to start with 1 GB:     * create a new file system for the db in an appropiate size - you might want to start with 1 GB:
-<code>dd if=/dev/zero of=disk.img bs=100M count=10</code>+<code>dd if=/dev/zero of=disk.img bs=1024M count=10</code>
     * create an ext2 file system in that image     * create an ext2 file system in that image
-<code>mkfs.ext2 sparedisk-100m.img</code>+<code>mkfs.ext2 sparedisk-1G.img</code>
     * convert the image using qemu-img from the package „qemu“ (Ubuntu/Debian):     * convert the image using qemu-img from the package „qemu“ (Ubuntu/Debian):
-<code>qemu-img convert -f raw sparedisk-100m.img -O vmdk sparedisk-100m.vmdk</code>+<code>qemu-img convert -f raw sparedisk-1G.img -O vmdk sparedisk-1G.vmdk</code>
   * get the [[http://volkszaehler.org/backfire-10.03.1-openwrt-x86-2.6-ext2.vmx|VMware configuration file]]   * get the [[http://volkszaehler.org/backfire-10.03.1-openwrt-x86-2.6-ext2.vmx|VMware configuration file]]
   * open the vmx file with VMWare Player   * open the vmx file with VMWare Player
howto/openwrt-vm.txt · Zuletzt geändert: 2019/11/04 11:24 von jau