• Tutorial: Create Bootable USB to upgrade your BIOS (Linux)

    Let’s say that you need to update your BIOS to fix a specific issue or just because you just want to update it or because you want to install a cool mod… In any case, if your machine requires a MS-DOS bootable device to upgrade your BIOS and you are using a Linux distribution, you will be able to create one in just a few steps (tested on Lubutu 14.04):

    1. take an USB stick and plug into your PC

    2. by typing dmesg you will be able to see which is the device name of your USB (as it will appear at the end of the output:

    ie. [ 6801.937032]  sdb: sdb1 <– this means that our device is called /dev/sdb

    3. now make sure you have qemu installed on your system:

    sudo apt-get install qemu

    4. now I guess you have some ms-dos disks around – but no floppy drive right? This means that you’ll have to download a copy of the ms-dos version you own from the internet in img format (any search engine is your friend here)

    5. assuming that the file you’ve downloaded is called “msdos622.img” and it’s saved in a folder called /home/username/dosimage/, we can now build a bootable USB:

    sudo qemu-system-i386 -boot a -fda /home/username/dosimage/msdos622.img -hda /dev/sdb

    6.  MS-DOS should now boot and probably it will just ask you to set a time and date – you can skip this by pressing ENTER when receiving a prompt to update the time/date

    7. now at the DOS prompt type: fdisk

    8. if your USB is already partitioned (and there is a good chance that already is) please follow the instructions on the screen to remove existing partitions (THIS WILL DELETE ANY DATA ON THE USB) and create a new Primary partition

    9. next step is to format the USB:

    format /s c:

    10. Now you can make the USB bootable:

    fdisk /mbr

    Now you can close QEMU and copy from Linux any file you need to update you BIOS and restart the computer to boot from the USB .

  • Support: fix missing network icon in Lubuntu 14.04 (nm-applet)

    After the update to Lubuntu 14.04, you may notice that the network icon is not present anymore thus making difficult to manage your connections (through the GUI)…

    Until the bug is fixed, you can use the following steps in order to make it working again:

    1. Open a console and type lxsession-default-apps

    2. go to the Autostart tab

    3. Tick and Un-tick “Network” (please note that if your Lubuntu is not in English, this field will appear as “Network” translated in the current language

    4. You can then close this window and in the terminal type: nano ~/.config/autostart/nm-applet.desktop

    5. search the line NoShowIn=KDE;LXDE; and change it to: NoShowIn=KDE;

    6. Save the file and at the next reboot the icon will be there again… Easy!

  • Tutorial: Remove a PPA in Ubuntu (and restore original packages)

    Let’s face it, we love to test new applications, improve our system and see new things…

    However in some occasion, after we’ve updated our system by adding a PPA in our Ubuntu (sudo add-apt-repository ppa:NAME_OF_THE_PPA) you discover that you are not interested in what you’ve just installed, it doesn’t work as expected or simply you want to remove it…

    When you install a PPA you don’t only add the software you want to install as normally you’ll have all the required dependencies (that in some cases are in a newer version than the ones installed in your system). Therefore, when uninstalling a software that you’ve got from a PPA, you should care of removing all the extra packages and re-instate the original versions of the ones you had before.

    Luckily, you don’t have to do this manually… Thank you ppa-purge!!!!

    You can install ppa-purge by simply run in console:

    sudo apt-get install ppa-purge

    By running it you will be able to see its syntax:

    sudo ppa-purge [options] <ppa:ppaowner>[/ppaname]

    So, if for example you’ve previously installed a PPA called ppa:username/coolsoftware:

    sudo ppa-purge ppa:username/coolsoftware