Before you do that, you might want to try this:
Some people managed to fix that error in Diablo II by installing the latest nVidia drivers. To run the game, you must have WINE configured properly, as well. Run "winecfg" from a terminal. Windows version must be NT4 or higher. I'd set it to XP SP2. Also, create a cdrom drive letter (e.g. D:\) by clicking advanced, then setting the drive type to cdrom.
As for installing Vista, there are some things to be aware of. When you turn on your PC, the BIOS looks towards the boot sector of the first drive. The boot sector contains information (known as the bootloader) that enables your operating systems to be found and started. It's likely that you're currently using GRUB (Grand Unified Bootloader) to boot Linux. Windows uses a different bootloader to Linux, and the aggressive Windows installer likes to commandeer the entire partition, including the boot sector and install its own bootloader (winloader for Vista and NTLDR for XP) without preserving anything that's currently in a different bootloader. Basically, it assumes it's the only OS on the computer and destroys all other boot data.
So when you install Vista, it's going to put winloader there and it will be as if you no longer have Linux (except the disk space is still taken up
). So there are ways to fix it - I'll tell you the easiest.
Ok, assume you have Linux installed and have just installed Vista.
- You need to boot from your Linux live CD, and start a terminal.
- You need to mount your Linux partition. You can likely use this command: "sudo mkdir /mnt/linux && sudo mount /dev/sda1 /mnt/linux". The only thing that would change would be the "sda1" part, to match your actual Linux partition.
- You need to do what is called a "chroot". It basically allows you to jump from your live CD environment to your hard drive Linux installation. Here are the commands needed:
Code:
sudo mount -t proc /proc /mnt/linux/proc
sudo mount -o bind /dev /mnt/linux/dev
chroot /mnt/linux /bin/bash
source /etc/profile
- Then you need to mount your boot partition (if you have a separate one). "sudo mount /dev/sda2 /boot". Change /dev/sda2 to the correct boot partition.
- Then you need to reinstall grub. This is very simple; simply run "grub-install /dev/sda" where /dev/sda is the actual drive you installed Linux on. It should give you a message about Device.map, and give you some devices in parentheses of the form (hd0,1).
- Then you need to edit your fstab. This is the file which tells Linux where to put important directories at boot. Run the command "sudo nano /etc/fstab" to start the editing. Add this data at the bottom of the file:
Code:
title "Windows Vista"
rootnoverify (hd0,1)
makeactive
chainloader +1
- Then reboot, and you should see a menu allowing you to choose which operating system to boot into.
If you post your partition table before formatting, I'll be able to make the instructions more accurate for your installation. You can get it using "fdisk -l" from a terminal. You're brave if you try this. It's unknown territory to many Linux users, but rest assured that the nature of Linux means anything that breaks can be fixed. If it won't boot, all we need to do is edit some files, basically.