Saturday, April 30, 2011

howto Install windows xp sp1 to the new notebook

my bro can't do this because of lack of drivers at the disk.
this is my plan:
1. install it to the VirtualBox
2. install additional drivers to the system
3. install acronis or another disk cloning software to the virtual machine.
5. create a disk image and copy it to the shared folder, or directly to a flash drive
6. boot a live version of the cloning software and copy a disk image to the hard drive

second variant: clonezilla+VmWare

oops.. I've found a brillant HOWTO

Tuesday, April 26, 2011

notes

1. the source of "error 911" @gamess-us was incorrect amount of SysV system memory.
For fixing, I've added this two lines to the /etc/sysct.conf
#add sysV shared memory
kernel.shmmax = 402653184

2. Calling with skype from command line
2.1. install Skype4Py: easy_install Skype4Py
2.2. patch it:

--- posix_dbus.py (revision 284)
+++ posix_dbus.py (working copy)
@@ -43,7 +43,7 @@
else:
import dbus
import dbus.service
- from dbus.mainloop.glib import DBusGMainLoop
+ from dbus.mainloop.glib import DBusGMainLoop, threads_init
import gobject


@@ -72,6 +72,10 @@

# initialize glib multithreading support
gobject.threads_init()
+ # Initialize threads in dbus-glib, if this has not already been done.
+ # This must be called before creating a second thread in a program
+ # that uses this module.
+ threads_init()

# dbus-python calls object.__init__() with arguments passed to SessionBus(),
# this throws a warning on newer Python versions; here we suppress it
2.3. Use script from ubuntu site.

Wednesday, April 6, 2011

Disk failure

After power outage I couldn't log into my second node. Also, I coulnd't reboot it. So, I've booted Fedora liveusb, and tried to find disks with "fdisk -l". It didn't work.
su - and I didn't have to input any pass at all. Wow, I'm root now ^_^
#fdisk -l gave me info that I had /dev/sda1 there as a primary disk. I've checked it with
#fsck -cc
Then I leaved my workplace to digest some food. It took me about hour.
Unfotunately, I didn't choose "yes for all questions" option, so I had to reply "yes, I do want to force rewriting this block" It took another 20 minutes and was really boring.
As a result, I've got a working disk at the moment.