VirtualBox/Preparing a disk image: Difference between revisions

/dev/live not set in F14 RC1
incorporate full, uncompressed image alternate
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{TOCright}}</noinclude>
<noinclude></noinclude>
 
==LiveOS image==
Instructions for preparing a VirtualBox disk image from a SoaS iso image file.
Below are instructions for preparing a VirtualBox disk image from a SoaS iso image file.  The process parallels the compressed [[LiveOS image]] used on Live CD and Live USB installations.
* (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.)
* Updated 16 August 2010 with [http://www.virtualbox.org/wiki/Downloads VirtualBox 3.2.8] and 32-bit Fedora.
* Updated 16 August 2010 with [http://www.virtualbox.org/wiki/Downloads VirtualBox 3.2.8] and 32-bit Fedora.
==Installing SoaS .iso image==
 
 
('''Note:''' The SoaS .iso distribution also contains an installer for full, uncompressed, hard disc images of Fedora with the Sugar graphical interface. See [[#Uncompressed, hard disc image|Uncompressed, hard disc image]] below for instructions.)
===Installing SoaS .iso image===
# Create a new VM, choose a name, such as Mirabelle
# Create a new VM, choose a name, such as Mirabelle
# Choose Linux for the Operating System and Version Fedora (use 64 bit, if available)
# Choose Linux for the Operating System and Version Fedora (use 64 bit, if available)
Line 314: Line 317:
Thanks! for this information.  update kernel consumed 203280/1048576 of the overlay and install kernel-headers kernel-devel dkms gcc raised consumption to 1047112/1048576 leading to failure of the ./VBoxLinuxAdditions-x86.run  -->
Thanks! for this information.  update kernel consumed 203280/1048576 of the overlay and install kernel-headers kernel-devel dkms gcc raised consumption to 1047112/1048576 leading to failure of the ./VBoxLinuxAdditions-x86.run  -->


===Configure Screen===
==Configure Screen==
If you want to match the 16 bpp XO screen and a particular display size, you may
If you want to match the 16 bpp XO screen and a particular display size, you may
# Edit /etc/X11/xorg.conf to match the following section:
# Edit /etc/X11/xorg.conf to match the following section:
Line 364: Line 367:


==SSH connections==
==SSH connections==
To enable SSH communications, we need to permit no passwords in the ssh daemon configuration:
To enable SSH communications, we need to permit no passwords (to match the default Sugar configuration) in the ssh daemon configuration:


# in Terminal,
# in Terminal,
Line 372: Line 375:
## :wq <Enter>
## :wq <Enter>
# service sshd restart
# service sshd restart
One may also supply a password for the root user:
# su -
# passwd
#: Changing password for user root.<br>New password:<br>Retype new password:<br>passwd: all authentication tokens updated successfully.
==Uncompressed, hard disc image==
:'''Start VirtualBox (version 3.2.10 used here).'''
#Click NEW  "Welcome to New Virtual Machine Wizard"
#<Next> fill out: Name (soas-i386-20101025)  ; Operating system(Linux); Version (Fedora)
#<Next> Base Memory Size
#<Next> Create new hard disk
#<Next> Storage Type (Dynamically expanding storage)
#<Next> Size (8.00 GB)
#<Finish>
:'''Back on main Oracle VM VirtualBox screen'''
#Settings/Storage (CD Image0)CD/DVD Device: (Select your CD Host Drive-(sr0) with CD inserted
#<OK>
:'''Start'''
::SoaS will boot and run Sugar SoaS
::Enter Name color
::Enter Password ONE TIME then cancel next 6 times
::Start Sugar-Terminal
su
liveinst
:(Anaconda starts) Do normal HD install: Basic Storage Devices/ Reinitalize all/Host/TZ/Root Password/Use all Space/ Write Changes to Disk/ Install works to Completion.
:: "Congratulations, your Fedora Installation is complete" <Close> Quit sugar-terminal; Shutdown.
:'''Back on main Oracle VM VirtualBox screen'''
===Firstboot of new Virtual Machine===
::Settings/Storage; Host Drive: change to empty (You can also change boot order in Systems, if needed.)
:'''Start''' HD goes to firstboot (Answer questions); then to gdm login, then to Sugar. Click to Change Color_____ (hit <Back> to change name)
===Export your Appliance===
:File/Export Appliance (select soas-i386-20101025)<next> fill in Settings if you want to; <next> Export settings <Finish>
'''Congratulations, you have just created an importable/exportable appliance.'''