Friday, September 25, 2009

Diablo2 exp on ubuntu 9.04 via wine

Install wine
create symbolic link or copy from windows into
/home/$(id-nu)/.wine/dosdevices/c:/Program Files
if you want to play diablo2 in linux
you must have d2loader
http://d2loader.blizzsector.net/
and if you want multi resolution you must have d2multirese
http://www.moddb.com/games/diablo-2/news/d2multires
install winetricks then vcruntime2005

Monday, September 14, 2009

ndisgtk for making a driver from windows

ndisgtk install it by synaptic

fix 9.04 intel driver problem

http://akedemo.wordpress.com/2009/05/28/fix-intel-graphics-ubuntu-jaunty/

Tuesday, September 8, 2009

GNU bash documents

http://www.gnu.org/software/bash/manual/bashref.html

Thursday, September 3, 2009

Linux boot partition

Linux boot partition is swap partition. For example, /sda5 = (hd0,5) in grub
To insert menu for boot windows just go,
/boot/grub/menu.lst

Recovery Ubuntu after install Windows

Recovering GRUB after reinstalling Windows

As above, when Windows is reinstalled, the master boot record will be overwritten. This can be avoided by backing up the boot sector, by following the instructions from step 2 in the above section 'Installing Windows After Ubuntu'. An alternative method, which has the advantage of not requiring forward planning, is to use the Ubuntu LiveCD to reinstall the GRUB boot sector, here are step-by-step instructions, to be run after Windows has been reinstalled:

1. Boot into a LiveCD
2. Open a terminal
3. Open the GRUB Command line utility by typing

sudo grub

4. Tell GRUB where your Ubuntu partition is by entering

root (hdA,B)


Where 'A' is the hard-drive number, starting at 0, and 'B' is the partition number, starting at 0. For example, if Ubuntu was installed on the second partition of the first hard-drive, the command should be

root (hd0,1)


5. Tell GRUB which drive to put the boot sector on

setup (hd0)


(replacing 0, as above, if a drive other than the first is used as the boot device)

6. Leave the GRUB Command line

quit

and reboot.