Results 1 to 9 of 9
My linux partition is on SDB6, My windows partition is on SDA1. I recently installed windows xp again, so i went into rescue mode from the kubuntu dvd. i selected ...
- 09-27-2005 #1Just Joined!
- Join Date
- Aug 2005
- Location
- Norway
- Posts
- 6
Problem after GRUB reinstall
My linux partition is on SDB6, My windows partition is on SDA1. I recently installed windows xp again, so i went into rescue mode from the kubuntu dvd. i selected SDB6 as root partition and after that i wrote "grub-install /dev/sda1"(where mbr is).
grub was successfully reinstalled, but every time i select to boot windows xp it goes straight back to the grub menu, so only linux is bootable... where does the problem lie? tried MANY times :P
Here's a part of my menu.ist file (/boot/grub):
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
- 09-27-2005 #2
Did you try "grub-install /dev/sda" instead of "grub-install /dev/sda1"?
/sda1 is the number of the 1st partition on the 1st hard drive.
/sda is the first hard drive.
You should aso check out Nerderellos grub tutorial, which can be found in the General Tutorials section.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 09-28-2005 #3Just Joined!
- Join Date
- Aug 2005
- Location
- Norway
- Posts
- 6
tried both, with /sda1 and /sda. doing "fixmbr" after grub install on sda1 worked, but "fixmgr" after grub install sda idn't work (grub still starts)...
- 09-28-2005 #4
I am a little conused here.
When you run "fixmbr" that will get rid of whatever is on the MBR and replace it with a Windows bootloader.
Are you trying to create a dual-boot system or ....How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 09-28-2005 #5Just Joined!
- Join Date
- Aug 2005
- Location
- Norway
- Posts
- 6
no, but i tried to "fixmgr" before i reinstalled grub...
btw, should i have a "grub.conf"-file in /boot/grub?
- 09-28-2005 #6You should have a menu.lst file or a grub.conf file in /boot/grub. As long as you have 1, it doesn't matter which.
Originally Posted by Shamanix
And you are trying to run "fixmbr", not "fixmgr", right?How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 09-29-2005 #7Just Joined!
- Join Date
- Aug 2005
- Location
- Norway
- Posts
- 6
yes, "mbr". even installed windows again last night, then installed grub, still the same...
Could it be that i have serial-ata or linux on one hd and windows on another?
- 09-29-2005 #8
try putting :-
The rootnoverify statement says "this is where the operating system (OS) is, but don't verify that you can find one now, as it's a non-grub aware OS". The makeactive does just that, and then the chainloader statement says that the OS needs to be loaded in this way and that the first bit of the OS lives at block 1 on the hard disk that you already pointed to (with the rootnoverify).Code:title Microsoft Windoze XP rootnoverify (hd0,0) makeactive chainloader +1
good luck
Nerderello
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS
- 09-30-2005 #9Just Joined!
- Join Date
- Aug 2005
- Location
- Norway
- Posts
- 6
didn't work

maybe there's a problem with the HD, should i delete "everything" and make new partitions?
title Ubuntu, kernel 2.6.10-5-k7
root (hd1,5)
kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/sdb6 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-k7
savedefault
boot
title Ubuntu, kernel 2.6.10-5-k7 (recovery mode)
root (hd1,5)
kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/sdb6 ro single
initrd /boot/initrd.img-2.6.10-5-k7
savedefault
boot
title Ubuntu, kernel memtest86+
root (hd1,5)
kernel /boot/memtest86+.bin
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1


Reply With Quote
