My Blog

April 23, 2008

VMware server comes out error when boot 2 virtual linux boxes

Filed under: Miscellaneous — by enotebook @ 10:04 am

Error:
Cannot open the disk ‘FileLocation.vmdk’ or one of the snapshot disks it depends on.
Reason: Failed to lock the file.

Action:
Add ‘disk.locking = “FALSE”‘ to the confituration file(.vmx)
This also effective to some unknown reasons when 2 or more boxes booting failure.(as i know)

Advertisements

April 10, 2008

Linux hangs on Enabling swap space when bootup

Filed under: Miscellaneous — by enotebook @ 2:05 pm

Problem:
with enabling swap space on “Boot Time“.
while Redhat Linux Booting into run level 3 , then it suddenly got struck up with swap space enabling.

Solution:
Boot into single user mode and make sure /etc/fstab has correct entries. Also can format swap partition.

Before formatting swap partition please disable that partition. do(in single user mode):

#swapoff /dev/hda5 (your /etc/fstab entry for swap).
To Create new swap partition do the follow,
step1:
Create new partition by using “fdisk”.Say here “/dev/hdaX”(Also works with deleting old swap partition and recreate it to use original space.)
step2:
Create Swap signature on that partition.to do that,
#mkswap -v1 /dev/hdaX
step3:
Enable swap partition,
#swapon /dev/hdaX
step4:
Check the status of swap partition.
#swapon -s

Blog at WordPress.com.