Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Triple boot: Debian, Windows XP, Windows 10

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Triple boot: Debian, Windows XP, Windows 10

#1 Post by phenest »

I have 2 hard drives. Debian is to be installed on one, with Windows 10 & XP installed on the other. So far, so good. Except Grub only detects Windows 10 and not XP. Why is this?

Attempt 1:
I connected 1 drive only, and installed XP then 10. I connected the 2nd drive and installed Debian. Grub only detects Debian and Windows 10.

Attempt 2:
Same again, but I installed Windows 10 first, then XP. Same result. After installing Debian, Grub only shows Debian and Windows 10. No XP.

If I install XP only to drive 1 and Debian to the other, Grub detects XP.

I know Windows 10 has its own boot loader which allows dual-booting between 10 and XP, but it involves booting 10, selecting XP, then restarting, going through Grub then to XP. I was hoping for a more direct boot with Grub.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Triple boot: Debian, Windows XP, Windows 10

#2 Post by bw123 »

Attempt 1:
I connected 1 drive only, and installed XP then 10.

Attempt 2:
Same again, but I installed Windows 10 first, then XP
Does either win10/xp dual boot installation give you a multi boot option? In other words, without grub what happens when you boot two win installations?

Maybe if you let some of the gurus take a look at partition layout? There's a big demand for bootinfoscript so maybe try that and post some more info?

http://bootinfoscript.sourceforge.net/
resigned by AI ChatGPT

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Triple boot: Debian, Windows XP, Windows 10

#3 Post by kiyop »

bw123 wrote:Maybe if you let some of the gurus take a look at partition layout? There's a big demand for bootinfoscript so maybe try that and post some more info?

http://bootinfoscript.sourceforge.net/
+1

Make your own menuentry to boot Windows XP in /etc/grub.d/. Such as in 40_custom

Code: Select all

menuentry "WindowsXP" {
insmod ntldr
insmod ntfs
set root=(hdX,Y)
ntldr /ntldr
and then, execute "update-grub".

Reference https://wiki.gentoo.org/wiki/GRUB2/Chainloading
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Triple boot: Debian, Windows XP, Windows 10

#4 Post by phenest »

bw123 wrote:Does either win10/xp dual boot installation give you a multi boot option? In other words, without grub what happens when you boot two win installations?
If I boot without Grub/Debian/Linux, Windows 10 gives me a boot menu to choose between 10 & XP.
bw123 wrote:Maybe if you let some of the gurus take a look at partition layout? There's a big demand for bootinfoscript so maybe try that and post some more info?

http://bootinfoscript.sourceforge.net/
Partition layout of which drive? Debian or Windows? Windows chooses its own partition layout, so it would be whatever it defaults to.
Oh, incidentally, this is a legacy boot system. No UEFI.
kiyop wrote:Make your own menuentry to boot Windows XP in /etc/grub.d/. Such as in 40_custom

Code: Select all

menuentry "WindowsXP" {
insmod ntldr
insmod ntfs
set root=(hdX,Y)
ntldr /ntldr
and then, execute "update-grub".

Reference https://wiki.gentoo.org/wiki/GRUB2/Chainloading
Tried this. When I boot XP I get an error about C/H/S values.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Triple boot: Debian, Windows XP, Windows 10

#5 Post by phenest »

But if I boot Windows 10 (on partition #2), it boots XP on partition #1.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Triple boot: Debian, Windows XP, Windows 10

#6 Post by kiyop »

phenest wrote:
bw123 wrote:Maybe if you let some of the gurus take a look at partition layout? There's a big demand for bootinfoscript so maybe try that and post some more info?

http://bootinfoscript.sourceforge.net/
Partition layout of which drive? Debian or Windows? Windows chooses its own partition layout, so it would be whatever it defaults to.
Execute bootinfoscript and post the contents of the generated RESULTS.TXT.
phenest wrote:
kiyop wrote:Make your own menuentry to boot Windows XP in /etc/grub.d/. Such as in 40_custom

Code: Select all

menuentry "WindowsXP" {
insmod ntldr
insmod ntfs
set root=(hdX,Y)
ntldr /ntldr
and then, execute "update-grub".

Reference https://wiki.gentoo.org/wiki/GRUB2/Chainloading
Tried this.
Write concretely what you did. X and Y values are important.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Triple boot: Debian, Windows XP, Windows 10

#7 Post by phenest »

In this context, I believe that bootinfoscript is irrelevant because this is looking more like a Windows issue than a Debian/Linux issue, and I don't want to waste anyone's time here. Or mine. What I can observe is that Windows 10 seems to "take over" the other Windows OS's on the same drive. If I install XP then 10, I can only boot XP through 10. If I install 10 then XP, booting 10 actually boots XP instead and 10 is unbootable by any means. However, if I install XP and 10 to separate drives, Grub detects both and I can achieve what I need. It's a tower system with plenty of room for extra drives.

If I become too determined to have them both on the same drive, then I'll submit the query to a Windows forum.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Triple boot: Debian, Windows XP, Windows 10

#8 Post by kiyop »

I know such problem. You can modify boot.ini and use bcdedit / bootsect.exe command, and then copy ntldr and BCD and bootmgr to proper place. But you do not want to give me the results of bootinfoscript. Thus good bye and good luck.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

Post Reply