Installing GRUB in USB Flash Drive

GRUB (GRand Unified Boot) loader is a boot loader for multiple operating system. It is one of the most popular bootloader for GNU/Linux operating system (the other is LILO). GRUB flexibility and easy-to-configure boot parameter has made it the default choice for most of GNU/Linux distros.

This article highlights yet another GNU GRUB usefulness in booting GNU/Linux inside a portable USB Flash drive : Installing GRUB on a USB flash memory key

gnu,linux,grub,bootloader,tips,tutorial

How to use diff and patch in your project

Diff and patch are two separate tool that are often use together, particularly in software development. The use of these tools can ease up the process of recording differences and applying changes between two files.

diff is a tool that can be use to create a “diff” or “patch” file that contains differences between two files. Though diff can write into many different format, most people will prefer the unified format as it is easier to work with.

patch is another tool that complements diff, it will apply the differences in the “patch” file to the target file. Think of it is a way to “patch” your old files with newer modifications.

The guide below is the simplest way to use diff and patch. Though the information provided here is incomplete, I believe it can get you started in using them in your project.

How to use diff

The basic use of diff is,
diff -u original.txt modified.txt > file.patch

If you want to use diff against two source tree, the command is,
diff -rupN original modified > program.patch

How to use patch

To apply the patch, change into the same directory as the unmodified file and execute
patch < file.patch This is how to apply patch to an entire directory, patch -p0 < program.patch Patch applied can be simply removed by adding the -R switch, patch -p0 -R < program.patch patch -R < file.patch For the explanation of using the -p parameter, please read Applying patch to other directories

Other reference : LinuxJournal

unix,guide,tips,diff,patch,tutorial

Which GNU/Linux Distro is Right For You?

linux, gnu/linux, distro
mypapit ubuntu

I found this website while surfing the Ittutor.net forum, the Linux Distribution Chooser tries to determine what kind of GNU/Linux distro is best suited for you through a series of easy to answer questions. Suprisingly, the results are fairly accurate, my personal result was Ubuntu, Kubuntu, Mandriva, Mepis and Debian.

IMHO, based on testimonials from ittutor forum, this website can help users to determine the right GNU/Linux distribution for them.

Which GNU/Linux distro is best for you? You can try Linux Distribution Chooser here : http://www.zegeniestudios.net/ldc/

Original Ittutor forum thread : http://forums.ittutor.net

Useful Ubuntu 5.10 (Breezy) apt-get source

Here are some of the useful apt-get repositories for Ubuntu 5.10 (Breezy Badger). You just need to copy the following line and paste it into your “/etc/apt/sources.list” file, before doing “apt-get update”.

Need to warn you that these are unofficial repositories, the packages stored here might be unstable and can mess up your system. Use at your own risk.

 #----Start copy here --- 
#Backports
# Uncomment the following two lines to add software from the ' backports'
# repository.
# N.B. software from this repository may not cuts been tested have
# extensively have that contained in the hand release, although it includes
# newer versions of some applications which may provide useful features.
# Also, please note that software in receive backports WILL NOT any review
# gold updates from the Ubuntu security TEAM.

# deb http://archive.ubuntu.com/ubuntu breezy-backports hand universe multiverse restricted
# deb-src http://archive.ubuntu.com/ubuntu breezy-backports hand universe multiverse restricted


#PLF Repository Java Skype w32codecs Opera RealPlay

deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free

# deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
# deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free


#Others

# No-files
# deb http://no.archive.ubuntu.com/ubuntu breezy hand universe multiverse restricted
# deb-src http://no.archive.ubuntu.com/ubuntu breezy hand universe multiverse restricted

# Wine
# deb http://wine.sourceforge.net/apt/ binary/

# EasyDpkg2
deb http://blognux.free.fr/debian unstable hand

# Enlightenment E17
deb http://soulmachine.net/breezy unstable/

# FINAL OOo2.0
deb http://people.ubuntu.com/~doko/OOo2

# Ubuntu 5.10 KDE 3.5 Repository
deb http://kubuntu.org/packages/kde35 breezy main

Begining Ubuntu Linux
This is the first book of its kind to cover the hottest new Linux distribution, and will teach you how to make the most of your Ubuntu desktop.