LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-16-2006, 08:57 AM   #16
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15

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...
 
Old 05-16-2006, 08:57 AM   #17
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Try adding makeactive:

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

Bob
 
Old 05-16-2006, 09:00 AM   #18
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks Bob, But I tried doing that......

Same result.....

Says entering stage2...
 
Old 05-16-2006, 09:02 AM   #19
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15
I think I screwed up the map file.....I am sure entered all the commands you posted......
and messed up with the mapping...
 
Old 05-16-2006, 09:03 AM   #20
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-16-2006, 09:21 AM   #21
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15
Bob,

Sorry to bother you.....but same result....
 
Old 05-16-2006, 09:29 AM   #22
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 05-16-2006, 09:32 AM   #23
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-16-2006, 09:37 AM   #24
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 05-16-2006, 09:47 AM   #25
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 08-27-2006, 09:10 AM   #26
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

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

Last edited by jerzeejerome; 08-27-2006 at 09:17 AM.
 
Old 08-30-2006, 04:23 AM   #27
ninjaslanc
LQ Newbie
 
Registered: Aug 2006
Location: slovenia/europe
Distribution: fedora core 5
Posts: 4

Rep: Reputation: 0
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
 
  


Reply

Tags
grub, windows, xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add Windows XP to Grub boot loader? LUB997 Linux - Software 29 10-17-2009 11:11 AM
Please help me get back into WinXP. I screwed up Grub Boot Loader deived Linux - Newbie 8 10-31-2008 09:23 PM
Grub loader not loading Windows XP or Fedora Core 1 after changing partition size. zetafunc Fedora - Installation 17 06-12-2005 01:27 AM
Screwed up my grub. conf file. Can't get into Fedora? mman49 Fedora 5 05-07-2004 10:11 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration