I have been using Kubuntu for a month now, and are very happy with it, but sometimes it is neccesary to use windows (those pesky games)
I do have both XP and Vista with orginal licenses but wanted to try W7, so I did a clean install of W7 first, made it work, then reinstalled Kubuntu 8.10 (that was the DVD image I had, planned to upgrade later)
First of all a reboot did not show any GRUB menu, just booted into W7 automatically. But the systemdisk was resized like I wanted, so I knew that Kubuntu atleast had partitioned the disk.
Then I did this:
first just get to Ubuntu with your live CD.
And then open a terminal and do this.
1- sudo grub
then you should have something like this
the grub> (...).
for (...) enter
2- find /boot/grub/stage2
now you should have grub root , meaning something with (hdx,y)
ps: x,y are number , they can be 0,0 or 0,1
3- root (hdx,y) (mine was hd1,5)
x,y been the number you receive from the last command.
4-setup (hd0)
quit
5- sudo shutdown "now" -r
Then I got the GRUB, and booted Kubuntu, no problems.
Rebooted to try W7, GRUB shows it as Vista, and I got the errormessage Cant find NTLDR, press CTRL+ALT+DEL to reboot.
Two questions;
I knew a installin W7 after Kubuntu would mess up the GRUB, but why did not my Kubuntu intallation fix a grub.
How can I fix the W7 (probably wrong forum to ask
)I guess GRUB messed up the partition, so that it tries to boot W7 from the wrong partition.
I do have both XP and Vista with orginal licenses but wanted to try W7, so I did a clean install of W7 first, made it work, then reinstalled Kubuntu 8.10 (that was the DVD image I had, planned to upgrade later)
First of all a reboot did not show any GRUB menu, just booted into W7 automatically. But the systemdisk was resized like I wanted, so I knew that Kubuntu atleast had partitioned the disk.
Then I did this:
first just get to Ubuntu with your live CD.
And then open a terminal and do this.
1- sudo grub
then you should have something like this
the grub> (...).
for (...) enter
2- find /boot/grub/stage2
now you should have grub root , meaning something with (hdx,y)
ps: x,y are number , they can be 0,0 or 0,1
3- root (hdx,y) (mine was hd1,5)
x,y been the number you receive from the last command.
4-setup (hd0)
quit
5- sudo shutdown "now" -r
Then I got the GRUB, and booted Kubuntu, no problems.
Rebooted to try W7, GRUB shows it as Vista, and I got the errormessage Cant find NTLDR, press CTRL+ALT+DEL to reboot.
Two questions;
I knew a installin W7 after Kubuntu would mess up the GRUB, but why did not my Kubuntu intallation fix a grub.
How can I fix the W7 (probably wrong forum to ask

Comment