Thursday, September 4, 2008

Find free disk space

Use

df -h

or

df -k

To Increase the hard disk size of OS in Parallels (Mac OSX)

Refer the link:




In case, if you dont find it there:

1. Find your hard disk image file on the host machine (in this case Mac OS). Run the Parallels Image Tool.app on it and expand it to the desired size.

My Parallels disk image is located in:

~/Library/Parallels/Microsoft Windows XP/winxp.hdd

These days, Parallels is installing that image in:

~/Documents/Parallels


2. Use the Finder to duplicate the hard disk image you wish to expand.

3. Open Parallels but do not start Windows. Open the Parallels Preferences for the virtual machine. Change the hard disk image path to the duplicate image. (Note, this is not the "Default Folder for Virtual Machine" setting you first see. It is the Hard Disk setting, lower on the Preferences screen.)

4. Add a new hard disk via the Add button at the bottom of the screen. Set the new hard disk's path to the original image. The purpose of this and the above step is to boot from the duplicate disk, so that Windows can have full access to the disk (original image) you wish to expand.

5. Boot up Windows. Windows will report that it has identified new hardware. After that is finished, then navigate to Start -> Run. Type (no and no quotes), and press Run/Enter.

6. In the new window that appears type:

7. After that process runs, a list of disks appears. Notice that Volume 1 and Volume 2 look identical. Note: Volume 2 should be the original hard disk image.

8. Select Volume 2 by typing: select return. Then extend it by typing . Once that is complete type exit return. Then shut down Windows.

9. Before starting Windows, clean up the Virtual Machine preferences by using the Parallels preferences to delete the second hard disk, and to switch the Hard Disk 1 path back to the original hard disk image. You can put the duplicated Win XP hard disk image into the Mac Trash.

10. Restart Windows. Rebooting may be necessary if Windows "detects new hardware."

Create shared folders between Mac OSX and Parallels Linux OS

Follow the link:

http://ubuntuforums.org/archive/index.php/t-325768.html

To install a new version of gcc in RHEL (any linux)

Ref:

http://www.tellurian.com.au/whitepapers/multiplegcc.php

To find Dir sizes in sorted order in Linux

just use du command(disk utility)

du -skh * | sort

About Me

My photo
Jaison Paul Mulerikkal is the Vice Principal of Rajagiri School of Engineering and Technology (RSET), Kochi. He was the Principal of Jyothi Engineering College (JEC), Cheruthuruthy, Trissur, India. He is a member of CMI Sacred Heart Province, Kochi. He is a civil engineer by profession, but did his Masters in Information Systems from RMIT University, Melbourne, Australia and subsequently received his PhD in High Performance Scientific Computing from the Australian National University. He had worked as a computational scientist at the University of Auckland, New Zealand.