Thursday, May 23, 2013

Cinux 2.2 Beta has Been Released

    Cinux 2.2 is finally out and is available for download. However, this release is still under Beta mode, so it should, preferably, be tested in a virtual machine. Also, since it is still in Beta mode, you will notice quite a few bugs, which you are encouraged to report.
Release Details

    This release harbors many changes, as stated in a previous article, and contains all packages defined in BLFS, except for the Akonadi extensions, the Plasma AddonsOkular and Gwenview; all of which are due in the stable release. In addition, this release features the Linux 3.9.3 kernel.
    Additional packages can be downloaded and installed from source, until I get everything together regarding cinux-get. These packages can, in most cases, be compiled and installed with the following commands:
mkdir build &&
cd build &&
      -DCMAKE_BUILD_TYPE=Release \
      .. &&
make && make install
    Login to the live system as root with no password.

System Requirements

    The Live CD requires, in most cases, sufficient resources, so make sure that you provide enough memory, and hard drive:
Live SystemInstalled System
Hard Drive8GB for installation10GB in total


    So, go ahead and download Cinux 2.2 and then follow the installation guide bellow in order to install it the virtual machine you dedicated to Cinux.


This is something you might be interested just in case you would like to take your knowledge one step further. We will find the Squashfs file and extract its content onto our primary hardware. Once you have booted the liveCD, you will probably wonder how to do this. Well, the file system of the liveCD is locaed under /mnt/.boot/medium. If you navigate there you will find every needed file. However, before we do anything we need to make a directory in /mnt and mount our hard drive there, giving that you have alreadycreated a partition.
user@cinux ~> mkdir /mnt/target
user@cinux ~> mount /dev/sdX /mnt/target
Where /dev/sdX your device (ex. /dev/sda1).
  • Open the terminal and navigate to /mnt/.boot/medium
  • Then run:
unsquashfs -da 128 -fr 128 -f -d /mnt/target boot/x86_64/root.sfs
The number 128 that is included in the command is the memory (RAM) that we provide the program in order to carry out the task. However, this will take a while, so, you might as well take a cup of coffee and sit back or listen to some music. Now, when that finishes, you can go ahead and proceed by copying and altering the fstab file.
cat /etc/fstab > /mnt/target/etc/fstab
Then, you can enter the /mnt/target directory and run:
nano etc/fstab # NOTE: NOT /etc/fstab
And just alter the file to your needs, there is already an entry for "/dev/sda1" which has been commented out. Alternatively, you can do the following:
  cat /etc/fstab > /mnt/target/etc/fstab
  echo ""
  (echo "# file system  mount-point  type    options         dump  fsck" &&
  echo "#                                                         order" &&
  echo "/dev/sda1      /            ext3    defaults        1     1" &&
# echo "/dev/sda2      swap         swap    pri=1           0     0" &&
  echo "proc           /proc        proc    defaults        0     0" &&
  echo "sysfs          /sys         sysfs   defaults        0     0" &&
  echo "devpts         /dev/pts     devpts  gid=4,mode=620  0     0" &&
  echo "tmpfs          /dev/shm     tmpfs   defaults        0     0") > /mnt/target/etc/fstab
Then, we proceed by mounting all the complementary file systems that are crucial for the Linux system:
# Mount sysfs
  mount --bind /sys sys

# Mount procfs
  mount --bind /proc proc

# Mount devfs
  mount --bind /dev dev
And the final step is to install Grub:
  chroot . grub-install /dev/sda
  chroot . grub-mkconfig -o /boot/grub/grub.cfg
After this is complete, and we made sure that everything was completed without errors, we can now reboot our system simply by issuing the following command:
shutdown -r now # Or just: reboot
Once the system reboots you should see Grub with the choice of Cinux on its list. Congrats!


  1. Many thanks for the release!
    Just one little thing; you should mount /dev and /sys with the --rbind option to prevent errors regarding /dev/pts and some other stuff in /sys.

  2. Thanks for the comment! I will look into that. :)


Note: Only a member of this blog may post a comment.