LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   windows xp screwed fedora 5 grub loader (https://www.linuxquestions.org/questions/fedora-35/windows-xp-screwed-fedora-5-grub-loader-445291/)

vishallagdev 05-16-2006 08:57 AM

Hi Bob,

I forgot to post it before....
As I select to boot from Windows XP

the new screen says.....

rootnoverify (hd0,0)
chainloader +1

entering (or something similar) GRUB stage2...

BobNutfield 05-16-2006 08:57 AM

Try adding makeactive:

title Microsoft Windows XP
rootnoverify (hd0,0)
chainloader +1
makeactive

Bob

vishallagdev 05-16-2006 09:00 AM

Thanks Bob, But I tried doing that......

Same result.....

Says entering stage2...

vishallagdev 05-16-2006 09:02 AM

I think I screwed up the map file.....I am sure entered all the commands you posted......
and messed up with the mapping...

BobNutfield 05-16-2006 09:03 AM

OK

When you entered grub-install /dev/sda1, I believe you have installed grub on the boot sector of the linux partition instead of the MBR where it must be to boot windows.

Go back to original operation where you did grub-install and install it to /dev/sda which will put it one the MBR.

Bob

vishallagdev 05-16-2006 09:21 AM

Bob,

Sorry to bother you.....but same result....

vishallagdev 05-16-2006 09:29 AM

Have a look at syslog.....
I think my C: drive is screwed up too.....(when i try to mount C: drive(NTFS))
[root@xenon ~]# dmesg | tail
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs warning (device sda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs warning (device sda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volume.

BobNutfield 05-16-2006 09:32 AM

It is no bother at all. I am happy to help when I can, but I have to admit I am a little stumped now because the entry you have for Windows in your Grub.conf file is the same one I have and it boots to XP just fine. I did notice that you seem to be using LVM (Logical Volume Management) which I am not. That may require some different entries. Make a backup of your current XP grub entry and try changing it to this. If this does not work for you, delete it, and restore the old file.

title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
unhide (hd1,0)
hide (hd0,0)
rootnoverify (hd1,0)
chainloader +1
makeactive

I will do some searching for you and see if I can find anything on a problem duplicating yours.

Bob

BobNutfield 05-16-2006 09:37 AM

OK

After your last post, I will need to do some research before I suggest anything else. I am sure it is only the boot sector on the Windows partition which is affected and not Windows itself, so it is repairable. What generally happens in GRUB booting is that it simply turns the boot process over to Windows so that Windows uses its own boot loader to load itself. This, I believe, is all that is affected.

I will post more when I learn a little about this error.

Bob

vishallagdev 05-16-2006 09:47 AM

Thanks Bob,

I tried using the commands you posted....but is recieved this error....

disk does not exist (ie hda1 I guess)

Well I have to catch you tomorrow. Many thanks for helping me out.....
Thanks

jerzeejerome 08-27-2006 09:10 AM

Thanks Bob
I tried grub-install /dev/sda
Worked great, booted windows and all.

ninjaslanc 08-30-2006 04:23 AM

maybe this will help(hacks.oreilly.com/pub/h/2337), it helped me, but u must first have the windows whatever installed.
some usefull comment too i guess


All times are GMT -5. The time now is 06:04 PM.