<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Carl+Fischer</id>
	<title>Sugar Labs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Carl+Fischer"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/go/Special:Contributions/Carl_Fischer"/>
	<updated>2026-04-16T22:06:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=VirtualBox/Preparing_a_disk_image&amp;diff=55829</id>
		<title>VirtualBox/Preparing a disk image</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=VirtualBox/Preparing_a_disk_image&amp;diff=55829"/>
		<updated>2010-08-16T11:14:20Z</updated>

		<summary type="html">&lt;p&gt;Carl Fischer: /* Installing VirtualBox Guest Additions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{TOCright}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Instructions for preparing a VirtualBox disk image from a SoaS iso image file.&lt;br /&gt;
* (Taken from Dave Bauer&#039;s posting at http://schools.sugarlabs.org/mod/forum/discuss.php?d=27.)&lt;br /&gt;
* Updated 09 June 2010 with [http://www.virtualbox.org/wiki/Downloads VirtualBox 3.2.4] and 32-bit Fedora.&lt;br /&gt;
==Installing SoaS .iso image==&lt;br /&gt;
# Create a new VM, choose a name, such as Mirabelle&lt;br /&gt;
# Choose Linux for the Operating System and Version Fedora (use 64 bit, if available)&lt;br /&gt;
# Choose Base Memory Size: 256 MB to match an XO-1, 512 or 1024 MB to match an XO-1.5&lt;br /&gt;
# Create a new virtual hard disk image with dynamically expanding storage of 2 GB&lt;br /&gt;
# Finish.&lt;br /&gt;
# Download the lastest SoaS, http://spins.fedoraproject.org/soas/#downloads, for Fedora 13.&lt;br /&gt;
# Mount the SoaS .iso image file as a CD-ROM in the newly created VM.&lt;br /&gt;
# Change the Network Attached to: Bridged Adapter  (This allows for networking with the host computer.)&lt;br /&gt;
# Start the VM&lt;br /&gt;
# Enter an account name and startup Sugar.&lt;br /&gt;
# Open Terminal.&lt;br /&gt;
# su -&lt;br /&gt;
# parted&lt;br /&gt;
# mklabel msdos&lt;br /&gt;
#: This makes a partition table.&lt;br /&gt;
# mkpart primary ext2 0 2048&lt;br /&gt;
#: You will receive this message:&amp;lt;br&amp;gt;Warning: The resulting partition is not properly aligned for best performance.&amp;lt;br&amp;gt;Ignore/Cancel?&lt;br /&gt;
#: Enter (I)gnore&lt;br /&gt;
# toggle 1 boot&lt;br /&gt;
# quit&lt;br /&gt;
# mke2fs /dev/sda1&lt;br /&gt;
# /LiveOS/livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sda1&amp;lt;br&amp;gt;(for earlier versions of SoaS&lt;br /&gt;
#: Blueberry - use /media/soas-2-blueberry/LiveOS/livecd-iso-to-disk&amp;lt;br&amp;gt;Strawberry - use /mnt/live/LiveOS/livecd-iso-to-disk)&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
{{Show|&amp;lt;Terminal log&amp;gt; &lt;br /&gt;
|&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@localhost ~]# parted&lt;br /&gt;
GNU Parted 2.1&lt;br /&gt;
Using /dev/sda&lt;br /&gt;
Welcome to GNU Parted! Type &#039;help&#039; to view a list of commands.&lt;br /&gt;
(parted) mklabel msdos                                                    &lt;br /&gt;
(parted) mkpart primary ext2 0 2048&lt;br /&gt;
Warning: The resulting partition is not properly aligned for best performance.&lt;br /&gt;
Ignore/Cancel? I                                                          &lt;br /&gt;
(parted) toggle 1 boot                                                    &lt;br /&gt;
(parted) quit                                                             &lt;br /&gt;
Information: You may need to update /etc/fstab.                           &lt;br /&gt;
&lt;br /&gt;
[root@localhost ~]# mke2fs /dev/sda1&lt;br /&gt;
mke2fs 1.41.10 (10-Feb-2009)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
Stride=0 blocks, Stripe width=0 blocks&lt;br /&gt;
125184 inodes, 500000 blocks&lt;br /&gt;
25000 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=515899392&lt;br /&gt;
16 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
7824 inodes per group&lt;br /&gt;
Superblock backups stored on blocks: &lt;br /&gt;
    32768, 98304, 163840, 229376, 294912&lt;br /&gt;
&lt;br /&gt;
Writing inode tables: done                            &lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
This filesystem will be automatically checked every 36 mounts or&lt;br /&gt;
180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;
[root@localhost ~]# /LiveOS/livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sda1&lt;br /&gt;
Verifying image...&lt;br /&gt;
/dev/sr0:   0ce28e3947106fd37bab9317abf09938&lt;br /&gt;
Fragment sums: a3c6e5fd5fba11d2b4da71771e8732b63bcb62b841971f7f39ab5c187f64&lt;br /&gt;
Fragment count: 20&lt;br /&gt;
Checking: 100.0%&lt;br /&gt;
&lt;br /&gt;
The media check is complete, the result is: PASS.&lt;br /&gt;
&lt;br /&gt;
It is OK to use this media.&lt;br /&gt;
Copying live image to USB stick&lt;br /&gt;
Updating boot config file&lt;br /&gt;
Initializing persistent overlay file&lt;br /&gt;
0+0 records in&lt;br /&gt;
0+0 records out&lt;br /&gt;
0 bytes (0 B) copied, 0.000150187 s, 0.0 kB/s&lt;br /&gt;
Initializing persistent /home&lt;br /&gt;
0+0 records in&lt;br /&gt;
0+0 records out&lt;br /&gt;
0 bytes (0 B) copied, 0.0039562 s, 0.0 kB/s&lt;br /&gt;
Formatting unencrypted /home&lt;br /&gt;
mke2fs 1.41.10 (10-Feb-2009)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=1024 (log=0)&lt;br /&gt;
Fragment size=1024 (log=0)&lt;br /&gt;
Stride=0 blocks, Stripe width=0 blocks&lt;br /&gt;
51200 inodes, 204800 blocks&lt;br /&gt;
10240 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=1&lt;br /&gt;
Maximum filesystem blocks=67371008&lt;br /&gt;
25 block groups&lt;br /&gt;
8192 blocks per group, 8192 fragments per group&lt;br /&gt;
2048 inodes per group&lt;br /&gt;
Superblock backups stored on blocks: &lt;br /&gt;
    8193, 24577, 40961, 57345, 73729&lt;br /&gt;
&lt;br /&gt;
Writing inode tables: done                            &lt;br /&gt;
Creating journal (4096 blocks): done&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
This filesystem will be automatically checked every 26 mounts or&lt;br /&gt;
180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;
tune2fs 1.41.10 (10-Feb-2009)&lt;br /&gt;
Setting maximal mount count to -1&lt;br /&gt;
Setting interval between checks to 0 seconds&lt;br /&gt;
Installing boot loader&lt;br /&gt;
/media/usbdev.XB8shz/syslinux is device /dev/sda1&lt;br /&gt;
USB stick set up as live image!&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
* the --overlay-size-mb NNN and --home-size-mb NNN options creates space for persistence of changes on the disk; otherwise, a liveOS disk is read-only. See [[LiveOS image]].&lt;br /&gt;
: &amp;lt;br&amp;gt;The following optional parameters seem to be incompatible with soas-1-strawberry and soas-2-blueberry released versions.  (The script completes successfully, but the virtual machine startup process has trouble finding the home directory and fails to complete.)&lt;br /&gt;
* the --home-size-mb NNN option creates space for file storage in the /home/liveuser folder.  (In the case where you you want to update the LiveOS image while keeping the user files, skip the new disk creation and parted steps, leave out the --home-size-mb NNN option at this step, and continue on.)&lt;br /&gt;
* the --unencrypted-home option prevents password protection and encryption on the /home/liveuser folder. This releaves the overhead on the compressed [[wikipedia:SquashFS|SquashFS]], and should be more robust to file system failures (outside of security).&lt;br /&gt;
* the --delete-home option is used to avoid an error message while requesting both a new home (with --home-size-mb) and a persistent home (with --unencrypted-home).  (You wouldn&#039;t use this option for the LiveOS upgrade case.)&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ol start=20&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; shutdown -h now&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
==Installing VirtualBox Guest Additions==&lt;br /&gt;
# Unmount CD/DVD in VirtualBox settings, select &#039;Empty&#039; for the CD/DVD device under &#039;Attributes&#039; &lt;br /&gt;
# Start the virtual machine&lt;br /&gt;
# Open Terminal&lt;br /&gt;
# su -&lt;br /&gt;
# yum install dkms gcc &lt;br /&gt;
#: (Other dependencies will be called into the installation.)&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The installation fails as of 27 June 2010 testing with 32-bit Fedora-14 while updating to glibc-common-2.12.90-3.i686&amp;lt;br&amp;gt;error: unpacking of archive failed on file /usr/lib/locale/locale-archive.tmpl: cpio: rename&amp;lt;br&amp;gt;Traceback (most recent call last):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.6/site-packages/yum/rpmtrans.py&amp;quot;, line 387, in callback&lt;br /&gt;
&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.6/site-packages/yum/rpmtrans.py&amp;quot;, line 457, in _instCloseFile&lt;br /&gt;
&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.6/site-packages/yum/rpmtrans.py&amp;quot;, line 246, in _scriptout&lt;br /&gt;
&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.6/site-packages/yum/rpmtrans.py&amp;quot;, line 367, in log_scriptlet_output&lt;br /&gt;
&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.6/site-packages/yum/rpmtrans.py&amp;quot;, line 223, in _commit&lt;br /&gt;
&lt;br /&gt;
sqlite3.OperationalError: disk I/O error&lt;br /&gt;
error: python callback &amp;lt;bound method RPMTransaction.callback of &amp;lt;yum.rpmtrans.RPMTransaction instance at 0xa088b8c&amp;gt;&amp;gt; failed, aborting!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(With 512 MB of memory allocated, the update seemed to hang on the glibc update. Boosting the memory to 1024 revealed the above failure.)&lt;br /&gt;
* The installation fails as of 27 June 2010 testing with 32-bit Fedora-14 while updating to glibc-common-2.12.90-3.i686&lt;br /&gt;
*: Using {{Code|dmsetup status}} the overlay consumption measured (after rebooting from a hang with 512 MB of memory) moved from 23376/409600 to 406568/409600 sectors.&lt;br /&gt;
* Installed Fedora-14 soas-i386-20100613.15.iso with this command line,&lt;br /&gt;
*: {{Code|/LiveOS/livecd-iso-to-disk --overlay-size-mb 1000 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sda1}}&lt;br /&gt;
*: {{Code|dmsetup status}} before and after&lt;br /&gt;
*: {{Code|yum install dkms gcc}}&lt;br /&gt;
*: yielded these results: 21376/2048000 and 868152/2048000 (512-byte segments)&lt;br /&gt;
*:: So it looks like at least 425 MiBytes of overlay is required for that installation.&lt;br /&gt;
*: After&lt;br /&gt;
*: {{Code|./VboxLinuxAdditions-x86.run}}&lt;br /&gt;
*: {{Code|dmsetup status}} showed 928872/204800 or 454 MiBytes of the overlay consumed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Show|&amp;lt;Successful Terminal log from 21 May 2010 with Fedora 64 bit&amp;gt; &lt;br /&gt;
|&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@localhost ~]# yum install dkms gcc&lt;br /&gt;
Loaded plugins: presto, refresh-packagekit&lt;br /&gt;
fedora/metalink                                                           |  13 kB     00:00     &lt;br /&gt;
fedora                                                                    | 4.3 kB     00:00     &lt;br /&gt;
fedora/primary_db                                                         |  13 MB     00:18     &lt;br /&gt;
updates/metalink                                                          |  15 kB     00:00     &lt;br /&gt;
updates                                                                   | 4.5 kB     00:00     &lt;br /&gt;
updates/primary_db                                                        | 867 kB     00:00     &lt;br /&gt;
Setting up Install Process&lt;br /&gt;
Resolving Dependencies&lt;br /&gt;
--&amp;gt; Running transaction check&lt;br /&gt;
---&amp;gt; Package dkms.noarch 0:2.1.0.1-1.fc12 set to be updated&lt;br /&gt;
--&amp;gt; Processing Dependency: kernel-devel for package: dkms-2.1.0.1-1.fc12.noarch&lt;br /&gt;
---&amp;gt; Package gcc.x86_64 0:4.4.4-2.fc13 set to be updated&lt;br /&gt;
--&amp;gt; Processing Dependency: cpp = 4.4.4-2.fc13 for package: gcc-4.4.4-2.fc13.x86_64&lt;br /&gt;
--&amp;gt; Processing Dependency: cloog-ppl &amp;gt;= 0.15 for package: gcc-4.4.4-2.fc13.x86_64&lt;br /&gt;
--&amp;gt; Processing Dependency: glibc-devel &amp;gt;= 2.2.90-12 for package: gcc-4.4.4-2.fc13.x86_64&lt;br /&gt;
--&amp;gt; Running transaction check&lt;br /&gt;
---&amp;gt; Package cloog-ppl.x86_64 0:0.15.7-1.fc12 set to be updated&lt;br /&gt;
--&amp;gt; Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.fc12.x86_64&lt;br /&gt;
--&amp;gt; Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.fc12.x86_64&lt;br /&gt;
---&amp;gt; Package cpp.x86_64 0:4.4.4-2.fc13 set to be updated&lt;br /&gt;
---&amp;gt; Package glibc-devel.x86_64 0:2.12-1 set to be updated&lt;br /&gt;
--&amp;gt; Processing Dependency: glibc-headers = 2.12-1 for package: glibc-devel-2.12-1.x86_64&lt;br /&gt;
--&amp;gt; Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.x86_64&lt;br /&gt;
---&amp;gt; Package kernel-devel.x86_64 0:2.6.33.4-95.fc13 set to be installed&lt;br /&gt;
--&amp;gt; Running transaction check&lt;br /&gt;
---&amp;gt; Package glibc-headers.x86_64 0:2.12-1 set to be updated&lt;br /&gt;
--&amp;gt; Processing Dependency: kernel-headers &amp;gt;= 2.2.1 for package: glibc-headers-2.12-1.x86_64&lt;br /&gt;
--&amp;gt; Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.x86_64&lt;br /&gt;
---&amp;gt; Package ppl.x86_64 0:0.10.2-10.fc12 set to be updated&lt;br /&gt;
--&amp;gt; Running transaction check&lt;br /&gt;
---&amp;gt; Package kernel-headers.x86_64 0:2.6.33.4-95.fc13 set to be updated&lt;br /&gt;
--&amp;gt; Finished Dependency Resolution&lt;br /&gt;
&lt;br /&gt;
Dependencies Resolved&lt;br /&gt;
&lt;br /&gt;
=================================================================================================&lt;br /&gt;
 Package                  Arch             Version                       Repository         Size&lt;br /&gt;
=================================================================================================&lt;br /&gt;
Installing:&lt;br /&gt;
 dkms                     noarch           2.1.0.1-1.fc12                fedora             95 k&lt;br /&gt;
 gcc                      x86_64           4.4.4-2.fc13                  fedora             10 M&lt;br /&gt;
Installing for dependencies:&lt;br /&gt;
 cloog-ppl                x86_64           0.15.7-1.fc12                 fedora             82 k&lt;br /&gt;
 cpp                      x86_64           4.4.4-2.fc13                  fedora            3.7 M&lt;br /&gt;
 glibc-devel              x86_64           2.12-1                        fedora            959 k&lt;br /&gt;
 glibc-headers            x86_64           2.12-1                        fedora            588 k&lt;br /&gt;
 kernel-devel             x86_64           2.6.33.4-95.fc13              updates           6.3 M&lt;br /&gt;
 kernel-headers           x86_64           2.6.33.4-95.fc13              updates           761 k&lt;br /&gt;
 ppl                      x86_64           0.10.2-10.fc12                fedora            1.1 M&lt;br /&gt;
&lt;br /&gt;
Transaction Summary&lt;br /&gt;
=================================================================================================&lt;br /&gt;
Install       9 Package(s)&lt;br /&gt;
Upgrade       0 Package(s)&lt;br /&gt;
&lt;br /&gt;
Total download size: 24 M&lt;br /&gt;
Installed size: 60 M&lt;br /&gt;
Is this ok [y/N]: y&lt;br /&gt;
Downloading Packages:&lt;br /&gt;
Setting up and reading Presto delta metadata&lt;br /&gt;
fedora/prestodelta                                                        |  419 B     00:00     &lt;br /&gt;
updates/prestodelta                                                       | 4.6 kB     00:00     &lt;br /&gt;
Processing delta metadata&lt;br /&gt;
Package(s) data still to download: 24 M&lt;br /&gt;
(1/9): cloog-ppl-0.15.7-1.fc12.x86_64.rpm                                 |  82 kB     00:00     &lt;br /&gt;
(2/9): cpp-4.4.4-2.fc13.x86_64.rpm                                        | 3.7 MB     00:06     &lt;br /&gt;
(3/9): dkms-2.1.0.1-1.fc12.noarch.rpm                                     |  95 kB     00:00     &lt;br /&gt;
(4/9): gcc-4.4.4-2.fc13.x86_64.rpm                                        |  10 MB     00:17     &lt;br /&gt;
(5/9): glibc-devel-2.12-1.x86_64.rpm                                      | 959 kB     00:01     &lt;br /&gt;
(6/9): glibc-headers-2.12-1.x86_64.rpm                                    | 588 kB     00:00     &lt;br /&gt;
(7/9): kernel-devel-2.6.33.4-95.fc13.x86_64.rpm                           | 6.3 MB     00:02     &lt;br /&gt;
(8/9): kernel-headers-2.6.33.4-95.fc13.x86_64.rpm                         | 761 kB     00:00     &lt;br /&gt;
(9/9): ppl-0.10.2-10.fc12.x86_64.rpm                                      | 1.1 MB     00:02     &lt;br /&gt;
-------------------------------------------------------------------------------------------------&lt;br /&gt;
Total                                                            718 kB/s |  24 MB     00:33     &lt;br /&gt;
Running rpm_check_debug&lt;br /&gt;
Running Transaction Test&lt;br /&gt;
Transaction Test Succeeded&lt;br /&gt;
Running Transaction&lt;br /&gt;
  Installing     : cpp-4.4.4-2.fc13.x86_64                                                   1/9 &lt;br /&gt;
  Installing     : ppl-0.10.2-10.fc12.x86_64                                                 2/9 &lt;br /&gt;
  Installing     : cloog-ppl-0.15.7-1.fc12.x86_64                                            3/9 &lt;br /&gt;
  Installing     : kernel-devel-2.6.33.4-95.fc13.x86_64                                      4/9 &lt;br /&gt;
  Installing     : kernel-headers-2.6.33.4-95.fc13.x86_64                                    5/9 &lt;br /&gt;
  Installing     : glibc-headers-2.12-1.x86_64                                               6/9 &lt;br /&gt;
  Installing     : glibc-devel-2.12-1.x86_64                                                 7/9 &lt;br /&gt;
  Installing     : gcc-4.4.4-2.fc13.x86_64                                                   8/9 &lt;br /&gt;
  Installing     : dkms-2.1.0.1-1.fc12.noarch                                                9/9 &lt;br /&gt;
&lt;br /&gt;
Installed:&lt;br /&gt;
  dkms.noarch 0:2.1.0.1-1.fc12                     gcc.x86_64 0:4.4.4-2.fc13                    &lt;br /&gt;
&lt;br /&gt;
Dependency Installed:&lt;br /&gt;
  cloog-ppl.x86_64 0:0.15.7-1.fc12               cpp.x86_64 0:4.4.4-2.fc13                       &lt;br /&gt;
  glibc-devel.x86_64 0:2.12-1                    glibc-headers.x86_64 0:2.12-1                   &lt;br /&gt;
  kernel-devel.x86_64 0:2.6.33.4-95.fc13         kernel-headers.x86_64 0:2.6.33.4-95.fc13        &lt;br /&gt;
  ppl.x86_64 0:0.10.2-10.fc12                   &lt;br /&gt;
&lt;br /&gt;
Complete!&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# cd /media/VBOXADDITIONS_3.2.0_61806/&lt;br /&gt;
# ./VBoxLinuxAdditions-amd64.run &lt;br /&gt;
#* (This fails currently. More testing and debugging needed.)&lt;br /&gt;
#* If upgrading from one VirtualBox version to another, start with fresh virtual disks and machines built with the new versions to avoid breakage.&lt;br /&gt;
# reboot&lt;br /&gt;
{{Show|&amp;lt;Terminal log:&amp;gt; &lt;br /&gt;
|&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@localhost ~]# cd /media/VBOXADDITIONS_3.2.0_61806/&lt;br /&gt;
[root@localhost VBOXADDITIONS_3.2.0_61806]# ./VBoxLinuxAdditions-amd64.run &lt;br /&gt;
Verifying archive integrity... All good.&lt;br /&gt;
Uncompressing VirtualBox 3.2.0 Guest Additions for Linux........&lt;br /&gt;
VirtualBox Guest Additions installer&lt;br /&gt;
Building the VirtualBox Guest Additions kernel modules     [FAILED]&lt;br /&gt;
(Your system does not seem to be set up to build kernel modules.&lt;br /&gt;
Look at /var/log/vboxadd-install.log to find out what went wrong)&lt;br /&gt;
Installing the Window System drivers&lt;br /&gt;
Installing X.Org Server 1.8 modules                        [  OK  ]&lt;br /&gt;
Setting up the Window System to use the Guest Additions    [  OK  ]&lt;br /&gt;
You may need to restart the hal service and the Window System (or just restart&lt;br /&gt;
the guest system) to enable the Guest Additions.&lt;br /&gt;
&lt;br /&gt;
Installing graphics libraries and desktop services componen[  OK  ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Note that you will need to have the same kernel version as you have kernel-headers and kernel-devel&lt;br /&gt;
* I recommend:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# yum update kernel&lt;br /&gt;
# yum install kernel-headers kernel-devel dkms gcc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With the guest additions successfully installed, it should &#039;&#039;&#039;Not be necessary to configure the screen (below)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
===Configure Screen===&lt;br /&gt;
# Edit /etc/X11/xorg.conf to match the following section:&lt;br /&gt;
#* 832x624 - matches default XO display proportions&lt;br /&gt;
#* 1200x900 - XO reflective resolution&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# VirtualBox generated configuration file&lt;br /&gt;
# based on /etc/X11/xorg.conf.&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
  Identifier   &amp;quot;Monitor[0]&amp;quot;&lt;br /&gt;
  ModelName    &amp;quot;VirtualBox Virtual Output&amp;quot;&lt;br /&gt;
  VendorName   &amp;quot;Sun Microsystems Inc&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  BoardName    &amp;quot;VirtualBox Graphics&amp;quot;&lt;br /&gt;
  Driver       &amp;quot;vboxvideo&amp;quot;&lt;br /&gt;
  Identifier   &amp;quot;Device[0]&amp;quot;&lt;br /&gt;
  VendorName   &amp;quot;Sun Microsystems Inc&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
  Identifier   &amp;quot;Screen[0]&amp;quot;&lt;br /&gt;
  Device       &amp;quot;Device[0]&amp;quot;&lt;br /&gt;
  Monitor      &amp;quot;Monitor[0]&amp;quot;&lt;br /&gt;
  DefaultDepth 16&lt;br /&gt;
  SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
    Depth      16&lt;br /&gt;
    Modes      &amp;quot;832x624&amp;quot; &amp;quot;1200x900&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot;&lt;br /&gt;
  EndSubSection&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Clear user data==&lt;br /&gt;
Finally,&lt;br /&gt;
# Open Terminal&lt;br /&gt;
# Terminal&lt;br /&gt;
# rm -rf ~/.sugar (if distributing image)&lt;br /&gt;
# su -&lt;br /&gt;
# shutdown -h now&lt;br /&gt;
# Now you can share the VDI file.&lt;br /&gt;
&lt;br /&gt;
==Backup discs==&lt;br /&gt;
It would be wise to maintain a clone of your virtual disk image to restart if the working copy is damaged:&lt;br /&gt;
# From host command line (Windows cmd, or Linux terminal)  See VirtualBox Help section 8.14.&lt;br /&gt;
#* VBoxManage clonehd         &amp;lt;uuid&amp;gt;|&amp;lt;filename&amp;gt; &amp;lt;outputfile&amp;gt; [-format VDI|VMDK|VHD|RAW|&amp;lt;other&amp;gt;] [-remember]&lt;br /&gt;
# Reclone any virtual hard disks you would like to archive.&lt;br /&gt;
&lt;br /&gt;
==SSH connections==&lt;br /&gt;
To enable SSH communications, we need to permit no passwords in the ssh daemon configuration:&lt;br /&gt;
&lt;br /&gt;
# in Terminal,&lt;br /&gt;
# su -&lt;br /&gt;
# vi /etc/ssh/sshd_config&lt;br /&gt;
## [add] PermitEmptyPasswords yes&lt;br /&gt;
## :wq &amp;lt;Enter&amp;gt;&lt;br /&gt;
# service sshd restart&lt;/div&gt;</summary>
		<author><name>Carl Fischer</name></author>
	</entry>
</feed>