Saturday, November 20, 2010

Creating a bootable USB for Meego 1.1 in Ubuntu

What is Meego? Yet another netbook OS.

Site reference of Meego.

1. Download the image file from Meego's website.
2. After download is complete, insert a USB in your computer. At least 1gb in size. It doesn't matter if it is formatted or not. ALL DATA WILL BE ERASED.
3. Determine the device ID assigned by Ubuntu to the USB. In a terminal window, type:
sudo fdisk -l

You will see an output similar to this:
Disk /dev/sdc: 2003 MB, 2003828736 bytes
16 heads, 32 sectors/track, 7644 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          16        7644     1952832    b  W95 FAT32

Your hard disk will usually be /dev/sda. Don't pick that!

4. Unmount your USB drive.
umount /dev/sdc1

5. Run the dd command in the terminal.
sudo dd bs=4096 if=<image file> of=<usb drive>

example:
sudo dd bs=4096 if=Downloads/linux/meego-netbook-ia32-1.1.img of=/dev/sdc1

At the end of the process, you will see an output in the terminal window similar to this:
210688+0 records in
210688+0 records out
862978048 bytes (863 MB) copied, 169.138 s, 5.1 MB/s

That's it. You may now boot your netbook with the USB Meego.

Monday, November 15, 2010

Audacity in Ubuntu 10.04

Make sure you have installed the ubuntu restricted package first.
sudo apt-get install ubuntu-restricted-extras

Then to install audacity:
sudo apt-get install audacity libmp3lame0

Saturday, November 13, 2010

How to resize pictures in Knoppix command-line

Here's a short how-to to reduce the size of picture files downloaded from a digicam, to prepare the picture files for upload to Facebook or other social network sites.

One word: Mogrify.

sudo apt-get install imagemagick

after the package installs, go to the folder containing the images you want resized, and go ahead to resize all the pictures to your preferred size, mine being 800x600. You also have to watch the lower - upper case of the file extension for the jpeg files, it could be ALL CAPS or small caps.

mogrify -resize 800x600 *.JPG

Here is a more detailed reference.

Saturday, November 6, 2010

Knoppix 6.2.1 versus Knoppix 6.2, installing flash

Well, I just had to take a note on the differences here.

Knoppix 6.2.1 uses kernel 2.6.32.6, and was released January 2010.
Knoppix 6.2 uses kernel 2.6.31.6, and released two months earlier, November 2009.

And here's the simple way to install Flash in Knoppix's Iceweasel browser, via terminal window:
sudo apt-get install flashplugin-nonfree

Knoppix 6.2.1 - setting system date and time

Installing the correct system date and time
In a terminal window, run as root:
dpkg-reconfigure tzdata

and search for your region and city. Mine is Asia/Manila.

Open the autoconfig file as follows:
sudo nano /etc/init.d/knoppix-autoconfig

Go to line 355 - ctrl+w, then ctrl-t - to the entry KTZ="$(getbootparam tz)" and change that to:
KTZ='Asia/Manila'

substituting your own region and city. Save the file - ctrl+x.

In the terminal window, again:
sudo apt-get install ntpdate

If apt generates an error, try updating the repositories first, like:
sudo apt-get update

then try to get the ntpdate package again.

After ntpdate package is installed, edit the ntpdate config file:
sudo nano /etc/default/ntpdate

The changes I did on my configuration:
NTPDATE_USE_NTP_CONF=no
NTPSERVER="0.asia.pool.ntp.org 1.asia.pool.ntp.org 2.asia.pool.ntp.org 3.asia.pool.ntp.org"

substituting your own ntp.org servers in that line. You may google your ntp server by googling something like sydney ntp server, for example.

Then save the file. Done!

My reference is this Knoppix forum thread.