Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Install SliTaz Linux on USB Drive

Learn how to install SliTaz linux on USB Drive in this tutorial. Slitaz is very small linux distro with footprint of about 35mb. It can easily fit into the SD card or USB drive. SliTaz is complete live USB distro so when you plug USB into the system and boot it then surely it will run the distribution with LXDE in it.

Requirements -
  • A linux Workstation (laptop or desktop)
  • USB Drive (256MB or higher)
  • UNetbootin
  • SliTaz Stable ISO
First thing to do is go ahead and download the .iso from the slitaz official website. Once you download, don’t forget to check for the md5 checksum. If the checksum is valid then we’re ready to go.

Second thing is to install Unetbootin on your current linux distribution. By installing Unetbootin, your job of installing any linux distro on USB becomes more easy.

Now you’re set to install the SliTaz distro on your USB drive. Just plugin the USB drive and open Unetbootin. Select the slitaz distro from the list in distro selection settings. Now you can point to the .iso file and select the proper USB device on which you want to run the linux.

It’ll take some time to install slitaz on USB, once done you can reboot and select the USB in boot options. Voila, you have boot into Slitaz distro.
You can use this small distro for taking data out of the corrupted system or you can also use this USB as a rescue device.

How to Install Puppylinux on USB Drive

Puppylinux is very easy to install on USB Drive. Puppylinux has USB universal installer that lets you install the distro on the USB drive. But if you follow the official help or FAQ then they expect you to burn a CD in order to use that feature.
What if you don’t have a CD Burner or disc to burn puppy linux? We’re going to solve this problem in this tutorial.

First download the latest puppylinux .iso file from the official puppylinux archive or respositories. Once you do that you can go ahead and do the checksum in order to see if the .iso is properly downloaded.

Second step is to download UNetbootin software from your distros repository. If you’re runing ubuntu linux then find the Unetbootin in software center. You can download and install it and later find it in System tools section menu.

Open the Unetbootin and then choose the distro name and version. You can also download distros from this window but it is always better to download with torrent or another download manager instead of this software. Now just point the software to the .iso file and select the USB drive. You can click Ok once you do the settings. After setting up you’ll find that Unetbootin takes few minutes to burn the distro on USB drive.

Once you’re done with installation on USB drive. You can reboot from the USB drive in BIOS and boot into Puppylinux. This is very easy method to install the puppylinux on USB disk. There are some other methods where you have to format and set the bootflag for the USB, but with UNetbootin everything is done for you.

Note: Make sure you disable or remove other USB drives from the system and only connect the drive which is supposed to be formated and installed by Unetbootin. This is to ensure that you dont’ accidentally select and run the installation on wrong drive.

How to Install Themes in Cinnamon Desktop

In this tutorial you’ll learn how to install cinnamon themes. I am assuming that you have installed the cinnamon via PPA or your distro installed it by default. In any case, lets get to install the themes for cinnamon.

If you have not downloaded the cinnamon themes before, I suggest you to download the themes. Once you download the themes on your desktop, you can install them by following any one of these methods.

  • Method 1: Make a .themes directory in your home directory and paste the extracted theme files there.
  • Method 2: Copy the contents of the extracted folder and paste it using sudo in terminal.   sudo cp -R theme /usr/share/themes
  • Method 3: You can open the file manager like nautilus or thunar in sudo and then copy the contents to that respective folder.
You can now change the themes using the cinnamon settings program which is included in cinnamon desktop. This program allows you to set and deactivate the GTK+ themes.

You can download the cinnamon tested themes from the spices website or you can download the gtk themes from gnome-look.org or deviant art website.

Please note that some of the themes may or may not work based on the version of GTK themes. So please doublecheck the sources from which you’re downloading the themes.

How to Solve : The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

When you type in the apt-get update and get the NO_PUBKEY error then make sure that you copy the error number mentioned after the word NO_PUBKEY.

Once you copied that number you can use it along with following command to get gpg key from launchpad to fix that.

For example,

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 61E5F6C15F6C1

Do execute the following command,

sudo-apt get update

as many times as the error occurs and then go ahead with the previous steps to import the GPG key. Once you get the errors resolved by importing the error key, you can do normal apt-get update.

Thats it, after importing the GPG for each error key, you can get the solution.

How to Switch Between Multiple Ruby Versions using Command Line

I am using ubuntu 12.04 and my machine got reset to the system version of ruby while installing the gem. I was not aware of how to switch between the versions. Here's how I figured out how to do that.

sudo update-alternatives --config ruby

sudo update-alternatives --config gem

You can first use rvm list and rvm use to check if you can switch between the versions that way and if it didn't worked then you can these commands in terminal. It works just fine and gets you the preferred version of ruby.