LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2017, 07:16 PM   #16
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,555

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088

Playing with the Windows Boot Configuration Data store is not a task to be taken lightly. It might be worth seeing if the free version of Macrium Reflect can fix up the Windows XP boot, but you would probably find that Windows 10 would then no longer have a way to boot and would have to be fixed up as well. I wouldn't recommend doing any of that without first saving away an image of both partitions.
 
Old 02-03-2017, 09:09 PM   #17
davexnet
LQ Newbie
 
Registered: May 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
rknichols - I've switched back and forth between the XP and Windows 10 boot loaders during my testing, I can do it with my eyes closed now,
using the XP and Windows 10 boot media (XP, recovery console, fixboot. Windows 10/startup repair)
The problem is exactly as you said, if I put back the XP boot loader I can no longer boot Windows 10.

With the Windows 10 boot loader installed I can certainly boot XP and it starts up fine, but I get an occasional crash in some applications
that only occurs when XP is booted through 10's boot manager. Firefox was one of the problem apps and one of their developers working in
the "bugzilla" forum have corroborated my findings concerning a crash when XP is booted through the Windows 10 loader on my hardware/dual boot
scenario, specifically AMD FX 4300 CPU

This is why I persevered with this quest; to see if there was a way to boot XP through GRUB, when XP's boot sector was not "installed".

If I find out later that it's possible I'll certainly come back here and update the thread. For now, I can certainly boot XP from a floppy
and leave Windows 10's boot manager installed
 
Old 02-04-2017, 04:39 PM   #18
davexnet
LQ Newbie
 
Registered: May 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
I was able to get this to work from looking at the existing grub.cfg, and info I was able to cobble from the internets.
I don't understand all the details but the Grub boot loader branches off directly to NTLDR, doesn't even need the XP boot sector.
Here's the entry:

menuentry "Windows XP" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='hd0,msdos1'
search --no-floppy --fs-uuid --set=root DE3C91D93C91AD51
drivemap -s (hd0) ${root}
ntldr ($root)/ntldr
}

For more info:
http://askubuntu.com/questions/13527...dows-partition
https://www.gnu.org/software/grub/manual/grub.html
 
  


Reply


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
[SOLVED] Booting into linux when your boot sector is gone? Avatar Linux - General 23 10-29-2009 10:34 AM
[SOLVED] how can a boot sector be repaired to then allow grub to install for chainload booting james2b Linux - Newbie 20 10-08-2009 09:07 PM
GRUB stage 1.5 on partition boot sector ? Vilius Linux - Software 1 03-02-2009 04:54 PM
help on installing grub on first sector of /boot kirtikjr Linux - Software 1 06-27-2007 04:16 PM
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration