This manual comes with ABSOLUTELY NO WARRANTY and is distributed under the terms of the GNU General Public License (GPL). Check for newer versions now and then. Please feel free to mail me personally at filip.komar@email.si and send me your questions, comments, problems, confirmations, solutions, opinions, additions, thanks, etc...
Before starting anything, I'd like to know if I can install XOSL without reinstalling anything?
You can, but only after reading the documentation.
Tell me the recommended short procedure for installing more Operating Systems and multi-booting
Small complicated example showing how to install Windows NT, Windows 98, Windows 2000 & Redhat Linux 6.1:
Important tips & tricks
How to install or run Windows 9x on a logical partition?
It's not possible to install Windows 9x on a logical partition directly because of the "SU 013 Error". But, wait, there are possibilities for that, although they are tricky:
Copy the Windows primary partition to a logical partition and make it bootable. Detailed instructions follow:
With Partition Magic this task is even simpler: make room for the new partition you are going to create in free space in the extended partition, then Copy it from the original; after that type "sys ?:" (replace ? with your new partition). That's it! You can also create another primary partition for that if possible. But, beware one thing; you shouldn't change the order of your Windows partitions. The partition that was originally c: should still be c: afterwards. If this is what you wanted, then this partition must be the first nonhidden primary or logical partition (e.g. hide all preceding FAT partitions).
Now when your "logical" Windows 9x is working, there are no restrictions on installing whatever Operating System(s) you want on your first primary partition, and you can repeat this as many times as you need for multiple installation of Windows 9x! Note another thing; when booted with XOSL Windows 9x doesn't need to reside on an active partition.
Maybe this picture will explain better. My recommendation for installation of XOSL is (usually hidden) non-dedicated logical partition.
Partition structure before:
Primary |
Extended | |||||
|
|
Partition structure after:
Primary |
Extended | |||||
|
|
For running "Windows 9x A" hide just first primary partition. Maybe for safety second logical too. At least during installation. For running "Windows 9x B" hide first primary and also first logical partition.
I have installed Windows NT or 2000 in a logical partition and want to boot it from there. What should I do before hiding primary (boot) partition (C:)?
One way is copy boot files for Windows NT or Windows 2000 from its primary partition to the target logical partition and then hide the original primary partition. Hiding is preferred in Windows but not in XOSL, and especially not with Windows 2000. Remove its drive letter with Disk manager in Windows NT (or DiskManagement in Windows 2000) in your administrative tools in Windows NT or 2000. Change your Boot item to boot the logical partition and test it. After success you can safely format your primary partition and use it for any other Operating System or purpose.
Boot files for Windows NT or Windows 2000:
and for Windows 2000 also:
Check date and time just to be sure but, if you're still not sure, just copy all system and hidden files from the root of your old boot partition to your new logical partition. Make that logical partition bootable if it is a FAT type partition and not formatted with Windows NT or 2000. Use program BootPart for that. Read its documentation, but here are short instructions: Boot that partition (the rest should have been hidden with XOSL) with Windows 9x or DOS floppy and type: "bootpart winnt boot:c:". Be sure to check with "dir" that your current "C:" is the one just before that.
Note: for Windows NT it is also necessary that the installed Service Pack is at least Version 4.
Booting OS/2 from a logical partition
XOSL is able to boot the OS/2 Boot Manager, which in turn can boot OS/2. Just change your Boot Manager settings so that it boots the default OS/2 partition on the fly, without waiting... so when XOSL boots OS/2's Boot Manager you'll see it flashing on the screen and then OS/2 boots. Or, if you want to quickly pass over OS/2's Boot Manager, just add the necessary keys in your OS/2 Boot item. If your Warp partition is the default choice under OS/2's Boot Manager, simply add an extra return to the "KEYS" page in XOSL settings. So, when you'll boot OS/2, XOSL will stuff a "return" in the keyboard buffer. Now you won't even see Boot Manager flashing on the screen...
For those who boot OS/2 from a primary partition there's no problem at all: XOSL does an excellent job!
Which Operating System needs a logical or an active partition when booted with XOSL?
Operating System and version |
Install on logical partition |
Run from logical partition |
Can use more than one primary partition |
Active partition not needed for booting |
MS-DOS 6.22 |
No |
No |
No |
? |
DR-DOS 7.03 |
Yes |
No |
Yes |
Yes |
MS-DOS 7 from Windows 95B |
Not directly (use "SYS") |
Yes |
No |
Yes |
GNU/Linux |
Yes |
Yes |
Yes |
Yes |
Oberon 2.3.6 |
Yes |
Yes |
? |
Yes |
Windows 95B |
Not directly |
Yes |
Yes (but be very careful) |
Yes |
Windows 98SE |
Not directly |
Yes |
Yes (but be very careful) |
Yes |
Windows ME |
? |
? |
Yes (but be very careful) |
? |
Windows NT 4.0 |
Not directly |
Yes |
Yes |
Yes (note: boot partition can be hidden) |
Windows 2000 |
? |
Yes |
Yes |
Yes (note: boot partition can be hidden) |
hda1 |
Windows 2000 |
(FAT32) |
around 7 GB |
hda2 |
extended partition |
around 2.7 GB |
|
hda5 |
/boot |
(ext2) |
around 16 MB |
hda6 |
/ |
(ext2) |
around 2.5 GB |
hda7 |
(Linux Swap) |
around 133 MB |
I used Partition Magic to do this.
2. Installed Windows 2000. Into its partition
3. Got onto the Net and then downloaded the latest version of LILO (At least version 0.21.4.2 or later).
4. Installed Redhat 6.2.
It doesn't really matter where you setup LILO to install itself, as it won't work until you install the new version. I installed it to the /boot partition. This way I could still boot into Windows.
VERY_IMPORTANT: When it asks you to make a boot floppy MAKE the boot floppy.
5. Use the boot disk to get into Linux.
I am not sure how well you know Linux, so I will provide you with the steps that I used to get LILO installed. (Note I am just a beginner in Unix/Linux so this may not be the best way to do it, but I know that it works). (Anything in between a * is a command)
*cd /mnt*
*mkdir /win* (I am making a directory to link to the Windows Partition).
*mount -t vfat /dev/hda1 /win* (Windows was on hda1 for me, so I link off that dir)
*cd /usr/src* (This is where I am putting all my source code)
*tar xzvf /mnt/win/(Directory with your LILO.tar file)/lilo-21.5.1.tar.gz*
*cd lilo-21.5.1*
*make*
*make install* (This will have setup and installed LILO.)
Now you have to configure the LILO Config file.
Use your favourite editor. I use pico
*pico /etc/lilo.conf*
(My lilo.conf file looks like this).
******Start lilo.conf file************
boot=/dev/hda5
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default="Linux 2.2.14"
image=/boot/vmlinuz-2.2.14-5.0
label="Linux 2.2.14"
read-only
root=/dev/hda6
image=/usr/src/linux/arch/i386/boot/bzImage
label="Linux 2.4-pre9"
read-only
root=/dev/hda6
********End lilo.conf file************
Note that the "lba32" is needed to get LILO to work.
Also when LILO is installed there is a file in the /usr/src/lilo-21.5.1 directory called Disk.com. If you copy it onto a bootable disk and boot off it, then run that file it will tell you whether your BIOS will support lba32 calls.
How XOSL 1.1.x works
There are three steps to 'how XOSL works':
Booting Windows or DOS from a second or later hard disk
Q: I now have 2 IDE hard disks. When I boot Windows from the 2nd hard disk, my hard disk runs in DOS compatibility mode, and Windows is slow as hell. There is also a message that says that my MBR may be infected by a virus or something. Is there a way to make my Windows on second hard disk NOT boot in DOS compatible mode when I boot it with XOSL ?
A: Don't select Swap hard disk, just hide all (or at least primary) FATxx partitions on the 1st hard disk when booting 2nd hard disk Windows.
EZ-Drive and XOSL 1.1.x
First you need to know something about EZ-Drive. It is a DDO (Dynamic Drive Overlay) program, which is intended to handle hard disks with more than 1024 cylinders when your BIOS can't. It was adopted around the time disks got bigger than about 504 MB. MBR loads EZ-Drive. I think that the first cylinder is used for binary itself and for up to 10 backups of "replaced MBRs". When backups are full EZ-Drive doesn't backup any more and may possibly lose new partitions (it happened to me a few times - I now use the freeware program MBRWork to backup myself). There is program for erasing those "nasty backups" called "baktrak.exe" from the makers of MaxBlast, which is just another version of EZ-Drive. But it doesn't work on all versions of EZ-Drive.
As far as I know EZ-Drive needs an active primary (but it could be hidden) partition and can only boot DOS, Windows or another boot sector with signature 0AA55h. So one option is to use the Windows NT or 2000 loader; another is changing that magic number with some kind of disk editor like "PTS DiskEditor".
Philippe Guillemette found a reason why EZ-Drive can't boot XOSL (between version 1.1.0 and 1.1.5) directly as second boot manager (on dedicated partition):
I checked a while and I saw in XOSL source code, that the boot sector signature is 0534Fh. It seems that the EZ-Drive *must* have the standard boot sector signature 0AA55h to allow a partition to be booted, even it is set "active" in the partition table. But interesting, partition type is not important.
How to install XOSL 1.1.5 if you have to use EZ-Drive:
If you need a detailed procedure for using Windows NT or 2000 loader, here it is (IMPORTANT: reboot only if allowed):
[boot loader] timeout=1 default=C:\curr_mbr.xcf [operating systems] C:\curr_mbr.xcf="XOSL" C:\BOOTSECT.W95="Win 95 Command Prompt" /win95
I lost LILO and Linux doesn't start anymore. How can I fix it?
Excellent post from Tom A. Honermann explains all:
Here is what happened:
You had Windows 9x already installed.
You installed GNU/Linux.
GNU/Linux installed LILO to the MBR (Master Boot Record) of your first disk thus blowing away Windows 9x's MBR (which is normal).
LILO was configured to boot either Windows 9x or GNU/Linux.
You installed Windows 9x again, which installed it's boot loader to the MBR again and lost LILO.
What you need to do:
Re-install LILO back to the MBR and use it to boot both Operating Systems as before; or, even better, re-install LILO to the boot block of a "/boot" partition or (if you don't have one) to your root partition "/". The partition that you'll use must be within the first 1024 cylinders of the disk or get newer LILO (At least version 0.21.4.2 or later). Then use XOSL to boot that partition
How to do it:
LI ERROR
Q: I have Linux & LILO installed on my 2nd hard disk. When trying to boot it, LILO stops with 'LI' When I disconnect my first drive, LILO boots up just fine. What should I do?
A: In this case, LILO expects to be on the first drive, which it is when the 1st hard disk is disabled. However, when you use XOSL to boot LILO, LILO is on the 2nd drive. Then it's only natural that LILO will fail to boot. To solve this, you have to reconfigure LILO, while the 1st hard disk isn't disabled (so you'll have to boot Linux from a CD). Linuxconf or YAST should be able to do this.
Note also that your /boot partition has gone from /dev/hda? to /dev/hdb?!
No Active Partition error
Q: The problem I have is that, after booting into the logical partition, the next time I start the computer it responds with a "no active partition found error" before it gets to XOSL. I then have to reset an active partition using FDISK. Is there a way round this?
A: When you boot off the logical partition, XOSL will activate it. However, your BIOS doesn't like it when no primary partition is active after reboot, hence the error. To solve it, uncheck the 'Activate' check box for the logical partition Boot item.
Manual backup of XOSL's files
No one knows when you'll need it, so backup these files for version 1.1.x:
How to restore that backup depends on the situation. If XOSL isn't installed at all, install it and overwrite those three files with the backups.
If XOSL is installed, just overwriting will do.
IMPORTANT NOTE: files of different versions may not be compatible with each other! Only when easy-upgrade is supported, can you exchange them between different versions.
I installed Windows NT on the second partition. After the reboot it just halts without showing NTloader.
Windows NT without Service Pack 4 or higher must boot from the within the first 4 GB of a hard drive. This problem is avoided with the 3 Windows NT setup disks created during installation. When asked, supply the driver disk with Service Pack 4's file ATAPI.SYS. Be aware that, whilst this solution does work, the boot process takes a few seconds longer.
See the following Microsoft KnowledgeBase articles for details on this: Q197295 and Q102873. However they forget to tell you that you need to copy ATAPI.SYS to NTBOOTDD.SYS in the same folder as your BOOT.INI file.
Also Ranish Partition Manager can overcome this situation. Check its documentation for details.
Hiding Partitions in Windows NT or 2000
Q: When I boot Windows 2000, I get to the login dialog, but it goes into an infinite loop of trying to read/write my preferences. Windows 2000 works fine if I remove XOSL and just make that partition active. What should I do?
A: This is likely to have happened if your partition was visible when you installed Windows 2000. It doesn't matter if it is later marked as hidden, Windows 2000 will always assign it a drive letter. So don't hide partitions in XOSL for Windows 2000. That Operating System wants to know everything about your partitions and if you hide any it is confused and "restarts" all the time to reread the preferences.
To change partition visibility in Windows 2000 go to the "Computer Management->Disk Management" option, select your partition, right-click and choose "Change Drive Letter and Path." Now click the "Remove" button and it will remove your drive letter assignment, effectively making it hidden. You can use the same method (but clicking "Add") to make hidden partitions available to the Operating System. In Windows NT use Disk manager in Administration tools. Remember that once you assign a drive letter, it will stay visible until you remove the assignment, regardless of whether XOSL makes it hidden or not on boot-up.
XOSL - excellent bootmanager
http://www.xosl.org
http://xosl.sourceforge.net
Ranish Partition Manager - excellent partition manager; useful also for copying partitions
http://www.users.intercom.com/~ranish/part
Partition Resizer - nice partition resizer
http://members.xoom.com/Zeleps
BootDisk - useful tools and boot disks of all kinds
http://www.bootdisk.com
BootPart - interesting program for multibooting in general
http://www.winimage.com/bootpart.htm
INSTALLING A DRIVE AND COPYING WIN95 - a lot of information about copying Windows to other partition
http://thef-nym.sci.kun.nl/~pieterh/copying-win95.html
DOSLFNBK - backup and restore long filenames and attributes in plain DOS
http://www8.pair.com/dmurdoch/programs/doslfnbk.htm
GNU/Linux - excellent and free Operating System
http://www.linux.org
http://www.freshmeat.net
LILO - LInux LOader
http://www.lilo.org
http://www.freshmeat.net
MBRWork - interesting freeware program to backup, restore or erase your MBR; also very useful if you have EZ-Drive
http://www.terabyteunlimited.com
Partition Magic - commercial software from PowerQuest, but the best one to play with partitions
http://www.powerquest.com
PTS DiskEditor - very useful (and free) disk editor
http://www.PhysTechSoft.com
Smart Boot Manager - nice little boot manager capable of booting from CD-ROM
http://btmgr.sourceforge.net
All mentioned product names are trademarks or registered trademarks of their respective companies.
Geurt Vos - for his eXtended Operating System Loader and it's documentation and accessories
Vijai K. Amarnath - some interesting information from his OSLoader documentation
PowerQuest - for lots of information and very simple but extremely powerful partition manager
Users of XOSL - for posting interesting questions and effective solutions
GNU/Linux community - for excellent volunteer work
Philippe Guillemette - for his solution for EZ-Drive to boot XOSL directly
Authors: Filip Komar (filip.komar@email.si) and many others, who posted on XOSL's mailing list (Please don't say it's Copyrighted)
Editor (Suggestions, Grammar & Spell Check): David Denny: English (UK)
Proofreading and converting to HTML: Geurt Vos
NOTE: date format in d.m.yyyy!
Version 1.00
Last change: 6.3.2001 by Filip
Last revision: 8.2.2001 by David
Converted to HTML: 1.3.2001 by Geurt