Burn CD images in Linux command line

This tip will be brief, it concerns about writing bootable linux iso images to CDROM. What you need is cdrecord, cd-writer drive, blank cd-r and iso image (and maybe mkisofs).

Howto burn ISO images to CD
Insert the blank CD-R, and run

cdrecord -v speed=4 dev=/dev/cdrom ubuntu-6.10-desktop-i386.iso

and you’re done.

Howto burn (backup) files to Data CD
You’ll need mkisofs and cdrecord to burn your data files to a CD,

Run,

mkisofs -r -J -o yourbackup.iso /home/path_to/your_files

cdrecord -v dev=/dev/cdrom  -data  yourbackup.iso

and that’s the easiest way to burn cds on command-line linux.

[tags]linux,cdrom,iso9660,joliet,ubuntu,cdrecord,mkisofs,debian[/tags]

Ubuntu 6.06 LTS (Dapper) vs Ubuntu Edgy Eft

One of my blog readers ask me personally about which Ubuntu distribution that he should use, whether its Ubuntu 6.06 LTS or the latest release, Edgy Eft. As for my personal opinion, it depends on your own use.

Dapper Drake is a Long Term Support (LTS) release, supported by Canonical and Ubuntu Community for at least 5 years.? This means that Dapper Drake would receive more frequent security updates than Edgy Eft.

Edgy Eft on the other hand focussed more on providing the latest and bleeding edge software on your computer, it also have software and security updates as Dapper Drake, but it is only guaranteed for at least within the six month of Ubuntu release cycle.

After that you have to either upgrade it to the latest release or you have to patch/update the system by yourself. If you can see the differences, LTS emphasis more on stability and long term? support while the normal release emphasis on providing the latest release of software but with limited time support.

To sumarise it, LTS is suitable for those who like having a stable operating system with minimal maintenance effort, while the normal release is for those who like to keep updated with the latest software release, despite having to upgrade them each time a new release is announced to keep updated with security patches.

[tags]ubuntu,dapper drake,dapper,edgy eft,edgy[/tags]

Photorec – Recover files from corrupted Hard Disk (filesystem) with Linux

Today I want to introduce you to Photorec, one of the open source data recovery software available in Linux. Photorec was designed to recover lost files including video, documents and archives from Hard Disks,CDRom and lost photos from Digital camera memory card.

Originally written to recover lost pictures (hence the name), PhotoRec now supports recovering more than 80 files types including zip, bz2, rar, 7z tar, microsoft office files (*.doc,*.ppt, *.xls), jpg, pdf, html, midi,mp3,wav and many more.

PhotoRec ignores filesystems and read raw data directly from block devices, this makes Photorec works well with various filesystem including fat32,fat16,HFS+, NTFS, ext2/3.

PhotoRec is known to not work very well with ReiserFS however.

Here’s the screenshot of PhotoRec in action (which i uses it to test my corrupted MMC) :

From the screenshot, you can see that PhotoRec is able to recover 263 files from my MMC.

PhotoRec is safe to use, it will never attempt to write to the drive or memory support you are about to recover lost data from. All recovered file is stored in your /home directory and not withing the recovered disk itself, thus preserving the data contained within it.

For ubuntu users, you may find PhotoRec listed under the ‘testdisk’ package in Universe repository.

You can find out more about PhotoRec and testdisk at : http://www.cgsecurity.org/wiki/PhotoRec

[tags]data recovery,linux,ubuntu,recovery,hard disk data recovery,data-recovery,photorec[/tags]

Iceweasel – a completely free alternative to Mozilla Firefox


Iceweasel is a fork of one of the popular browser, Mozilla Firefox with the main aim to provide a completely free browser alternative to the latter.

You might wonder why we need to fork Firefox since it is already free and open source?

The answer is a bit complicated.

Although Mozilla Firefox has been release by the Mozilla Foundation as an open source browser, part of the software is non-free such as the talkback crash reporting system, the artwork, the icons and the name of the browser.

To add to the problem, Mozilla didn’t give permission to use their trademarked name Firefox to be used on unofficial builds. Due to this complication of having proprietary component in foss application, IceWeasal was forked from Firefox code base.

IceWeasel is functionality is essentially the same with Mozilla Firefox but without the proprietary component. Debian is one of the first distro to use IceWeasal as its default browser starting by Debian Etch.

The current IceWeasel release are based on Mozilla Firefox 1.5.0.7, and each of it will be syncronised with the latest release of Firefox.

You can get Iceweasel from it’s project website (currenly available as source and GNU/Linux binaries only)

[tags]mozilla,firefox,mozilla firefox,iceweasel,debian,opensource,freesoftware[/tags]

Howto Bypass Ubuntu Login Screen

I think many of you who has installed Ubuntu, must hava encountered a login screen before you actually can use the Ubuntu desktop.

It maybe not a big deal for those who don’t mind having to login first before using the operating system because of security reasons or if the pc is shared between multiple users.

But some might find it inconvenience if they had to login each time after booting to use their operating system. However there’s a way to enable automatic login to your desktop and completely bypass the login screen.

Here’s how to do it :

  1. First go to System,Administration. Select Login Window
  2. A dialog will appear, Select Security Tab
  3. Check Enable Automatic Login, then select the name of the default user
  4. You’re done, the next time your Ubuntu boots, you will be automatically be logged in as the default user.

This setup is ideal if you’re not sharing the computer with anybody else and the default users selected is not listed as one of the sudoers.

It is also convenience if you want to allow people to automatically log on into your pc as a ‘guest’ users without administrator privileges.
[tags]ubuntu,dapper,edgy eft,gnome,debian,linux[/tags]

Mint – Ubuntu preinstalled with mp3 codecs, flash 9 and Java plugins

mintlogo.png

Linux Mint is a variant of one of the most popular linux distro, Ubuntu with few differences. It emphasis on convenience for users to get non free softwares or softwares under patent without much hassle.

For example, out from the box Linux Mint installs allow you to :

  • Play MP3 files
  • Watch Realmedia, quicktime and encrypted dvd
  • Get Sun Java 1.5 Update 9 (and Java plugin) preinstalled
  • Surf Website with Flash 9 plugins
  • Compile application with gcc

These capabilities is also enabled in its LiveCD session.

In addition, Linux Mint enables all Ubuntu repositories including Multiverse (non-free) and Universe repo as well as other binary only 3rd party repositories. However, the presence of binary only package means that Linux Mint is only available for x86 32bit platform only.
The latest release of Linux Mint 2.0 is compatible with Ubuntu Edgy Eft which it is based upon. Linux Mint is created for the convenience of users who have hard time to part with non-free plugins or software.

You can think Linux Mint as the opposite of gNewsense which I’ve reviewed earlier which emphasis on having only 100% free software on their distribution.

[tags]linux,ubuntu,edgy eft,opensource,livecd,distro[/tags]