VOGONS


XP+DOS multiboot gone

Topic actions

First post, by gerwin

User metadata
Rank l33t
Rank
l33t

I tend to put Windows XP on a FAT-32 formatted partition, and installing DOS 7 first. This leaves me with a multiboot option wen pressing F8:
- Windows XP
- Windows 98 DOS prompt

Occasionally something happens that messes up the boot configuration, and only Windows XP can be selected. I remember fixing this in the past by starting windows XP setup/install from a bootable USB drive or CD. Then interrupt the installation at some point. Windows XP setup tends to rescan the boot options and restore the loader.

Anyone know an easier way to restore the boot options / loader?

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 2 of 12, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie

Go into Recovery Console from the install CD, and try BOOTCFG /REBUILD [edit: might be available on the command line too]

You could also try adding it manually in start->run->MSCONFIG.

Last edited by jwt27 on 2014-09-24, 19:54. Edited 1 time in total.

Reply 3 of 12, by Gamecollector

User metadata
Rank Oldbie
Rank
Oldbie

Msconfig.exe in WinXp. "BOOT.INI" tab.
Win9x starts through c:\="<string_name>" in [operation systems] section. In your case the string will be c:\="Windows 98 DOS prompt".
If win9x boot files (io.sys, msdos.sys, bootsect.dos) are damaged - dunno. I know that you can install WinME after WinXp and the Xp boot manager will add WinME correctly in boot.ini. But I'm not sure about Win98/98SE.

Asus P4P800 SE/Pentium4 3.2E/2 Gb DDR400B,
Radeon HD3850 Agp (Sapphire), Catalyst 14.4 (XpProSp3).
Voodoo2 12 MB SLI, Win2k drivers 1.02.00 (XpProSp3).

Reply 4 of 12, by GeorgeMan

User metadata
Rank Oldbie
Rank
Oldbie

It doesn't have to be FAT to be able to multiboot into XP/98.

I do the following: 160GB-infinity HDD. Partition and format the FIRST 120GB as FAT32. Install windows 98SE in there. When, format the rest as NTFS and install XP. They'll auto detect the 98 installation and provide a boot menu. You'll be able to do whatever you want to the FAT32 partition from within XP, but at the same time 98 will be totally unaware of the NTFS partition and XP, so there will be no problem at all.
You can even tweak the boot menu to boot into 98 by default instead of XP. 😉

Acer Helios Neo 16 | i7-13700HX | 64G DDR5 | RTX 4070M | 32" AOC 75Hz 2K IPS + 17" DEC CRT 1024x768 @ 85Hz
Win11 + Virtualization => Emudeck @consoles | pcem @DOS~Win95 | Virtualbox @Win98SE & softGPU | VMware @2K&XP | ΕΧΟDΟS

Reply 5 of 12, by gerwin

User metadata
Rank l33t
Rank
l33t

Thanks for the suggestions.
All kind of things happened, but it is not fixed yet.

boot.ini is identical to my other systems where it works.
I have no CD drive on the netbook, so I made a Windows XP Recovery Console USB stick: Link. This allows me to use BOOTCFG.

I used BOOTCFG before and actually was now convinced it could fix the issue, but it just messed up: Multiple Windows XP entries selectable at startup, but pointing ot the wrong partition.

I reverted to a bad habit which I also remember from before: I booted with a DOS stick and did "SYS C:". That made the DOS prompt work again, and ONLY the DOS prompt. 🤣

Some BOOTCFG /REBUILD stuff again (and "fixmbr" and "fixboot" ), and some manual boot.ini editing. Things start to look good: I can choose XP or DOS at startup. But when I select DOS the system hangs, and I just see a blinking cursor.

Tried it again: Same thing, it results in booting just DOS, or being able to select Windows XP with a broken DOS.

Besides that:
I copied all the root files from a backup to C:. It does not change anything. File sizes and timestamps are the same.

The problem I tried to fix may not have been there in the first place: I noticed it depends on when you press F8: if you press early you can select the OS, if you press late you get the same screen but without OS selection, just LOG and Safemode stuff.

May have to accept that I just need a bootable-USB stick to get to DOS... 😒

Last edited by gerwin on 2014-09-25, 22:31. Edited 1 time in total.

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 6 of 12, by smeezekitty

User metadata
Rank Oldbie
Rank
Oldbie

Maybe your boot timeout is too short?

Reply 7 of 12, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie

You could also leave DOS bootable, and add a CONFIG.SYS menu option to boot Windows XP.

Reply 8 of 12, by gerwin

User metadata
Rank l33t
Rank
l33t
smeezekitty wrote:

Maybe your boot timeout is too short?

The timeout was 0, that is why I used the F8 key. It is only rarely that I had any need for the Netbook to boot to DOS.

jwt27 wrote:

You could also leave DOS bootable, and add a CONFIG.SYS menu option to boot Windows XP.

Don't think that is possible, it would be like loading Windows 2000 from the DOS prompt. And I tried that in the past, for some other experiment: Something called GRUB bootloader is necessary to start windows 2000 from the DOS prompt without full reset.

Since the actual files in the root do not seem to matter much, the problem is probably outside of the file system area. So maybe it is an idea to backup the Master Boot Record area (MBR) of a similar netbook and pasting it to the problematic one? One significant difference is that one Netbook has an SSD and the other one has a normal HDD. And SSD's need to be 'aligned'.

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 9 of 12, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie
gerwin wrote:

Something called GRUB bootloader is necessary to start windows 2000 from the DOS prompt without full reset.

Exactly, GRUB4DOS will do it 😉
Drop the exe somewhere on your harddrive and add the following line to CONFIG.SYS (bound to a menu option of course, without loading any memory managers):

DEVICE=C:\GRUB\GRUB.EXE --config-file="root (hd0,0);chainloader /ntldr"

I've been using this for years to dual-boot DOS & Windows 2000, works perfectly. If Windows ever decides to overwrite your MBR again, SYS C: will fix it right away.

Reply 10 of 12, by gerwin

User metadata
Rank l33t
Rank
l33t

Thanks,
I will try your method and my MBR idea later. This issue took to much of last evening already.

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 12 of 12, by smeezekitty

User metadata
Rank Oldbie
Rank
Oldbie

A boot timeout of 0 is unreliable. I would set it to something like 3 seconds and give it a run. Hitting F8 you have extremely high chance of missing it and passing it to windows
to bring up the windows startup options