andLinux installation …

I began using andLinux several weeks ago as an alternative to using a virtual machine for Linux. Since I can’t get the rest of my family to use Linux on the desktop, I was using a virtual machine and found that to be quite cumbersome. With andLinux, that has all changed.

The following are notes on the installation process I followed, including additional steps I took to configure andLinux for my environment. I have found that there is not a lot of this type of documentation, hence this page. As I make additional changes, I will try to update this page.

Note: This is just a guide! You may make changes as necessary for your environment.


  • Download the minimal installation package from here
  • Enter “C:\andLinux” for the installation folder
  • Select 384 MB for the memory (I only have 2 GB with multiple users)
  • Enable sound for andLinux
  • Select “run andLinux manually as a NT service + use XFCE Panel”
  • Select “using CoFS (easy configuration)”
  • Enter “C:\” for the folder to mount via CoFS
  • Click Next (accept “andLinux” Start Menu folder)
  • Deselect Desktop Icons for Console, Select “CoLinux Console (FLTK)” for Quick Launch Icon
  • Click Install


The following details the basic configuration I completed to get to where I am comfortable working. Essentially, I wanted to operate with a non-root account. The andLinux page here was the guide I used to complete the following.

Set Timezone

  • cd /etc
  • rm localtime
  • ln -s /usr/share/zoneinfo/America/Los_Angeles localtime

Enlarge root volume

Using the information on the Expanding Root page, I increased the size of the root volume from 2GB to 20GB. I followed the steps detailed under “The most reliable way to enlarge the root partition” section.

  • Shutdown andLinux
    • net stop andLinux
  • Rename the drives to a .drive extension
    • ren base.drv
    • ren swap.drv
  • Edit “settings.txt” to account for name change
    • cobd0=Drives\
    • cobd1=Drives\
  • Make a copy of the current image
    • copy
  • Create a new file of the desired size
    • fsutil file createnew 21474836480
      (20 * (1024 ^ 3)) = 21474836480
  • Add the two new drives to settings.txt
    • cobd3=Drives\
    • cobd4=Drives\
  • Start andLinux
    • net start andLinux
  • Perform a file system check on the original drive
    • e2fsck /dev/cobd3
  • Copy the data for the original drive to the new drive
    • dd if=/dev/cobd3 of=/dev/cobd4
  • Perform a file system check on the new drive (force)
    • e2fsck -f /dev/cobd4
  • Resize the new drive
    • resize2fs -p /dev/cobd4
  • Perform a file system check on the new drive
    • e2fsck /dev/cobd4
  • Shutdown andLinux
    • net stop andLinux
  • Change settings.txt to boot from the new drive
    • cobd0=Drives/
    • cobd3=Drives/
    • cobd4=Drives/
  • Start andLinux and verify drive everything is OK
    • net start andLinux
    • df

Enable non-root user

  • Change the root password — > passwd
  • Add the new user — > useradd -m mburns
  • Change the password for the new user — > passwd mburns
  • Install sudo — > apt-get install sudo
  • Edit /etc/sudoers
    • vi /etc/sudoers
    • Add “mburns ALL=(ALL) NOPASSWD: ALL
  • Edit /usr/bin/X11/startwindowsterminalsession
    • vi /usr/bin/X11/startwindowsterminalsession
    • Change “root” to “mburns
  • Edit /usr/local/sbin/
    • vi /usr/local/sbin/
    • Change the value of LocalPort from 81 to 8081
  • In a Windows CMD window, performed the following:
    • Create andLinux-Launcher.reg
      • notepad andLinux-Launcher.reg
      • Add the following lines
      •                Windows Registry Editor Version 5.00
      • Save the file
      • Execute — > start andLinux-Launcher.reg
      • Click OK to add the entries to the register
  • Reboot your system.

Upgrade to Hardy

andLinux is an Ubuntu distribution based on the gutsy release. After trying to build the source for liferea and running into problems with package versions being to old, I decided to try to upgrade the Ubuntu release to hardy. The following are the steps I took to complete the upgrade. (The pages here and here were very helpful!)

  • apt-get install update-manager-core
  • do-release-upgrade

Once the above command completed (approximately 90 minutes), I had to do the following to get everything working again.

  • vi /etc/rc.local
  • Added “/usr/bin/X11/startwindowsterminalsession &

All appears to be well. However, I am seeing the following message on the console after rc.local is executed.

“auth: unable to generate an authority file name”

I am not sure what is causing this error. I will update this page once I find out.


6 Responses to “andLinux installation …”

  1. Linux VM Alternative … « Michael Burns’ Blog Says:

    […] have added a page titled andLinux Installation. This page details the process I took to install and configure andLinux for my environment. You can […]

  2. Upgraded andLinux from Hardy to Intrepid … « Michael Burns’ Blog Says:

    […] I had to make the same change to the rc.local file as I did when I upgraded to Hardy. The modification I needed to make is listed on this page. […]

  3. abaca Says:

    It´s a very interesting doc. Regarding the auth error, I also had it on a different envrionment, and it was because the $HOME directory was missing. The auth file should be created under $HOME/.Xauthority.

  4. Danial Says:

    Sir can I don’t know what’s is the default for root password…i can’t enter sudo …it’s always ask for root password…



  5. Michael Burns Says:


    Normally, sudo will ask for your password, not the password for root. This is not true on all Linux distributions, but that is the case for Ubuntu.

    Also, there is no password for root following the installation of andLinux. As noted above under “Enable non-root user” section, the first step is to change the root password. If you have changed the root password and cannot remember it, you can google for “forgot root password” to find various methods you can try to recover the root password.


  6. toto Says:

    I use andlinux too in my windows 7. I have a problem to create share directory from windows to andlinux. So, an andlinux user can open window file. Can you share me how to solve this problem? Please email me if you have a method to solve my problem.
    Thank you very much.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: