Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 31st March 2012, 05:41 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: grub2 not found WinXP

is that an exact copy of what you have?

There are differences in what I posted and what you have..

Like this.. You have
search - no-floppy - fs-uuid - set = root B484A45B84A4223A

and I put this:

search --no-floppy --fs-uuid --set=root value noted from blkid command above

If the UUID of your drive is B484A45B84A4223A

the the line should be:

search --no-floppy --fs-uuid --set=root B484A45B84A4223A

See the difference? You put 1 hyphen and a space where it should be double hyphens.

You can probably also delete the drivemap -s (hd0) ${root} line since you have only the one drive, as well.
Reply With Quote
  #17  
Old 31st March 2012, 06:01 PM
kotfantazer Offline
Registered User
 
Join Date: Jan 2010
Posts: 22
linuxchrome
Re: grub2 not found WinXP

I have a grub.cfg is two dashes! Copy here again:

menuentry "Microsoft Windows XP Professional (on /dev/sda5)" --class windows --class os {
savedefault
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root B484A45B84A4223A
drivemap -s (hd0) ${root}
chainloader +1
}

---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------

Copy the console output:

su -c blkid
Password:
/dev/sda5: UUID="B484A45B84A4223A" TYPE="ntfs"
/dev/sda1: UUID="a46f6781-e9c2-494d-9a4c-95ec35e1bf55" TYPE="swap"
/dev/sda3: UUID="dd040a49-ee2a-411a-b1a8-eec89f80e05c" TYPE="ext4"
/dev/sda4: LABEL="_Fedora-16-i686-" UUID="21636216-8232-4bb1-bf0c-ab2220cf6094" TYPE="ext4"

---------- Post added at 09:01 PM ---------- Previous post was at 08:53 PM ----------

I deleted the line: drivemap -s (hd0) ${root}
No result. Blinking cursor, but Windows will not boot.
Reply With Quote
  #18  
Old 31st March 2012, 10:35 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: grub2 not found WinXP

it should boot with that in your grub.cfg

I wonder if it is having issues because Windows isn't in the first primary partition?

What I pasted above boots Windows XP here with F16 and this boots Windows 7 with F17:

Code:
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
        search --no-floppy --fs-uuid --set=root 4EAE6CB6AE6C986B
	chainloader +1
}
Reply With Quote
  #19  
Old 31st March 2012, 10:45 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxfirefox
Re: grub2 not found WinXP

Why don't you have the OP mount /dev/sda5 and look and see if there is actually an XP OS there?
Did he have two Windows partitions... the first for the OS and then one for data?
Did he over write the OS partition installing Fedora leaving only the ntfs data partition?
The fact that the ntfs partition wasn't at the front of the hdd raises red flags in my eyes.
Reply With Quote
  #20  
Old 1st April 2012, 01:01 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: grub2 not found WinXP

Good point. I am sure beginning to think that there is really something weird going on with it. Windows XP just doesn't install itself into an extended partition, either. He did say that Windows booted, though, so I pretty much assumed it was ok. I did forget to ask if it booted fine after the Fedora install, though.

What you said does make sense. If by chance Windows got over-written, then that would explain everything.

Plus., looking back at the start/end sectors for the partitions, You can tell they were created in a weird order.

From looking at it, it looks to me like there was 1 primary partition, then 1 extended partition with the ntfs partition inside it. From what it appears to me, is that the primary partition was deleted, then sda1, sda3 and sda4 were created in the space the first partition took up

I would be willing to bet you are correct, Pablo. Originally, there was Windows system, and a ntfs data partition (in the extended partition) . Windows system got deleted Fedora got installed in that free space.
Reply With Quote
  #21  
Old 4th April 2012, 03:48 PM
kotfantazer Offline
Registered User
 
Join Date: Jan 2010
Posts: 22
linuxchrome
Re: grub2 not found WinXP

I've done this:
1) I put WinXP on the entire disk to the second partition.
2) It is formatted both partition under NTFS
3) WinXP run
4) On the first partition, I installed Fedora
5) WinXp no longer boot.
Reply With Quote
  #22  
Old 4th April 2012, 04:47 PM
sunnyy9 Offline
Registered User
 
Join Date: Mar 2012
Location: Mumbai
Posts: 36
linuxfirefox
Re: grub2 not found WinXP

Quote:
Originally Posted by DBelton View Post
That's interesting... Are you even able to boot Windows XP?

Windows XP usually requires itself to be on the first primary partition of the first hard drive. You have it in a extended partition, with your linux partitions before it on the drive.

That could possibly be your problem, too. I'm not certain if grub2 can pick up a Windows XP install in an extended partition or not, and even if it can, I'm not certain if Windows XP would even boot.

Just for reference, here is what I have on my machine where I dual boot Windows and Fedora.
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00045886

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   481282047   240640000    7  HPFS/NTFS/exFAT
/dev/sda2       481282048   483379199     1048576   83  Linux
/dev/sda3       483379200   491767807     4194304   82  Linux swap / Solaris
/dev/sda4       491767808   976773167   242502680    5  Extended
/dev/sda5       491769856   617598975    62914560   83  Linux
/dev/sda6       617601024   976773167   179586072   83  Linux
sda1 is my Windows partition
sda2 is my Fedora /boot
sda3 is my Fedora swap
sda4 is an extended partition to hold the others
sda5 is my Fedora /
sda6 is my Fedora /home

just going through different problems tht ppl r facing........
do u mean it is good if windows is on the first partition and linux on others???

just a small question and need an answer for tht, coz i dont want to loose all my data frm windows.....
Reply With Quote
  #23  
Old 4th April 2012, 06:26 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,220
linuxfirefox
Re: grub2 not found WinXP

Sunny, I'm sure you text a LOT, but please remember that we've got people logging in from all around the world and trying to translate the posts. So, as it says in the Posting Rules, please take the time to use regular English.

(Sheesh, I retired from Admin. status, didn't I? )
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #24  
Old 5th August 2012, 07:39 AM
bitcrusher Offline
Registered User
 
Join Date: Aug 2012
Location: Seattle
Posts: 1
linuxfirefox
Thumbs up Re: grub2 not found WinXP

DBelton just wanted to post to say that your method worked for me. I copied your section from grub.cfg and replaced the id. Thank you. I was struggling to get it to work and I couldn't update grub config files. I stumbled on this post via a google search. Windows is installed in sda1 on an ssd. Archlinux on my harddrive.
Reply With Quote
Reply

Tags
grub2, not found, winxp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
grub2 не видит WinXP kotfantazer Using Fedora 4 30th March 2012 05:48 PM
[SOLVED] Grub2, dev modifications from satndard grub2 install jakebpg Using Fedora 16 9th March 2012 08:39 AM
Latest grub2 update gives a "file not found" prompt; urgent assistance needed Boricua F16 Development 50 9th September 2011 07:24 AM
Grub2 Commands not found zackf Using Fedora 2 18th April 2009 04:42 PM
How to dual-boot Fedora Core 8 and WinXP (winxp installed 1st) LinuxNoobie Installation and Live Media 10 7th November 2008 05:31 AM


Current GMT-time: 04:40 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat