And of course by working I mean make a virtual system using Sun's Virtualbox
for a Linux distribution. This will take alot of time (three to FIVE hours
minimum recommended) and patience (especially if you're new to Linux!). I
wrote this for noobies, so most people here probably will NOT need to follow
the directions so closely. Also if you're new or fairly new to linux, a pen
and paper will help with repeater things you have to do (I won't specify when
you'll need to repeat something, so feel free to write down anything)
I recommend a dual core system, with at least 2 gigahertz per core, a 128+
megabyte graphic card (256 if using two monitors), and 2 gigabytes of ram
minimum, and for this you'll want 4-8 gigabytes of hard drive space available.
You need an active internet connection, preferably broadband and at minimum,
DSLcould work. I would also recommend having two monitors, or if using one
monitor, it should at least have a resolution of 1280x1024.
Here's my guide:
1. Download and install Sun Virtualbox (I used 32-bit Vista) and also
download CrunchBang Linux. (google crunchbang, first website, upper right
corner download the lite one with your matching system-bit. I used a
bittorrent client to download)
2. After installing VirtualBox, start it, and click on "new". It looks like a
3. The wizard asks some questions, here are answers:
I. System name: I chose lushsystem
II. OS Type: Linux version: Debian, hit next
III. Pick your ram and hit next, I chose 1500 megabytes because I didn't want
to use a swap partition (like Windows page file), and also because I have
lots of RAM. If you want to use a page file, you can use less, or you could
probably use 512 megabytes or less anyway.
IV. By default Virtualbox will want to create a new hard drive.
V. Choose fixed size if you want a fixed size hard drive, I chose yes.
VI. Pick the size of your drive. For messing around, I would choose 4-5, for
larger programming and lots of libraries and whatever, try a 5-10 or more.
Pick a location for the virtual drive. I recommend something like c:\lush
system\lushsytem.vdi To pick a save location, there's a little folder next to
the box 8P
VII. Hit next, then finish.
4. Right click on your new system and hit settings:
I. Under the "System" options you can set to use multiple processor cores.
II. Under Display you can use more graphic memory. I have a 1 gigabyte graphic
card, so I chose the max, 128 mb, and I enabled 3d acceleration.
This is a necessary step! III. Go to the Storage options. Go to "Empty" in the window, there will be a disc icon next to it. One of the attributes will be CD/DVD device. Click the folder. Here we add the CrunchBang Linux .iso file by going to add, finding the iso, and just hitting select after adding it. I would suggest stopping the bittorrent program if you used that method. IF you can't find the file, just see where the torrent application download it.
IV. You can add folders to be shared between your system and the virtual
system by going to Shared Folders and figuring it out.
5. Now start the system by double clicking on it or hit the right facing
green arrow that says start. The disc will start, just hit enter, or wait
10-30 seconds. The system boot will take some time, especially slow if you're
computer: doesn't have dual cores, has low ram, or has a slow hard drive, and
If you click inside the window and can't get out, hit the right ctrl button, the key that's two down from your enter key.
6. The system should enter into a VERY minimalistic interface. Click in the
virtual system window, right click somewhere on the black, and go to the
install option in the middle, and install crunchbang linux. An installer
7. At the installer:
I. Pick your language. Probably english. Hit forward.
II. Pick your time zone. Forward.
III. PIck your keyboard layout. 'Suggested' should work. Hit forward.
IV. This step is crucial. Determine your hard drive layout. Recommended will
place a swap file with the hard drive, using valuable space on limited drives,
but will use less ram when running. I chose manual because I did not want a
swap file. If you go manual, click on free space, and then new partition. The
default options will use 100% of the space available. In the "mount point"
box, click the arrow and use the top option, / hit ok (will take some time).
Under the "format?" column, click in the box. Hit forward, and then hit
continue when the warning about no swap space comes up.
V. Simple fill in the blank questions. Your name to log in should be simple. I
chose owner because that was the log in for my Windows. For a password, I
chose owner, same as my login name (but not my Windows password obviously).
For the name of the computer, I chose lushsystem. Hit forward. It will say
your password is weak. Just hit continue and you'll be fine.
VII. Click install. This will take some time. Go get some coffee, hit right
ctrl and browse the internet like normal, etc. CrunchBang will continue to
VIII. It will ask to restart or continue. Restart now.
8. Now the system will want the cd removed before restarting. To do this, hit
right ctrl, go to Devices at the top bar, under CD/DVD options, hit unmount,
the last option. Click in the window, and press enter to continue.
9. If all goes well, CrunchBang will start. Enter your name and password and
10. On the desktop, right-click anywhere, and open a terminal (second option
from the top of the menu). With the terminal open, put in: sudo apt-get
update and then hit enter. It will ask for your password, put it in and hit
enter. The entire update will take some time if you are on a slow connection.
It took 33 seconds for me and needed 10.3 megabytes of information, so that
should help figure out how long it would take you to download. Type exit and
11. Right click anywhere, and go to System -> Package Manager. It will ask
for your password, enter it. A dialog will come up describing the package
manager. You may choose to read this. Now we have to do many things:
I. The second button near the top of the window is Mark All Upgrades. Click
it. A dialog box will come up, just hit continue/ok. Now click apply, the
large green checkmark. There will be a summary of what's going to happen. Just
hit the apply button in the lower right. The entire update will take between
1.5 and 3 minutes if your connection is between 500 kb/s and 1 megabyte/second
download rate. Installation of the files will take some time. If the screen
goes black, it's just a power-saver/screensaver. When finished, x out, right
click on the screen and go to exit (the bottom option) and reboot.
II. Log back in, And get to the package manager. This step will take alot of
time and more download data There is a search box towards the upper right.
Enter the following files and mark them one by one to get a large amount of
function from Lush:
To download, just double click, hit 'mark' in the window, and move on to the
next item. After they're all marked, hit 'apply', and then install them. If
you can't find it, hit the title of the column "Package." That will sort by
I also chose to install LXDE, a friendly, "Windows like" interface because the
normal dark interface is difficult for me to use, especially without a start
III. Exit the system and reboot. If things go wrong during shutdowns, or you
just want to shutdown faster, you can X out of the window, and power off
machine. Note Linux does not this method, but it usually works fine.
12. At the log in window, click session in the upper left and click LXDE. It
will ask if you want to make it the default thing. Hit Make Default if the
installation has been going well, if not, use Just for This Session and make
it the default later if it works. You should now have a lot more usable
interface. We're almost getting near the end.
Step 13 is optional.
13. If you want better "system integration" like maybe 3d graphics support,
or using the mouse without hitting right ctrl every time you want to leave,
follow these instructions:
I. Hit ctrl, and go to Devices in the top menu, and click Install Guest
II. Back in the system, click on the third icon in the lower left, the icon
should look a little like the terminal you saw earlier.
III. When the terminal opens, enter the following command: sudo sh
/media/cdrom0/autorun.sh Hit enter to close the window.
IV. The program should open a window, and automatically know your operating
system's bits. If not, use: sudo run
/media/cdrom0/VBoxLinuxAdditions-****.run , replace **** with x86 if
you're 32 bit, or amd64 if you're 64 bit
The Linux terminal is case sensitive, so if it didn't find the file, make sure you have the right capitals!
V. Exit the terminal using exit, or by X'ing out. Rebooting the virtual system
will start the integration and give you a few dialog boxes from the VirtualBox
stating integration is on. The lower right icon is the 'start menu', but the
"logout" command doesn't work for me. Just use ctrl and X out of the window
VI. When you reboot, mouse integration should work, and the resolution will be
set to 1024x768. Mouse integration means it doesn't have to take your mouse
cursor hostage! Yay! If you want your mouse taken hostage, you can turn off
mouse integration in the first menu at the top bar.
14. Time to get Lush finally! If you rebooted, log back in making sure LXDE
is the default session. Click the circle next to the terminal icon. Mozilla
Firefox will open. Go to sourceforge and download the latest lush. The
download advertisement may slow the virtual machine, but it speeds back up.
15. The file downloads to a folder called "Desktop" on the desktop. Double
click the folder, and right click the lush archive, and at the bottom of the
menu there will be "Extract." Choose to extract here.
16. Now there are two options for setting up your way to get to lush. The
first means you can enter the folder and run lush with fewer stuff to type and
remember. The second is "easier" and can be used from the desktop, but only if
you can remember folders and directories well.
First: in the lush folder, right click, and "Open in Terminal". It will say no
terminal is set up, and will open a n options box. From the drop down menu
next to terminal, the top terminal is what you've been using, the second one
might be easier to read as it is slightly bigger.
Second: Open a terminal. The cd and dir commands let you navigate folders, and
see what's in your folder, respectively. So if you want to get to the lush
folder, type cd Desktop, then dir, then cd the-name-of-the-lush-folder Go to
17. Now that you're IN the folder, type ./configure, that's period, / and
configure. It should work. If it does, type make. Mine says Compilation was
18. Now at this point *phew* you can run lush2 by just typing in cd bin,
and then ./lush2 to start lush2. From what I've tried, this won't let you
easily try the demos though. So go to step 19. If you entered lush2, hit
ctrl-d to exit out, or type (exit) and type y and hit enter when it asks are
you sure you want to leave.
19. To try the demos, use the navigation techniques described in step 16 to
get to your bin folder. Type ./lush2 ../demos/lunar-lander It should work!
Hit q to leave the demo, or just wait until you crash the ship a few times,
and then the program crashes lol.
This is a long and complicated tutorial, but hopefully some interested people
will get use out of it.
The Lower left icon is your start menu. Look around if you want to see what
there is. The Package Manager is located at System Tools -> Synaptic Package
cd and dir are used in terminal to get around, remember that. If you type cd
by itself, it will take you to the uppermost directory, / So watch out
sudo is a terminal command to temporarily allow a program to run as an
administrator (or 'root' in Linux), use it by entering in a terminal: sudo
command stuff If done right, it will ask for your password.
./ starts a file path in the current directory, ../ starts at one higher
directory, and your desktop in LXDE is actually located at the address
/home/username/ (Linux does not use a "c:\" drive)
The terminal remembers your commands, including ones you entered before you
closed the terminal. So the next time you start your system, you could enter
the bin folder, open the terminal there, and hit up to use your last command.
Note that lush doesn't work this way. You can run a terminal on the desktop
for example, and then type in ./Desktop/your-lush-folder/bin/lush2 ./Desktop
If you want to, the virtualbox can share folders between the host and guest
system, but if that doesn't work right, you can set up a USB drive and
transfer your code from the host Windows to the virtual Linux, probably
without unplugging anything. (in the Virtualbox settings for your system, you
can set up a USB device)
For a more graphical/traditional Linux desktop, instead of using LXDE, you can
install GNOME with the package manager. It will take alot more hard drive
space and probably a little more ram/cpu, but you can make desktop shortcuts
to lush and lush demos, and it will also give you access to other programs if
you wanted to try out a more complex Linux programs suite.
If you need help, do not type into google "such and such Crunchbang linux".
Instead use "such and such ubuntu" or "such and such debian". CrunchBang Linux
is based off of Ubuntu, which was in turn based off of Debian, so most of the
fixes and help work for all three. Note most problems could be part of
VirtualBox, so it may help to search that first. e.g. searching 'sound
virtualbox debian' if your sound is having problems. Do not use quotes though,
they will search for exact matches, which will probably give you garbage
And last but not least, you can install this system on a separate computer by
using CD software to turn the .iso into a complete cd and following most of
the instructions, with the last steps being to install the drivers for your
graphics card if needed.
First paragraph, repeated* things
Ugh, step 11. III. Linux does not LIKE this method.
13. V. The lower LEFT icon is the start menu. Lower right icon is the power
Note when I use the term reboot in the above thing I'm ONLY referring to the
virtual system, NOT your Windows or Sun Virtualbox program!
Also, the complete installation following the above instructions takes a
little more than 2 gigabytes of space. If GNOME was installed, a lot more
megabytes should be needed.
Some of you more seasoned guys might ask why I chose CrunchBang. I chose it
for three reasons:
First reason(s). It was small and relatively fast. I needed something under
3-5 gigabytes because my hard drive is running out of space.
Second: I don't need a super complete DVD version that needs 7-10 gigabytes to
install, all I wanted to do was try out lush code, and see if I could get
ANYTHING programmed, even if it was only like (de sqrt (x) (* x x)).
Third: It worked under the virtual system.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.