Masonux Home‎ > ‎

Notes to Myself

Last changed 1 Dec 2009, will be reflected in 9.10 release.

If you are here to install an Ubuntu system identical to Masonux on a computer with less than 256 mb of RAM, skip to step 2 ("Initial System Setup") and stop there, optionally skipping all of the remastersys stuff and leaving ubiquity out of the apt-get install command. You can add remastersys and ubiquity later, if you like. I usually run sudo su and work in a root terminal - if you are uncomfortable doing that, then don't and simply add sudo to the beginning of all of the below commands.

These are the exact notes I reference when putting the .iso file together using virtualbox and remastersys. This is my "how-to" guide for myself. This is also the entire "development model," if you want to call it that. This is the actual working document, so don't be surprised if it changes over time without notice and without explanation. Some may find this the most useful part of the project, some may find it completely useless. Either way, here it is:


Do not install any of this anywhere until indicated in the notes.

VirtualBox - The open source edition in the Ubuntu repos ("VirtualBox OSE") works, but the proprietary version available for download from the website linked works with less of a headache. I do not suggest trying to have both installed at the same time. They both include some kernel modules, so if you have one edition and want to try the other: uninstall, reboot your computer, install the other version, and reboot again.
remastersys - An outstanding tool. Can also be used to backup your system onto an installable .iso file.
repogen - This really is an outstanding tool. One of the first things I do on any Ubuntu install is use this to generate a sources.list that exactly suits my needs and desires and replace the default.

Initial System Setup

Use the latest mini.iso from ubuntu to create command-line only install.

sudo su

add next 2 lines to end of /etc/apt/sources.list: #do not do this if you are simply installing Masonux onto your computer via the command line.
# Remastersys
deb karmic/

run as root:
apt-get update
apt-get upgrade
apt-get install xorg lxde firefox synaptic empathy gdebi remastersys jockey-gtk wicd gdm ubiquity-frontend-gtk
apt-get remove lxmusic obconf

Optional: create and install a .deb metapackage. Put all the stuff apt-get lists under the "these packages are no longer needed and can be removed" list.

#note that ubiquity is the graphical installer and remastersys is used to make the .iso. Leave those two out if you are simply installing Masonux to your computer via the command line.

apt-get clean

reboot. once in lxde, fix the damn repos.
leafpad /etc/apt/sources.list

Stop here if your only objective was to install a system identical to Masonux on a computer with less than 256 mb of ram. You are done. All I ask of you at this point is for some feedback.

Make panels look pretty. Then:
cp ~/.config/lxpanel/LXDE/panels/panel /usr/share/lxpanel/profile/LXDE/panels/. #make current panel setup the default for all new users.

Replace default desktop backgrounds with Masonux ones.

mv /usr/share/lxde/wallpapers/lxde_blue.jpg /usr/share/lxde/wallpapers/lxde_blue-origional.jpg
mv masonuxdesktop.png /usr/share/lxde/wallpapers/lxde_blue.jpg
mv otherfilenames /usr/share/lxde/wallpapers/.


make the iso using remastersys.

Masonux 9.04-YYYYMMDD i386

Setup vbox to share folders

run as root:
apt-get install make gcc linux-headers-2.6.28-15-generic #replace 2.6.28-15-generic with the kernel you are using. Find it by running uname -a.

config vbox shared folder name to be 'share'

install vbox guest additions. devices -> install guest additions.
sudo pcmanfm #gotta install from the "cd" as root.
run the script on the fake mounted 'cd'

completely power off the VM and restart it.
mkdir /media/rawr
mount -t vboxsf share /media/rawr

cp /home/remastersys/remastersys/*iso* /media/rawr/.

Upload and Update the website

Back to Masonux Home