A
A
AlexSpark2011-01-12 11:13:35
linux
AlexSpark, 2011-01-12 11:13:35

Grub2 - multiboot Ubuntu and two WinXP?

The situation is as follows:
There are two Windows XP and Ubuntu 10.10, each system is on a separate partition.
WinXP was installed first, they have their own NTLDR bootloader. After installing Ubutnu, the boot options for Ubuntu itself and the Windows bootloader became available in the Grub2 menu. When you go to the second item, NTLDR appears, where you can select a specific WinXP.
Question:
Is it possible in Grub2 to make it so that immediately from it to go to the desired system without getting into NTLDR along the chain?
Solution found
Following the advice of Inlarion and xSus, we managed to cope with the problem. And the solution is to create an NTLDR bootloader for each Windows partition. After making these changes and updating Grub, he picked up both systems himself. A slight boot.ini tweak in the relevant sections and manipulations in the 40_custom script made it possible to achieve the desired result.
Thank you very much for your help!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
I
Inlarion, 2011-01-12
@AlexSpark

Determine in which Windows you have ntldr (search in the root of the partition) and copy it to the second partition, with the second Windows, namely the files:
C:\ntldr
C:\boot.ini
C:\NTDETECT.COM
C:\Bootfont. bin
Edit the boot.ini files, excluding the second Windows from the first file, and the first from the second, set timeout 0
Configure grub as you were told above, adding the second Windows in the menu.lst file, only on a different partition, it may not work the first time and you will have to play with makeactive in the list settings, but it depends on the registry settings of the second Windows. In theory, everything should work immediately.

X
xSus, 2011-01-12
@xSus

There is such an option: for each Windows you need your own ntldr, then from the rough you can configure the loading of a specific ntldr. (you can search, I can tell you, I just think the answer is fundamental now)
And configure each of ntldr to load its own operating system without showing the menu to the user.
do not get rid of ntldr. rude does not know how to load Windows, but you can make it so that ntldr is not shown to the user. everything will look as if it were rudely loading Windows.

K
kekoz, 2011-01-13
@kekoz

Is using grub a fundamental point? If not, then you can do the opposite - use ntloader as an OS boot manager.

P
Puma Thailand, 2011-01-12
@opium

No
Delete vinhp superfluous and all. It will immediately boot after a rough Windows.

Z
zizop, 2011-01-12
@zizop

Edit menu.lst and/or use the StartUp Manager GUI utility:

sudo apt-get install startupmanager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question