Re: HOWTO: If you Already have Ubuntu and need to install Windows
I needed to have windows xp back for my son on my clean ubuntu edgy box, so I followed this HOW TO yesterday, but had considerable problems.
I have solved them now, so this could result useful if somebody else encounters the same or similar problems.
I also suggest to change the how to 'boot a live Ubuntu CD' into something like 'boot your Ubuntu version live CD': you better not use 'any' live distro, but the SAME live distro you have installed with instead, so in my case it was edgy, not feisty and not dapper.
after having made exactly what this HOW TO says, there was no restart after reboot, with various (many) mount problems and
errors à la
"can't access tty;"
and the system froze completely. No tty, no ctrl+alt+del, nothing
If this happens to you you may want to try what I did.
1) from your live ubuntu
check with gpart that your ubuntu partition boots (and not windows)
2) from your live ubuntu
open a terminal and cfdisk your ubuntu partition
Code:
sudo cfdisk /dev/sda1
(/dev/sda1 in my case, YMMV)
3) from your live ubuntu
open a terminal and fsck.extr3 your ubuntu partition
Code:
sudo fsck.extr3 /dev/sda1
(/dev/sda1 in my case, YMMV)
this worked for me and repaired all my mount problems
Now you can boot into your ubuntu back again, BUT YOU WONT SEE A GRUB ENTRY FOR WINDOWS XP
So create it manually: Add the following to the bottom of your /boot/grub/menu.lst
Code:
# This is a divider, added to separate the menu items below from the Debian
# ones
title Other Windozian operating systems
root
# This entry was NOT automatically added by the Debian installer for a non-linux OS
# on dev/sda2, I did it manually instead
title Microsoft Windoze XP Professional edition
root (hd0,1)
savedefault
makeactive
chainloader +1
Of course the code above is tailored for me: hd0,1 is my sda2 partition, where I originally installed windoze, after having created it with gpart, see how to
If necessary also modify your grub to give it more seconds before booting and don't have it hidden per default
Also it can happen that, when you now reboot, windows will still ask you to complete installation (even if you already did it the first time) and to insert your windows code again. Do it and then let it reboot.
Retire, miscreants, to your muddy billabongs and forget even passive attempts to educate windozian zombies: how can those of easy virtue, who simply stroll into a store and "buy" programs off the rack, compare to us?
Bookmarks