Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have 1 Hard drive:
How do I boot these 3 OS's?
I Think:
1)Make 3 Partitions(2 FAT32 & leave the rest)
- 1 for Windows ME & Windows 2K Pro
- 2 for Common Files(between ME & 2K
using FAT32)
- 3 for Linux
2)Install Win ME
3)Clean Install Win 2K Pro
Now I have a dual boot screen at startup to choose between Windows ME & Win 2kWhat now??

I am also looking to do the same thing. so please do let me know if you get some help.
Thanks in advance.

go on & install linux
when booting first it will be lilo then only the win2k loader.
just this simple. I have this in my PC

If you want to make this as easy as possible...
Install GRUB, this should auto detect your
various OS and you will be able to make your
OS selection very easy..
I have on my machine.
WinMe 5GB
Win2K Pro 5GB
Linux Mandrake 7GBIt's a beautiful thing.

I'm not sure if the following will work. It seems complicated to me. It is supposed to be a multi booting solution for Windows 98, Windows NT, and Linux. Windows 2000 is NT isn't it? Anyway, here's what I found though I haven't tried it yet because I don't have Linux yet.
Here it is:"Triple Booting Windows 98, Windows NT and Linux
The following will show you how to set up your machine to triple boot Windows 98 (or Windows 95), Windows NT and Linux on the same machine. When you are finally done, you will be using the Windows NT boot loader to boot all three operating systems on the same machine. I assume you have a large disk. WARNING: I TAKE NO RESPONSIBILITY FOR YOUR DATA IF THIS DOESN'T WORK FOR YOU.
First, you will need to back up any data you want to save on your current machine somewhere. Also, you may need to upgrade your BIOS (by flashing it with a newer one) if your BIOS doesn't recognize the whole disk. Older BIOSes may not recognize disks over 8 gig. Careful when flashing your new BIOS. If you do it wrong, your system won't boot and you will have to buy a new BIOS chip, remove the old one and install the new compatible one. (By the way, "flashing" just means running a program that writes the new BIOS to your chip.)
You will be installing Windows 98 first, then Linux and then Windows NT. You must put the Windows 98 partition and the Linux kernel file within the first 512 megabytes. The location of any of the other partitions does not matter. On Linux, the kernel usually goes in / or /boot. That means that the / or /boot partition should be within the first 512 megabytes. /boot was created on Linux so you could create a separate /boot partition only containing the Unix kernels and put / wherever you want on the disk. I usually don't do this. I create a combined / and /boot (one partition) and make the Linux / partition about 100 meg. Separating /boot from / so I can put / wherever I want is too much work.
So, assuming you are starting with a blank disk, a good partition scheme is to run DOS "fdisk" and create two partitions. The first partition is 100 meg and is the Linux / partition. The second partition is your Windows 98 partition and you can make this any size you want. Leave some room for more Linux partitions though unless you have a second disk. Set the Windows partition active so when you install Windows 98 first it will install here. Later, when we install Linux, we'll need to convert the 100 meg partition from FAT (Windows' file system) to ext2 (Linux's file system). We'll add other Linux partitions later when we install Linux.
If you already have a Windows 98 partition on the disk, you'll have to use a program likes fips or PartitionMagic to shrink your partition and rearrange your disk. I haven't used these tools so you are on your own.
Assuming that you have your disk(s) partitioned as you want, format the Windows 98 partition (the second partition on the drive), make it active and install Windows 98. When Windows 98 is done being installed, it will write a master boot record to the beginning of your drive and your machine will automatically run Windows 98 when it comes up.
Next, install Linux. As you install Linux, you want to convert the first 100 meg partition from FAT to ext2 and call it "/". Also, create a Linux swap partition of about 120 meg, a /var partition of about 200 meg (this is for temporary mail and news files) and a /usr partition (where all the programs go). The /usr partition should be at least 700 meg. Virtually everything gets stored here. Also, you may wish to create a /home partition for user accounts and a /tmp partition for temporary files. If you don't create a /tmp partition, temporary files will go in the / partition.
As Linux is being installed, it will notice that there is a Windows 98 FAT filesystem on the disk already installed. It will call this partition "dos" and will offer to insert it in the LILO (Linux loader. This will be your new boot program rather than the one that Windows 98 installed) configuration file. So, after you install Linux, you can type "linux" to LILO to boot Linux or "dos" to boot Windows 98.
As you are installing Linux, when it gets to the section offering to create a boot floppy for you, do it! If your boot record gets trashed, you will still be able to boot Linux off this floppy. Also, when it offers to write the boot record in either the Master Boot area or on your / partition, pick the Master Boot area not the / partition. This will trash the master boot record written by Windows 98, but that is OK because you've told LILO about the "dos" partition too and LILO will give you the option to boot either when it is installed.
There are two places you can write the boot record: the master boot area and the beginning of a partition (usually the / partition). The BIOS only looks at the record in the master boot area and always boots off it. The boot records at the beginning of partitions are ignored. However, you can set things up so you can jump into the boot code at the beginning of the / partition and we are going to set that up later below.
At this point, you can now boot both Windows 98 and Linux and you are using the Linux boot loader LILO to boot. Now we need to do a bit of trickery before we install Windows NT.
We need to install a file in the Windows 98 filesystem named "linux.bst" (Linux boot sector. The name is irrelevant). This file will be executed by the NT loader when you choose to boot Linux. This boot sector file contains a jump point to the boot record in the / partition which in turn, jumps control into the Linux kernel file. That is, the NT boot loader knows how to start up Windows 98 and Windows NT, but it doesn't know how to start Linux. Therefore, we create a linux.bst file on our C: drive and insert a reference to it into Windows NT's "boot.ini" file (the boot configuration file for Windows NT). When Windows NT tries to boot Linux, it simply reads this file and transfers control to it. This file then transfers control to the boot sector in the beginning of the / partition which transfers control to the Linux kernel file (/boot/vmlinuz on Linux) and Linux boots up. Unfortunately, every time you recompile the Linux kernel and run lilo, you need to replace the "linux.bst" file on the C: drive since the boot record in the / partition has changed and they need to be kept in sync.
To create the linux.bst file, we need to format an MS-DOS floppy under Linux using "fdformat /dev/fd0H1440" (a 1.44 meg floppy). Copy the boot sector to a file and then to the floppy with the commands
dd if=/dev/hda of=/tmp/linux.bst bs=512 count=1
mcopy /tmp/linux.bst a:Now the master boot record has been written to a regular file called linux.bst on the floppy. Next, change the /etc/lilo.conf file under Linux so that the boot record written out by the lilo program gets written to the beginning of the / partition, not the master boot area read by the BIOS. To do this, change the line "boot=/dev/hda" to "boot=/dev/hda1" and rerun "lilo". We are going to replace the master boot record with Windows NT's boot loader below. If we didn't make this change, Windows NT's boot loader would be trashed when we ran "lilo".
Lilo's purpose in life is to read the /etc/lilo.conf file and write out a boot record wherever you say to write it. The boot record points at your kernels, so if you change the location of your kernels, you need to rerun lilo AND update your linux.bst file.
Now the hard part is done. Install Windows NT. Windows NT will overwrite the master boot sector containing LILO. Unfortunately, immediately after installing NT, you will not be able to boot Linux. To boot Linux, edit the C:\boot.ini file (it is usually a hidden, read-only file which you will need to change in the Properties menu) and add a line like
C:\linux.bst="Linux"
and copy the linux.bst file off your floppy to the C: drive. Now when you boot, you will see entries for Windows 98, Windows NT and Linux. Linux should boot just fine. The Windows NT boot loader will jump into the linux.bst file, which in turn jumps into the boot record that you wrote at the start of your Linux / partition which in turn jumps into your kernel. Whew!
One last thing. This is important. Whenever you modify your kernel and rerun lilo to write your new boot sector to the beginning of Linux's / partition, you must update the linux.bst file. I do this with a script similar to the following:
lilo
mount -t msdos /dev/hda1 /mnt/floppy
dd if=/dev/hda1 of=/mnt/floppy/linux.bst bs=512 count=1
umount /mnt/floppyassuming that you have MSDOS FAT filesystem support in your kernel. When compiling MSDOS FAT support in, don't forget to include the Unicode Codepage 437. FAT uses UNICODE file names.
Also, it is very wise to always have a Linux boot floppy around. You can do this two ways: 1) Create a new lilo.conf which writes a lilo boot sector to a floppy. That is, change the lilo.conf boot line "boot=/dev/hda1" to "boot=/dev/fd0H1440" or 2) Just copy the kernel image to a floppy raw. That is, "cp /boot/vmlinuz /dev/fd0H1440". They are not the same thing. Writing just the boot sector allows you to interact with LILO and boot any kernel, but if your kernels and boot record in / get out of sync, this floppy will be useless. If you just copy the kernel to the floppy raw, you don't get a choice of which kernel to boot, but you can still recover if your kernels and the boot record in / get out of sync. Do both. You won't regret it.
Again, I repeat: DON'T FORGET TO UPDATE THE LINUX.BST FILE!
Good luck!"

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |