Monday, 20 February 2012

How to remove a specific driver in Fedora 14

There are several ways to do it.
You can either recompile the kernel (alot of work), set to blacklist (normally won't work) or remove the driver in the driver specific path. (/lib/modules/xx.fc14.cc/kernel/drivers/.....)
I find the latter is the fastest and easiest.

Fedora 16 Native EFI installation

Its been a while since my last post.
To get Fedora 16 installed through EFI, Besides the similar steps in Fedora 14 installation where you need to copy the vmlinuz and initrd.img from the Fedora 16 installation disk, you need a minor modification in the elilo.conf to make the installation work in Serial Console.
Here's the additional text in red you need for Fedora 16 installation from EFI through Serial Console

prompt
timeout=50
default=Linux


image=vmlinuz
  label=Linux
  initrd=initrd.img
  append="console = ttyS0, 115200n8 serial"

Monday, 14 November 2011

How to mount USB drive using Linux Command Line

Use the following command to list drive in Linux. Please ensure you have root access
# fdisk -l 

Refer to the info and look for "sdb1" (This is normally the name for your usb)

#mkdir /mnt/sdb1

Edit /etc/fstab
Add the following line in fstab
/dev/sdb1       /mnt/sdb1           vfat    defaults        0       0 

Type the following command in Linux terminal
#mount -a

Monday, 7 November 2011

Changing File Permission in Clear Case

To change the file permission on elements in ClearCase:

$ cleartool protect -chmod 775 filename.txt

To change a recursive directory in ClearCase

$ cleartool protect -chmod 775 -r /vob/myproject

To change element owner:

$ cleartool protect -chown newuser filename.txt

Search for the "protect" command for cleartool for more info

Tuesday, 13 September 2011

Writing simple app in linux to access IO port

Check out and google "IO permission map in Linux"

More info to come

Sunday, 4 September 2011

How is *.patch file created

If you guys were looking for how patch file was created or perhaps curious how are patch file created. It's by running the "diff" tool. Here's an interesting site: