A friend needed to re-size his Windows NT OS partition from the default 4GB to 8GB. The easiest way to do this is with Linux, specifically with the GParted LiveCD.

gparted_screenshot

GParted is a Gnome based partition editor which uses the libparted library from the popular GNU Parted package to do all it’s fancy partitioning stuff.

Current supported file systems are ext2, ext3, fat16, fat32, hfs, hfs+, jfs, linux-swap, ntfs, reiser-4, reiserfs, ufs and xfs. GParted lets you detect, read, create, grow, shrink, move ,copy, check and label your partitions. However, not all the features will work across all file systems. See table below.

gparted_features

Where to get the LiveCD? SourgeForge of course!

Source: GParted

17 Nov, 2008  |  Posted by Danesh  |  in Malaysia, Open Source

09112008050

I’ve finally managed to upload my pics from foss.my 2008. Check em out, not the best of quality but they’ll work.

http://www.flickr.com/photos/dannyportal/sets/72157609213966387/detail/

Dropped my TwitterFox for twhirl today. Runs flawlessly on Ubuntu 8.10.

Installation was a breeze, here’s the walkthrough.

1. Download Adobe AIR Beta from http://labs.adobe.com/downloads/air_linux.html

2. Install Adobe AIR

danesh@pandora:~/Desktop$ ls
adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$ chmod +x adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$ ./adobeair_linux_b1_091508.bin
danesh@pandora:~/Desktop$

3. Download twhirl from http://www.twhirl.org/project/twhirl

4. Double click the twhirl file to start the installation. The installer will install twhirl to /opt/twhirl/ .

That’s it! you now have twhirl installed.

Continue Reading ->

Hate the damn beep? Let’s get rid of it!!

Run “lsmod” and look for pcspkr.

If you find it then run “rmmod pcspkr“.

Also, make sure to add this line to your “/etc/modprobe.d/blacklist” file to make the change is persistent accross reboots.

#Remove beeping speaker
blacklist pcspkr

Output;

[root@dingo ~]# lsmod | grep pcspkr
[root@dingo ~]# echo “blacklist pcspkr” >> /etc/modprobe.d/blacklist
[root@dingo ~]# sudo rmmod pcspkr

7 Nov, 2008  |  Posted by Danesh  |  in HowTo, Linux

Giving someone root access in linux is easy. Why would someone need to be root I don’t know but this is how you do it using the usermod command.

To add root access

[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin)
[root@abika root]# usermod -G root sys_admin
[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin),0(root)

To remove root access.

[root@abika root]# usermod -G sys_admin sys_admin
[root@abika root]# id sys_admin
uid=508(sys_admin) gid=508(sys_admin) groups=508(sys_admin)