VirtualBox/Preparing a disk image: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>{{GoogleTrans-en}}{{TOCright}}</noinclude> | |||
Instructions for preparing a VirtualBox disk image from a SoaS iso image file. | Instructions for preparing a VirtualBox disk image from a SoaS iso image file. | ||
:(Taken from Dave Bauer's posting at http://schools.sugarlabs.org/mod/forum/discuss.php?d=27.) | :(Taken from Dave Bauer's posting at http://schools.sugarlabs.org/mod/forum/discuss.php?d=27.) | ||
==Installing SoaS iso image== | |||
# Create a new VM. | # Create a new VM. | ||
# Choose Linux->Fedora | # Choose Linux->Fedora | ||
| Line 28: | Line 30: | ||
#* 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't use this option on an upgrade. | #* 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't use this option on an upgrade. | ||
# shutdown -h now | # shutdown -h now | ||
==Installing VirtualBox Guest Additions== | |||
# Unmount CDROM in Vbox config | # Unmount CDROM in Vbox config | ||
# Boot VM | # Boot VM | ||
| Line 55: | Line 58: | ||
#* If upgrading from one VirtualBox version to another, start with fresh virtual disks and machines built with the new versions to avoid breakage. | #* If upgrading from one VirtualBox version to another, start with fresh virtual disks and machines built with the new versions to avoid breakage. | ||
# reboot | # reboot | ||
===Configure Screen=== | |||
# Edit /etc/X11/xorg.conf to match the following section: (This is for 1200x900 (XO) and other resolutions.) | # Edit /etc/X11/xorg.conf to match the following section: (This is for 1200x900 (XO) and other resolutions.) | ||
# Default xorg.conf for Xorg 1.5+ without PCI_TXT_IDS_PATH enabled. | # Default xorg.conf for Xorg 1.5+ without PCI_TXT_IDS_PATH enabled. | ||
| Line 78: | Line 82: | ||
EndSubSection | EndSubSection | ||
EndSection | EndSection | ||
==Clear user data== | |||
Finally, | Finally, | ||
# Open Terminal | # Open Terminal | ||
| Line 87: | Line 91: | ||
# Now you can share the VDI file. | # Now you can share the VDI file. | ||
==Backup discs== | |||
It would be wise to maintain a clone of your virtual disk image to restart if the working copy is damaged: | It would be wise to maintain a clone of your virtual disk image to restart if the working copy is damaged: | ||
# From host command line (Windows cmd, or Linux terminal) See VirtualBox Help section 8.14. | # From host command line (Windows cmd, or Linux terminal) See VirtualBox Help section 8.14. | ||
| Line 93: | Line 97: | ||
# Reclone any virtual hard disks you would like to archive. | # Reclone any virtual hard disks you would like to archive. | ||
==SSH connections== | |||
To enable SSH communications, we need to open the firewall for SSH, permit no password for the ssh deamon, and start the sshd service: | To enable SSH communications, we need to open the firewall for SSH, permit no password for the ssh deamon, and start the sshd service: | ||