Difference between revisions of "VMware"

From Sugar Labs
Jump to navigation Jump to search
(→‎change networking: wireless network configuration)
(first pass)
Line 1: Line 1:
{{Stub}}
 
 
{{TOCright}}
 
{{TOCright}}
[[wikipedia:VMware|VMware]] (Workstation, Player, Server) is a commercial virtualization system that emulates hardware resources allowing one computer to host a number of x86 architecture-compatible operating systems. The Player and Server versions are distributed free of charge (gratis). It runs on either Win32 or Linux host machines, allowing you to run OLPC images within the virtual machine. A Mac version is also available, VMWare Fusion, however this is not provided free of charge. A free 30-day evaluation is available, and free licenses are [http://www.vmware.com/partners/academic/ available] for academic instruction and research use.
+
[[wikipedia:VMware|VMware]] (Workstation, Player, Server) is a commercial virtualization system that emulates hardware resources allowing one computer to host a number of x86 architecture-compatible operating systems. The Player and Server versions are distributed free of charge (gratis). It runs on either Win32 or Linux host machines, allowing one to run Sugar images within the virtual machine. A Mac version is also available, VMWare Fusion, however this is not provided free of charge. A free 30-day evaluation is available, and free licenses are [http://www.vmware.com/partners/academic/ available] for academic instruction and research use.
  
===How to Make Emulation Files for running SUGAR Desktop===
+
Software applications, such as the Sugar platform, may be deployed as VMware Virtual Appliances, which are  one or more virtual machines pre-built, packaged, installed, updated, maintained, and managed as a unit.
==Appliances from a Live .iso file (No Persistence)==
 
*Make new Appliance in VMWorkstation with (minimal) hard disk
 
*set XXX- live-.iso as CD in VMworkstation with a 0.1GB Hard disk.
 
* boot and run VMworkstation, shut down.
 
*copy contents of new Appliance in the VMWARE directory to USB
 
*copyXXX- live.iso file to same USB
 
*Open this copied Appliance on USB with VMWorkstation and edit location of live.iso file to point to one on USB stick, then close it.
 
*start VMPlayer and open this Appliance on USB. Or any other VMPlayer on any PC
 
this appliance is just like a boot CD it has no persistence.
 
(you are playing the .iso image with VMPlayer) file size is only slightly larger than the .iso file
 
===Boot this Appliance from a USB Boot stick (see below)===
 
*can be opened on any PC without changing or accessing it's hard disk
 
*Use to run Soas .iso files on PC's without CD but with USB
 
*Run Sugar on unbootable PC's using a VMPlayer application
 
  
==Appliances with Persistence==
+
==Building a virtual appliance for the Sugar platform==
*VMWorkstation 6.5.2 with Fedora-11-Preview-i386-netinst.iso  
+
===Appliances from a live.iso file (No Persistence)===
*Settings for VMWorkstation: (1)create new virtual machine(2)Typical(3)Installer Disk image file (iso):(Fedora-11-Preview-i386-netinst.iso)
+
* Make a new Appliance in VMworkstation with (minimal) hard disk
(4)Linux(5)other linux 2.6xx kernel 8Gib disk(6)Max Disk Size (GB) 8.0(7)Split disk into 2GB files(8)512 memory.
+
* Set XXX-live.iso as CD in VMworkstation with a 0.1 GB Hard disk.
*net install with network connection
+
* Boot and run VMworkstation, then shut down.
*use entire disk
+
* Copy contents of the new Appliance in the VMware directory a [[wikipedia:USB flash drive|USB flash drive]].
*deselect Gnome Desktop
+
* Copy XXX-live.iso file to the same USB drive.
*customize now
+
* Open this copied Appliance on the USB drive with VMWorkstation, and edit the location of the live.iso file to point to one on the USB stick, then close it.
*select Sugar Desktop (Only selection entered)
+
* Start VMplayer and open this Appliance from the USB drive, or ''any other VMplayer on any PC''.
*Set root password(sugarroot?) and time zone
+
*: this appliance is just like a boot CD—it has no persistence—the system image is treated as a read-only file. (You are running the .iso image with VMPlayer.) The appliance file size is only slightly larger than the .iso file.
*when finished (about 45 min on cable)  
+
====Boot this Appliance from a USB boot drive/stick (see below)====
*Reboot set user password(sugaruser?) Shut down.
+
* The system can be run on any PC without changing or accessing its primary hard disk.
*Clone and save clone on Desktop and use to load on 4GiB SD or USB or make DVD (3.2Gib files)
+
* Use it to run Soas .iso images on PCs lacking a CD-ROM reader but with a USB port.
(#)see note below to remove sugar user info and make ready for first user login.
+
* Run Sugar on unbootable PC's using a VMPlayer application
Original Passwords for root and user(sugarroot/sugaruser?)entered during install remain and are needed for Login & Administration
+
 
This needs to be done so copies will have different identities.
+
===Appliances with Persistence===
====alternatives====
+
* VMWorkstation 6.5.2 with Fedora-11-Preview-i386-netinst.iso (need link)
 +
* Settings for VMWorkstation:
 +
*# Create a new virtual machine
 +
*# Typical
 +
*# Installer disk image file:(Fedora-11-Preview-i386-netinst.iso)
 +
*# Linux
 +
*# Other linux 2.6xx kernel 8-GiB disk
 +
*# Max Disk Size (GB) 8.0
 +
*# Split disk into 2-GiB files
 +
*# 512 kB memory.
 +
* Net install with network connection
 +
* Use entire disk
 +
* De-select Gnome Desktop
 +
* Customize now
 +
* Select Sugar Desktop (Only selection entered)
 +
* Set a root password (sugarroot?) and time zone
 +
* When finished (about 45 min on ??-kbyte/s cable)  
 +
* Reboot, set user password (sugaruser?), shut down.
 +
* Clone and save clone on Desktop and use to load on 4-GiB SD or USB or make DVD (3.2-Gib files)
 +
*: See note below to remove the Sugar user information and make the image ready for a new first user login. Original passwords for root and user (sugarroot/sugaruser?) entered during the install will remain and are needed for login & administration. This is required so that copies will have different identities.
 +
 
 +
:Method to remove Sugar user information (from Dave Bauer [[VirtualBox/Preparing_a_disk_image]]).
 +
:# Open Terminal
 +
:# Terminal
 +
:# rm -rf ~/.sugar (if distributing image)
 +
:# su -
 +
:# shutdown -h now
 +
===Alternatives===
 
* Fedora 11 Sugar Spin :http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent see Fedora 11 below
 
* Fedora 11 Sugar Spin :http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent see Fedora 11 below
 
* SUSE Sugar Spin:(see section below)
 
* SUSE Sugar Spin:(see section below)
 
===Comments===
 
===Comments===
*Run on FREE VMPlayer loaded on any PC with 512 Memory (requires 256 for VMplayer)  
+
* Run on free VMplayer loaded on any PC with 512 kB of memory (256 kB required for VMplayer).
*ADVANTAGE: No Need to boot USB Stick on problem machines  
+
* ADVANTAGE: No need to boot USB stick on problem machines.
*Same machine can be used by a succession of students with their own copy of sugar
+
* Same machine can be used by a succession of students with their own copy of Sugar.
*Students can take USB/SD home and run on their own PC's
+
* Students can take USB/SD drives home and run them on their own PCs.
*Disadvantage: Have to install VMPlayer on PC's
+
* Disadvantage: Have to install VMplayer on PCs
2 emulations on different PC's each running NAT on same network seem to cause "collisions" in jabber (Neighborhood View gets depopulated on both ???)  
+
:Two virtual machines on different PCs, each running NAT on same network, seem to cause "collisions" in jabber (Neighborhood View gets depopulated on both ???).  
+
* Logon screen allows user to  switch session types:
(#) Fix From davb [[VirtualBox/Preparing_a_disk_image]]
+
** KDE
1. Open Terminal
+
** Sugar
2. Terminal
+
** Failsafe
3. rm -rf ~/.sugar (if distributing image)
 
4. su -
 
5. shutdown -h now
 
 
 
 
Logon screen allows user to  switch session types:
 
*KDE *Sugar *Failsafe
 
  
==Making VMPlayer using a Single 4 GB USB Boot Stick and an Appliance on a second 4Gb Stick==
+
==Making VMPlayer using a Single 4-GiB USB boot stick and an Appliance on a second 4-GiB stick==
===On one 8 GB stick with 2 partitions===
+
===On one 8-GiB stick with 2 partitions===
Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8 GB USB Stick with 2 Partitions to Run a VMPlayer Appliance on the Same Stick
+
Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8-GiB USB stick with 2 partitions to run a VMplayer Appliance on the Same Stick
VMPlayer WILL INSTALL on Ubuntu or Fedora 10 NOT ON F11 at this time.
+
VMplayer WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time.
 
METHOD:
 
METHOD:
*In PC running Ubuntu 9.04 (or running in VMworkstation6.5.2.)
+
* In PC running Ubuntu 9.04 (or running in VMworkstation6.5.2.)
  
 
===Start Partition Manager===
 
===Start Partition Manager===
*delete existing partitions on USB [sdb?]
+
* Delete existing partitions on USB [/dev/sdb?]
(BE CAREFUL TO BE LOOKING AT USB and not your Hard Disk)
+
*: (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.)
*Create a fat16 2 GB Primary Partition set boot flag and label it Ubuntu
+
* Create a FAT16 2-GiB Primary Partition, set boot flag, and label it Ubuntu
*exit partition manager
+
* Exit partition manager
*Run USB Startup Disk Creator
+
* Run USB Startup Disk Creator
*create USB select: /dev/sdb1 "Ubuntu"
+
* Create USB, select: /dev/sdb1 "Ubuntu"
*Select "Other" and find Ubuntu 9.04.iso  (not live install) previously downloaded to Desktop
+
* Select "Other" and find Ubuntu 9.04.iso  (not live install) previously downloaded to Desktop
*create live usb on first partition.
+
* Create live usb on first partition.
*start partition manager again
+
* Start partition manager again
(BE CAREFUL TO BE LOOKING AT USB and not your Hard Disk)
+
*: (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.)
*Create a fat32 primary partition with the remaining unformatted space on the USB, set boot flag and label VM_Apps
+
* Create a FAT32 primary partition with the remaining, unformatted space on the USB drive, set boot flag, and label VM_Apps
*exit Partition Manager
+
* Exit Partition Manager
 
===Remove and reinstall USB stick===
 
===Remove and reinstall USB stick===
*Two USB icons will appear  
+
* Two USB icons will appear  
*cut and paste previously obtained VMPlayer Appliance to VM_Apps
+
* Cut and paste previously obtained VMplayer Appliance to VM_Apps
 
===ReBoot PC with USB Stick===
 
===ReBoot PC with USB Stick===
*Start Firefox and download VMPlayer (free)  Linux xxxx.bundle
+
* Start Firefox and download VMplayer (free)  Linux xxxx.bundle
*Place .bundle file in /tmp
+
* Place .bundle file in /tmp
*su - command in /tmp
+
* su - command in /tmp
*enter password for root
+
* Enter password for root
Install:( bundle in /tmp( ./ command as administrator. )
+
* Install bundle in /tmp ( ./ command as administrator. )
===Run VMPlayer Program===  
+
===Run VMplayer Program===  
*Start VMPlayer
+
* Start VMplayer
*chooseVM_apps Icon and open VM Appliance file
+
* Choose VM_apps Icon and open VM Appliance file
*choose Gnome or SUGAR as login  enter password
+
* Choose Gnome or Sugar as login, enter password
  Initial Password sugar = sugaruser (change user name and password in live user)
+
*: Initial Password for Sugar = sugaruser (change user name and password in live user)
                    root=sugarroot         
+
*: Passwoord for root = sugarroot         
Have Fun  (Fedora 11 0.93 0.84-2)
+
:Have Fun  (Fedora 11 0.93 0.84-2)
*Thus one 8 GB USB stick loaded with Ubuntu 9.04 and VMPlayer plus the Appliance, a Student can
+
*Thus, with one 8-GiB USB stick loaded with Ubuntu 9.04 and VMplayer, plus the Appliance, a Student can carry the OS and a full copy of GNOME Desktop and Sugar on a single USB stick.
Carry the OS and a full copy of GNOME Desktop and SUGAR on a single USB Stick
+
* It is complicated to make, but simple to use and it works.
*It is complicated to make but simple to use and it works.
 
  
==The Appliance can be loaded on a separate USB Stick==
+
==The Appliance can be loaded on a separate USB stick==
2 USB/SD sticks (2GB Boot and 4GB or larger for appliance)   
+
Two USB/SD sticks (2 GiB Boot and 4 GiB or larger for the appliance)   
 
====This allows VMPlayer to be used by multiple students without rebooting the PC====
 
====This allows VMPlayer to be used by multiple students without rebooting the PC====
  
 
==Windows XP SP2==
 
==Windows XP SP2==
Loads and runs emulation files in windows XP SP2 {Dell 2350 Tower}
+
Loads and runs VMware virtual machine in Windows XP SP2 {tested on a Dell 2350 Tower}
Appliance(Emulation) transfered by DVD and loaded on Hard Disk
+
 
 +
Appliance (packaged virtual machine) transfered by DVD and loaded on Hard Disk.
  
 
== Ubuntu 8.04 and 9.04 ==
 
== Ubuntu 8.04 and 9.04 ==
VMworkstation 6.5.2 can make emulation files in Ubuntu  
+
VMworkstation 6.5.2 can make virtual machine files in Ubuntu. VMplayer (available on line) will run these Appliances. The Appliance can be distributed then by copies on DVD to 4-GiB SD or USB drives or from future downloads from a Sugar Labs or other server.
VMPlayer, (available on line) will run these Appliances
 
the Appliance can be distributed them by copies on DVD,
 
4 Gib SD, 4Gib USB  
 
or future downloads from sugarlabs server?
 
  
 
==Fedora 11==
 
==Fedora 11==
VMPlayer will not load in Fedora 11 beta or Fedora Preview
+
VMplayer will not load in Fedora 11 beta or Fedora Preview loaded with shell command; One gets "Unable to modify kernel" error and quits.
loaded with sh command; Gets Unable to modify kernel error and quits  
 
 
   
 
   
 
=== Spin of SUGAR F11 preview live===
 
=== Spin of SUGAR F11 preview live===
http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent
+
http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent
It works well as a boot CD or as a 4GB Appliance for VMPlayer
+
* It works well as a boot CD or as a 4-GiB Appliance for VMplayer.
It upgrades in VMPlayer to F11 (Leonidas) after 167 files +45 updates as of 5/30/2009 .
+
* It upgrades in VMplayer to F11 (Leonidas) after 167 files +45 updates as of 5/30/2009.
it contains 0.84.2 sugar and Xfce 4 Desktop with a KDE switcher. It installs nicely in the normal manner.
+
* It contains version 0.84.2 Sugar and Xfce 4 Desktop with a KDE switcher.
 +
* It installs nicely in the normal manner.
  
*See above procedure to make a VMPlayer USB Boot Stick to run the
+
* See the procedure above to make a VMplayer on a USB boot stick run the latest version of the Sugar platform in Fedora 11 as an Appliance.
latest version of SUGAR DESKTOP in Fedora 11 as an Appliance.
 
  
 
==Fedora 10==
 
==Fedora 10==
VMPlayer can be loaded in Fedora 10 and used to run a VMPlayer Appliance
+
* VMplayer can be loaded in Fedora 10 and used to run a VMplayer Appliance of Sugar platform based on Fedora 11.
of SUGAR DESKTOP based on Fedora 11
+
* The Sugar platform included in Fedora 10 is not the current version.
The Sugar Desktop included in Fedora 10 is not the current version
+
 
as it has not been updated.
 
 
==openSUSE==
 
==openSUSE==
===SUSE Sugar Page: http://en.opensuse.org/Sugar===
+
===SUSE Sugar page: http://en.opensuse.org/Sugar===
see: nubae and cyberorg on #irc  #sugar #opensuse-edu for details
+
:(See: nubae and cyberorg on #irc  #sugar #opensuse-edu for details.)
  
SUSE is Building and hosting appliances at these sites for Downloading
+
SUSE is building and hosting appliances at these sites for downloading.
===live cd with a very large number (~50) activities===
+
 
http://download.opensuse.org/repositories/Education/images/iso/
+
===live CD with a very large number (~50) of activities===
http://download.opensuse.org/repositories/Education/images/iso/openSUSE-Sugar-live-unstable.i686-0.0.4-Build31.1.iso  
+
* http://download.opensuse.org/repositories/Education/images/iso/
(latest one)  
+
* http://download.opensuse.org/repositories/Education/images/iso/openSUSE-Sugar-live-unstable.i686-0.0.4-Build31.1.iso (latest one)  
=====installs to HD=====
+
=====installs to Hard Disc=====
sugar terminal:
+
Sugar terminal:
su -
+
:<code>su -
yast2 live-installer
+
: yast2 live-installer
 +
</code>
  
 
====add user====
 
====add user====
yast2 users
+
:<code> yast2 users
 +
</code>
  
 
====change networking====
 
====change networking====
yast2 lan
+
:<code> yast2 lan
 +
</code>
 
====wireless networking====
 
====wireless networking====
yast2 lan
+
:<code> yast2 lan
 +
</code>
 
* latest USB .raw file contains wireless drivers.
 
* latest USB .raw file contains wireless drivers.
(EeePC900 booted from 2GB SD card works on apple airport extreme after this was done.)
+
: (EeePC900 booted from 2-GiB SD card works on Apple Airport extreme after this was done.)
* need to switch networking out of network manager; edit and add wireless wlan wireless wlan0; and enter info on encrypted or open and if WEP SSID plus WEP Key information.
+
* need to switch networking out of network manager; edit and add wireless wlan wireless wlan0; and enter info on encrypted or open, and if WEP, SSID plus WEP Key information.
 
* select the new wlan0, then select "manage with network manager".
 
* select the new wlan0, then select "manage with network manager".
 
* Reboot USB.
 
* Reboot USB.
* Go to drop down box on network and delete network history. be sure to have radio box checked
+
* Go to drop down box on network and delete network history. Be sure to have radio box checked.
 
* Reboot again, On F1 neighborhood should see circles for wireless network connections.  
 
* Reboot again, On F1 neighborhood should see circles for wireless network connections.  
 
* Mouse over the one you want to use and enter passwords if requested on drop down box
 
* Mouse over the one you want to use and enter passwords if requested on drop down box
This is a preliminary writeup please edit if you find a faster way  
+
: This is a preliminary writeup please edit if you find a faster way.
Have Fun
+
 
 +
: Have Fun
 +
 
 +
===Prebuilt VMplayer-VirtualBox Sugar Appliance===
 +
http://download.opensuse.org/repositories/Education/images/
 +
* Run on VMplayer or VirtualBox after decompressing.
  
===Prebuilt VMPlayer-Virtualbox SUGAR APPPLICATION===
 
http://download.opensuse.org/repositories/Education/images/
 
*Run on VMplayer or Virtualbox after decompressing.
 
 
===Image USB/SD Drives===
 
===Image USB/SD Drives===
*details how to use uncompresses raw file: http://en.opensuse.org/Disc_image_howtos
+
* Details on how to use uncompresses raw file: http://en.opensuse.org/Disc_image_howtos
Unmount the USB first.then from terminal: sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k
+
: Unmount the USB first, then from terminal: <code>sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k</code>
* Typical Image Session with raw file on Desktop (BE CERTAIN YOUR USB IS sdb. (DO NOT use sdb1) Change if different.)
+
* Typical Image Session with raw file on Desktop (BE CERTAIN YOUR USB is sdb (the volume ID). (DO NOT use sdb1, the first partition ID). Change. if different.
xxxx@xxxx-Hardy:~/Desktop/$ sudo dd if=openSUSE-Sugar-liveUSB-unstable.i686-0.0.1-Build11.2.raw of=/dev/sdb bs=4k
+
: <code>xxxx@xxxx-Hardy:~/Desktop/$ sudo dd if=openSUSE-Sugar-liveUSB-unstable.i686-0.0.1-Build11.2.raw of=/dev/sdb bs=4k</code>
[sudo] password for XXXX:
+
: <code>[sudo] password for XXXX:</code>
 
  463360+0 records in
 
  463360+0 records in
 
  463360+0 records out
 
  463360+0 records out

Revision as of 12:38, 4 June 2009

VMware (Workstation, Player, Server) is a commercial virtualization system that emulates hardware resources allowing one computer to host a number of x86 architecture-compatible operating systems. The Player and Server versions are distributed free of charge (gratis). It runs on either Win32 or Linux host machines, allowing one to run Sugar images within the virtual machine. A Mac version is also available, VMWare Fusion, however this is not provided free of charge. A free 30-day evaluation is available, and free licenses are available for academic instruction and research use.

Software applications, such as the Sugar platform, may be deployed as VMware Virtual Appliances, which are one or more virtual machines pre-built, packaged, installed, updated, maintained, and managed as a unit.

Building a virtual appliance for the Sugar platform

Appliances from a live.iso file (No Persistence)

  • Make a new Appliance in VMworkstation with (minimal) hard disk
  • Set XXX-live.iso as CD in VMworkstation with a 0.1 GB Hard disk.
  • Boot and run VMworkstation, then shut down.
  • Copy contents of the new Appliance in the VMware directory a USB flash drive.
  • Copy XXX-live.iso file to the same USB drive.
  • Open this copied Appliance on the USB drive with VMWorkstation, and edit the location of the live.iso file to point to one on the USB stick, then close it.
  • Start VMplayer and open this Appliance from the USB drive, or any other VMplayer on any PC.
    this appliance is just like a boot CD—it has no persistence—the system image is treated as a read-only file. (You are running the .iso image with VMPlayer.) The appliance file size is only slightly larger than the .iso file.

Boot this Appliance from a USB boot drive/stick (see below)

  • The system can be run on any PC without changing or accessing its primary hard disk.
  • Use it to run Soas .iso images on PCs lacking a CD-ROM reader but with a USB port.
  • Run Sugar on unbootable PC's using a VMPlayer application

Appliances with Persistence

  • VMWorkstation 6.5.2 with Fedora-11-Preview-i386-netinst.iso (need link)
  • Settings for VMWorkstation:
    1. Create a new virtual machine
    2. Typical
    3. Installer disk image file:(Fedora-11-Preview-i386-netinst.iso)
    4. Linux
    5. Other linux 2.6xx kernel 8-GiB disk
    6. Max Disk Size (GB) 8.0
    7. Split disk into 2-GiB files
    8. 512 kB memory.
  • Net install with network connection
  • Use entire disk
  • De-select Gnome Desktop
  • Customize now
  • Select Sugar Desktop (Only selection entered)
  • Set a root password (sugarroot?) and time zone
  • When finished (about 45 min on ??-kbyte/s cable)
  • Reboot, set user password (sugaruser?), shut down.
  • Clone and save clone on Desktop and use to load on 4-GiB SD or USB or make DVD (3.2-Gib files)
    See note below to remove the Sugar user information and make the image ready for a new first user login. Original passwords for root and user (sugarroot/sugaruser?) entered during the install will remain and are needed for login & administration. This is required so that copies will have different identities.
Method to remove Sugar user information (from Dave Bauer VirtualBox/Preparing_a_disk_image).
  1. Open Terminal
  2. Terminal
  3. rm -rf ~/.sugar (if distributing image)
  4. su -
  5. shutdown -h now

Alternatives

Comments

  • Run on free VMplayer loaded on any PC with 512 kB of memory (256 kB required for VMplayer).
  • ADVANTAGE: No need to boot USB stick on problem machines.
  • Same machine can be used by a succession of students with their own copy of Sugar.
  • Students can take USB/SD drives home and run them on their own PCs.
  • Disadvantage: Have to install VMplayer on PCs
Two virtual machines on different PCs, each running NAT on same network, seem to cause "collisions" in jabber (Neighborhood View gets depopulated on both ???).
  • Logon screen allows user to switch session types:
    • KDE
    • Sugar
    • Failsafe

Making VMPlayer using a Single 4-GiB USB boot stick and an Appliance on a second 4-GiB stick

On one 8-GiB stick with 2 partitions

Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8-GiB USB stick with 2 partitions to run a VMplayer Appliance on the Same Stick VMplayer WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time. METHOD:

  • In PC running Ubuntu 9.04 (or running in VMworkstation6.5.2.)

Start Partition Manager

  • Delete existing partitions on USB [/dev/sdb?]
    (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.)
  • Create a FAT16 2-GiB Primary Partition, set boot flag, and label it Ubuntu
  • Exit partition manager
  • Run USB Startup Disk Creator
  • Create USB, select: /dev/sdb1 "Ubuntu"
  • Select "Other" and find Ubuntu 9.04.iso (not live install) previously downloaded to Desktop
  • Create live usb on first partition.
  • Start partition manager again
    (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.)
  • Create a FAT32 primary partition with the remaining, unformatted space on the USB drive, set boot flag, and label VM_Apps
  • Exit Partition Manager

Remove and reinstall USB stick

  • Two USB icons will appear
  • Cut and paste previously obtained VMplayer Appliance to VM_Apps

ReBoot PC with USB Stick

  • Start Firefox and download VMplayer (free) Linux xxxx.bundle
  • Place .bundle file in /tmp
  • su - command in /tmp
  • Enter password for root
  • Install bundle in /tmp ( ./ command as administrator. )

Run VMplayer Program

  • Start VMplayer
  • Choose VM_apps Icon and open VM Appliance file
  • Choose Gnome or Sugar as login, enter password
    Initial Password for Sugar = sugaruser (change user name and password in live user)
    Passwoord for root = sugarroot
Have Fun (Fedora 11 0.93 0.84-2)
  • Thus, with one 8-GiB USB stick loaded with Ubuntu 9.04 and VMplayer, plus the Appliance, a Student can carry the OS and a full copy of GNOME Desktop and Sugar on a single USB stick.
  • It is complicated to make, but simple to use and it works.

The Appliance can be loaded on a separate USB stick

Two USB/SD sticks (2 GiB Boot and 4 GiB or larger for the appliance)

This allows VMPlayer to be used by multiple students without rebooting the PC

Windows XP SP2

Loads and runs VMware virtual machine in Windows XP SP2 {tested on a Dell 2350 Tower}

Appliance (packaged virtual machine) transfered by DVD and loaded on Hard Disk.

Ubuntu 8.04 and 9.04

VMworkstation 6.5.2 can make virtual machine files in Ubuntu. VMplayer (available on line) will run these Appliances. The Appliance can be distributed then by copies on DVD to 4-GiB SD or USB drives or from future downloads from a Sugar Labs or other server.

Fedora 11

VMplayer will not load in Fedora 11 beta or Fedora Preview loaded with shell command; One gets "Unable to modify kernel" error and quits.

Spin of SUGAR F11 preview live

http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent

  • It works well as a boot CD or as a 4-GiB Appliance for VMplayer.
  • It upgrades in VMplayer to F11 (Leonidas) after 167 files +45 updates as of 5/30/2009.
  • It contains version 0.84.2 Sugar and Xfce 4 Desktop with a KDE switcher.
  • It installs nicely in the normal manner.
  • See the procedure above to make a VMplayer on a USB boot stick run the latest version of the Sugar platform in Fedora 11 as an Appliance.

Fedora 10

  • VMplayer can be loaded in Fedora 10 and used to run a VMplayer Appliance of Sugar platform based on Fedora 11.
  • The Sugar platform included in Fedora 10 is not the current version.

openSUSE

SUSE Sugar page: http://en.opensuse.org/Sugar

(See: nubae and cyberorg on #irc #sugar #opensuse-edu for details.)

SUSE is building and hosting appliances at these sites for downloading.

live CD with a very large number (~50) of activities

installs to Hard Disc

Sugar terminal:

su -
yast2 live-installer

add user

yast2 users

change networking

yast2 lan

wireless networking

yast2 lan

  • latest USB .raw file contains wireless drivers.
(EeePC900 booted from 2-GiB SD card works on Apple Airport extreme after this was done.)
  • need to switch networking out of network manager; edit and add wireless wlan wireless wlan0; and enter info on encrypted or open, and if WEP, SSID plus WEP Key information.
  • select the new wlan0, then select "manage with network manager".
  • Reboot USB.
  • Go to drop down box on network and delete network history. Be sure to have radio box checked.
  • Reboot again, On F1 neighborhood should see circles for wireless network connections.
  • Mouse over the one you want to use and enter passwords if requested on drop down box
This is a preliminary writeup please edit if you find a faster way.
Have Fun

Prebuilt VMplayer-VirtualBox Sugar Appliance

http://download.opensuse.org/repositories/Education/images/

  • Run on VMplayer or VirtualBox after decompressing.

Image USB/SD Drives

Unmount the USB first, then from terminal: sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k
  • Typical Image Session with raw file on Desktop (BE CERTAIN YOUR USB is sdb (the volume ID). (DO NOT use sdb1, the first partition ID). Change. if different.
xxxx@xxxx-Hardy:~/Desktop/$ sudo dd if=openSUSE-Sugar-liveUSB-unstable.i686-0.0.1-Build11.2.raw of=/dev/sdb bs=4k
[sudo] password for XXXX:
463360+0 records in
463360+0 records out
1897922560 bytes (1.9 GB) copied, 195.168 s, 9.7 MB/s

Resources