<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Arvl</id>
	<title>Maemo Leste Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Arvl"/>
	<link rel="alternate" type="text/html" href="https://leste.maemo.org/Special:Contributions/Arvl"/>
	<updated>2026-06-05T12:33:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=423</id>
		<title>Virtual Machine</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=423"/>
		<updated>2019-11-09T06:29:44Z</updated>

		<summary type="html">&lt;p&gt;Arvl: /* Real hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox Device&lt;br /&gt;
|image=&lt;br /&gt;
|manufacturer=Generic&lt;br /&gt;
|codename=&lt;br /&gt;
|dimensions=&lt;br /&gt;
|release_date=&lt;br /&gt;
|soc=&lt;br /&gt;
|dram=&lt;br /&gt;
|power=&lt;br /&gt;
|lcd=&lt;br /&gt;
|video=&lt;br /&gt;
|audio=&lt;br /&gt;
|network=&lt;br /&gt;
|storage=&lt;br /&gt;
|usb=&lt;br /&gt;
|camera=&lt;br /&gt;
|sensors=&lt;br /&gt;
|other=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Generic virtual machine target. This is particularly useful when doing development and testing.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
https://maedevu.maemo.org/images/virtual-machines/&lt;br /&gt;
&lt;br /&gt;
There are three different types of images: VirtualBox (.box), QEMU (.qcow2, .vdi) and Vagrant. The VirtualBox image may be converted to a VMware VMDK image which has been reported to perform better and have good hardware acceleration.&lt;br /&gt;
Converting the qcow2 image to raw allows it to be used on real hardware.&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Download latest .vdi.xz image, unpack it with &amp;quot;xz -d&amp;quot; command.&lt;br /&gt;
Create new Virtual Machine, select &amp;quot;Debian (64-bit)&amp;quot; and 1024MB RAM. Use the downloaded file as virtual hard disk.&lt;br /&gt;
You are done!&lt;br /&gt;
&lt;br /&gt;
=== QEMU ===&lt;br /&gt;
&lt;br /&gt;
In general something like&lt;br /&gt;
  qemu-system-x86_64 -hda maemo-leste-1.0-amd64.qcow2 -enable-kvm -cpu host -smp cores=2 -m 1024&lt;br /&gt;
should work. But there seem to be issues with some QEMU versions, for more details see [https://github.com/maemo-leste/bugtracker/issues/198 issue#198].&lt;br /&gt;
&lt;br /&gt;
=== Real hardware ===&lt;br /&gt;
&lt;br /&gt;
The contents of the &amp;lt;code&amp;gt;qcow2&amp;lt;/code&amp;gt; file can be extracted and copied into hard drives for bare metal BIOS/Legacy CSM booting.&lt;br /&gt;
&lt;br /&gt;
To extract the contents of the &amp;lt;code&amp;gt;qcow2&amp;lt;/code&amp;gt; file, decompress it first and convert it into &amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
 $ xz -d maemo-leste-1.0-amd64-virtual-20180425.qcow2.xz&lt;br /&gt;
 $ qemu-img convert -f qcow2 -O raw maemo-leste-1.0-amd64-virtual-20180425.qcow2 maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
&lt;br /&gt;
The raw image that it yields, can then be setup as a loopback device, and its partitions mounted.&lt;br /&gt;
&lt;br /&gt;
 # losetup --partscan -f maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
 # mkdir /mnt/maemo-virt&lt;br /&gt;
 # mount /dev/loop0p1 /mnt/maemo-virt&lt;br /&gt;
&lt;br /&gt;
Setup one &amp;lt;code&amp;gt;Linux&amp;lt;/code&amp;gt; partition on the device to be used for booting, format it with a GRUB-compatible filesystem (&amp;lt;i&amp;gt;ext4&amp;lt;/i&amp;gt;, for example), then mount it as well.&lt;br /&gt;
&lt;br /&gt;
 # cfdisk /dev/sdb&lt;br /&gt;
 # ...&lt;br /&gt;
 # mkfs.ext4 /dev/sdb1&lt;br /&gt;
 # mkdir /mnt/maemo-bare&lt;br /&gt;
 # mount /dev/sdb1 /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Change directory to the loop partition, the copy over its contents into the bare metal partition.&lt;br /&gt;
&lt;br /&gt;
 # cd /mnt/maemo-virt&lt;br /&gt;
 # rsync -aAHXv * /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Once finished copying, bind mount special filesystems into the bare metal Maemo partition, then change root.&lt;br /&gt;
&lt;br /&gt;
 # mount --bind /dev /mnt/maemo-bare/dev&lt;br /&gt;
 # mount --bind /proc /mnt/maemo-bare/proc&lt;br /&gt;
 # mount --bind /sys /mnt/maemo-bare/sys&lt;br /&gt;
 # chroot /mnt/maemo-bare /bin/bash&lt;br /&gt;
&lt;br /&gt;
Load the new root&#039;s shell profile, install GRUB to the bare metal boot device (&amp;lt;i&amp;gt;/dev/sdb&amp;lt;/i&amp;gt;, in this example), then regenerate the GRUB configuration file.&lt;br /&gt;
&lt;br /&gt;
 # . /etc/profile&lt;br /&gt;
 # grub-install /dev/sdb&lt;br /&gt;
 # grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
&lt;br /&gt;
After that, you may exit the chroot environment (Ctrl+D), unmount all the filesystems, then reboot the system into your new bare metal Maemo Leste installation.&lt;br /&gt;
&lt;br /&gt;
 # umount /mnt/maemo-virt&lt;br /&gt;
 # umount -AR /mnt/maemo-bare&lt;br /&gt;
 # reboot&lt;br /&gt;
&lt;br /&gt;
== Initial configuration ==&lt;br /&gt;
&lt;br /&gt;
On the first run you may want to generate ssh host keys and set the timezone. To do so open the &amp;quot;X Terminal&amp;quot; application and run:&lt;br /&gt;
 sudo su -&lt;br /&gt;
 dpkg-reconfigure openssh-server&lt;br /&gt;
 dpkg-reconfigure tzdata&lt;br /&gt;
&lt;br /&gt;
Make the system up-to-date:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt install linux-image-amd64&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
To get networking to work (at least in virtualbox), launch a shell and do &lt;br /&gt;
 sudo ifconfig eth0 up&lt;br /&gt;
 sudo dhclient eth0&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;/div&gt;</summary>
		<author><name>Arvl</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=422</id>
		<title>Virtual Machine</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=422"/>
		<updated>2019-11-09T06:22:53Z</updated>

		<summary type="html">&lt;p&gt;Arvl: /* Real hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox Device&lt;br /&gt;
|image=&lt;br /&gt;
|manufacturer=Generic&lt;br /&gt;
|codename=&lt;br /&gt;
|dimensions=&lt;br /&gt;
|release_date=&lt;br /&gt;
|soc=&lt;br /&gt;
|dram=&lt;br /&gt;
|power=&lt;br /&gt;
|lcd=&lt;br /&gt;
|video=&lt;br /&gt;
|audio=&lt;br /&gt;
|network=&lt;br /&gt;
|storage=&lt;br /&gt;
|usb=&lt;br /&gt;
|camera=&lt;br /&gt;
|sensors=&lt;br /&gt;
|other=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Generic virtual machine target. This is particularly useful when doing development and testing.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
https://maedevu.maemo.org/images/virtual-machines/&lt;br /&gt;
&lt;br /&gt;
There are three different types of images: VirtualBox (.box), QEMU (.qcow2, .vdi) and Vagrant. The VirtualBox image may be converted to a VMware VMDK image which has been reported to perform better and have good hardware acceleration.&lt;br /&gt;
Converting the qcow2 image to raw allows it to be used on real hardware.&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Download latest .vdi.xz image, unpack it with &amp;quot;xz -d&amp;quot; command.&lt;br /&gt;
Create new Virtual Machine, select &amp;quot;Debian (64-bit)&amp;quot; and 1024MB RAM. Use the downloaded file as virtual hard disk.&lt;br /&gt;
You are done!&lt;br /&gt;
&lt;br /&gt;
=== QEMU ===&lt;br /&gt;
&lt;br /&gt;
In general something like&lt;br /&gt;
  qemu-system-x86_64 -hda maemo-leste-1.0-amd64.qcow2 -enable-kvm -cpu host -smp cores=2 -m 1024&lt;br /&gt;
should work. But there seem to be issues with some QEMU versions, for more details see [https://github.com/maemo-leste/bugtracker/issues/198 issue#198].&lt;br /&gt;
&lt;br /&gt;
=== Real hardware ===&lt;br /&gt;
&lt;br /&gt;
The contents of the &amp;lt;code&amp;gt;qcow2&amp;lt;/code&amp;gt; file can be extracted and copied into hard drives for bare metal BIOS/Legacy CSM booting.&lt;br /&gt;
&lt;br /&gt;
To extract the contents of the &amp;lt;code&amp;gt;qcow2&amp;lt;/code&amp;gt; file, decompress it first and convert it into &amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
 $ xz -d maemo-leste-1.0-amd64-virtual-20180425.qcow2.xz&lt;br /&gt;
 $ qemu-img convert -f qcow2 -O raw maemo-leste-1.0-amd64-virtual-20180425.qcow2 maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
&lt;br /&gt;
The raw image that it yields, can then be setup as a loopback device, and its partitions mounted.&lt;br /&gt;
&lt;br /&gt;
 # losetup --partscan -f maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
 # mkdir /mnt/maemo-virt&lt;br /&gt;
 # mount /dev/loop0p1 /mnt/maemo-virt&lt;br /&gt;
&lt;br /&gt;
Setup one &amp;lt;code&amp;gt;Linux&amp;lt;/code&amp;gt; partition on the device to be used for booting, format it with a GRUB-compatible filesystem (&amp;quot;ext4&amp;quot;, for example), then mount it as well.&lt;br /&gt;
&lt;br /&gt;
 # cfdisk /dev/sdb&lt;br /&gt;
 # ...&lt;br /&gt;
 # mkfs.ext4 /dev/sdb1&lt;br /&gt;
 # mkdir /mnt/maemo-bare&lt;br /&gt;
 # mount /dev/sdb1 /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Change directory to the loop partition, the copy over its contents into the bare metal partition.&lt;br /&gt;
&lt;br /&gt;
 # cd /mnt/maemo-virt&lt;br /&gt;
 # rsync -aAHXv * /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Once finished copying, bind mount special filesystems into the bare metal Maemo partition, then change root.&lt;br /&gt;
&lt;br /&gt;
 # mount --bind /dev /mnt/maemo-bare/dev&lt;br /&gt;
 # mount --bind /proc /mnt/maemo-bare/proc&lt;br /&gt;
 # mount --bind /sys /mnt/maemo-bare/sys&lt;br /&gt;
 # chroot /mnt/maemo-bare /bin/bash&lt;br /&gt;
&lt;br /&gt;
Load the new root&#039;s shell profile, install GRUB to the bare metal boot device (&amp;quot;/dev/sdb&amp;quot;, in this example), then regenerate the GRUB configuration file.&lt;br /&gt;
&lt;br /&gt;
 # . /etc/profile&lt;br /&gt;
 # grub-install /dev/sdb&lt;br /&gt;
 # grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
&lt;br /&gt;
After that, you may exit the chroot environment (Ctrl+D), unmount all the filesystems, then reboot the system into your new bare metal Maemo Leste installation.&lt;br /&gt;
&lt;br /&gt;
 # umount /mnt/maemo-virt&lt;br /&gt;
 # umount -AR /mnt/maemo-bare&lt;br /&gt;
 # reboot&lt;br /&gt;
&lt;br /&gt;
== Initial configuration ==&lt;br /&gt;
&lt;br /&gt;
On the first run you may want to generate ssh host keys and set the timezone. To do so open the &amp;quot;X Terminal&amp;quot; application and run:&lt;br /&gt;
 sudo su -&lt;br /&gt;
 dpkg-reconfigure openssh-server&lt;br /&gt;
 dpkg-reconfigure tzdata&lt;br /&gt;
&lt;br /&gt;
Make the system up-to-date:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt install linux-image-amd64&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
To get networking to work (at least in virtualbox), launch a shell and do &lt;br /&gt;
 sudo ifconfig eth0 up&lt;br /&gt;
 sudo dhclient eth0&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;/div&gt;</summary>
		<author><name>Arvl</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=421</id>
		<title>Virtual Machine</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Virtual_Machine&amp;diff=421"/>
		<updated>2019-11-09T06:18:50Z</updated>

		<summary type="html">&lt;p&gt;Arvl: /* Real hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox Device&lt;br /&gt;
|image=&lt;br /&gt;
|manufacturer=Generic&lt;br /&gt;
|codename=&lt;br /&gt;
|dimensions=&lt;br /&gt;
|release_date=&lt;br /&gt;
|soc=&lt;br /&gt;
|dram=&lt;br /&gt;
|power=&lt;br /&gt;
|lcd=&lt;br /&gt;
|video=&lt;br /&gt;
|audio=&lt;br /&gt;
|network=&lt;br /&gt;
|storage=&lt;br /&gt;
|usb=&lt;br /&gt;
|camera=&lt;br /&gt;
|sensors=&lt;br /&gt;
|other=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Generic virtual machine target. This is particularly useful when doing development and testing.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
https://maedevu.maemo.org/images/virtual-machines/&lt;br /&gt;
&lt;br /&gt;
There are three different types of images: VirtualBox (.box), QEMU (.qcow2, .vdi) and Vagrant. The VirtualBox image may be converted to a VMware VMDK image which has been reported to perform better and have good hardware acceleration.&lt;br /&gt;
Converting the qcow2 image to raw allows it to be used on real hardware.&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Download latest .vdi.xz image, unpack it with &amp;quot;xz -d&amp;quot; command.&lt;br /&gt;
Create new Virtual Machine, select &amp;quot;Debian (64-bit)&amp;quot; and 1024MB RAM. Use the downloaded file as virtual hard disk.&lt;br /&gt;
You are done!&lt;br /&gt;
&lt;br /&gt;
=== QEMU ===&lt;br /&gt;
&lt;br /&gt;
In general something like&lt;br /&gt;
  qemu-system-x86_64 -hda maemo-leste-1.0-amd64.qcow2 -enable-kvm -cpu host -smp cores=2 -m 1024&lt;br /&gt;
should work. But there seem to be issues with some QEMU versions, for more details see [https://github.com/maemo-leste/bugtracker/issues/198 issue#198].&lt;br /&gt;
&lt;br /&gt;
=== Real hardware ===&lt;br /&gt;
&lt;br /&gt;
The contents of the `qcow2` file can be extracted and copied into hard drives for bare metal BIOS/Legacy CSM booting.&lt;br /&gt;
&lt;br /&gt;
To extract the contents of the `qcow2` file, decompress it first and convert it into `raw` format.&lt;br /&gt;
&lt;br /&gt;
 $ xz -d maemo-leste-1.0-amd64-virtual-20180425.qcow2.xz&lt;br /&gt;
 $ qemu-img convert -f qcow2 -O raw maemo-leste-1.0-amd64-virtual-20180425.qcow2 maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
&lt;br /&gt;
The raw image that it yields, can then be setup as a loopback device, and its partitions mounted.&lt;br /&gt;
&lt;br /&gt;
 # losetup --partscan -f maemo-leste-1.0-amd64-virtual-20180425.raw&lt;br /&gt;
 # mkdir /mnt/maemo-virt&lt;br /&gt;
 # mount /dev/loop0p1 /mnt/maemo-virt&lt;br /&gt;
&lt;br /&gt;
Setup one `Linux` partition on the device to be used for booting, format it with a GRUB-compatible filesystem (ext4, for example), then mount it as well.&lt;br /&gt;
&lt;br /&gt;
 # cfdisk /dev/sdb&lt;br /&gt;
 # ...&lt;br /&gt;
 # mkfs.ext4 /dev/sdb1&lt;br /&gt;
 # mkdir /mnt/maemo-bare&lt;br /&gt;
 # mount /dev/sdb1 /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Change directory to the loop partition, the copy over its contents into the bare metal partition.&lt;br /&gt;
&lt;br /&gt;
 # cd /mnt/maemo-virt&lt;br /&gt;
 # rsync -aAHXv * /mnt/maemo-bare&lt;br /&gt;
&lt;br /&gt;
Once finished copying, bind mount special filesystems into the bare metal Maemo partition, then change root.&lt;br /&gt;
&lt;br /&gt;
 # mount --bind /dev /mnt/maemo-bare/dev&lt;br /&gt;
 # mount --bind /proc /mnt/maemo-bare/proc&lt;br /&gt;
 # mount --bind /sys /mnt/maemo-bare/sys&lt;br /&gt;
 # chroot /mnt/maemo-bare /bin/bash&lt;br /&gt;
&lt;br /&gt;
Load the new root&#039;s shell profile, install GRUB to the bare metal boot device (/dev/sdb, in this example), then regenerate the GRUB configuration file.&lt;br /&gt;
&lt;br /&gt;
 # . /etc/profile&lt;br /&gt;
 # grub-install /dev/sdb&lt;br /&gt;
 # grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
&lt;br /&gt;
After that, you may exit the chroot environment (Ctrl+D), unmount all the filesystems, then reboot the system into your new bare metal Maemo Leste installation.&lt;br /&gt;
&lt;br /&gt;
 # umount /mnt/maemo-virt&lt;br /&gt;
 # umount -AR /mnt/maemo-bare&lt;br /&gt;
 # reboot&lt;br /&gt;
&lt;br /&gt;
== Initial configuration ==&lt;br /&gt;
&lt;br /&gt;
On the first run you may want to generate ssh host keys and set the timezone. To do so open the &amp;quot;X Terminal&amp;quot; application and run:&lt;br /&gt;
 sudo su -&lt;br /&gt;
 dpkg-reconfigure openssh-server&lt;br /&gt;
 dpkg-reconfigure tzdata&lt;br /&gt;
&lt;br /&gt;
Make the system up-to-date:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt install linux-image-amd64&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
To get networking to work (at least in virtualbox), launch a shell and do &lt;br /&gt;
 sudo ifconfig eth0 up&lt;br /&gt;
 sudo dhclient eth0&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;/div&gt;</summary>
		<author><name>Arvl</name></author>
	</entry>
</feed>