Before we begin.
Setting up a Windows 98 as a second OS along with factory Xandros Linux on Asus EEE PC is a bit complicated task. There are a few reasons for it.
- no built in FDD
- no built in CD drive
- it is not possible to change Grub OS loader settings from Xandros.
The XOSL is a boot manager capable of storing the original MBR in a file and swapping drives when booting. While using the swap drives function it will be possible to boot from a flash drive and then to change the boot drive to the built in drive. So, a FAT32 partition with Windows 98 system files could be booted without destroying the Xandros Grub boot loader, that way.
One or two bootable flash or USB HDD drives will be necesary. One drive with SysRescue CD and the other with Windows 98(9x) DOS mode files. (Or one dual boot drive with two partitions).
The DOS drive should contain XOSL, Windows 98 setup, SYS.COM and HIMEM.SYS files. And perhaps some DOS file manager (DOS Controller or Norton Commander). Also the XOSL should be installed on the DOS drive (preferably with the Rainish Partition manager).
The first thing to do is to upgrade the BIOS, as it works only when the factory partition layout is untouched. It will stop working after the FAT12 partition is deleted.
1. Boot the SysRescueCD and resize the the second EXT3 partition with GParted. The GUI is run through "startx" command. The GParted utility is accessible through context menu on the desktop.
GParted has some difficulties with handling FAT32 partitions. It failed in my case. So, other partition manager should be used to make the Windows 98 FAT32 partition.
2. Boot the DOS flash and start Rainish Partition manager from XOSL boot menu. Use (Ctrl-P) on the boot manager screen. Then Delete third FAT12 partition and create a new FAT32 in it's place.
3. Boot the DOS and put Windows 98 system files with SYS command to the new partition. Then copy the Windows 98 setup and HIMEM.SYS files there. (creation of a proper config.sys file could be necesary to make the HIMEM.SYS work).
4. Boot the DOS drive again. This time it will be necesary to add an additional boot option in the XOSL. Select the new FAT32 partition and check the "Swap drives" checkbox. It will make the new partition to be the C drive after booting. Then install the XOSL on the C drive. After a reboot The Xandros boot option will require to boot from the original MBR, while Windows 98 partition can be booted directly.
5. To setup Windows 98 boot the system from the new partition, then use the SETUPCOR.EXE, as the SETUP.EXE will not work on the EEE PC. Also the keyboard and touch pad will stop function after Windows 98 will do PnP devices check. It will be necesary to switch off the computer, when the date and time settings dialog is displayed. Luckily the setup will continu from the same point after booting the Windows 98, again.
6. After finishing the Windows 98 setup, it will be necesary to restore the XOSL and Xandros booting option, as Windows 98 destroyed the MBR OS loader durin the setup. In order to do so:
- Boot to the SysRescueCD again.
- mount the new FAT32 partition. An examplary commands are:
mount -t vfat /dev/sda3 d
- restore the Grub boot loader from orig_mbr.xcf file using DD
DD if=orig_mbr.xcf of=/dev/sda
- boot to Windows 98 as it was in the step 4 again and install the XOSL.
Now you should be able to boot to Windows 98 and Xandros at will using the XOSL.
Edited by Sfor, 02 April 2009 - 02:15 AM.