Part 8: Configuring NT's Boot Menu|
Now, all we have to do is add Linux and Dos6.22 to NT's boot menu, and our work is done. I am going to start with linux. As it stands at the moment, Linux can only boot off its ROOT partition. But, since that is not active, it cannot boot. So... how do we get to Linux? Thanks to the genius of Bootpart.exe what we can do is create a pointer to the linux root partition (kinda like a desktop shortcut icon) and reference it in the boot.ini file. Its sounds a lot more difficult then it actually is, simply because Bootpart does all the hard work for us. Bootpart can be run from DOS or from NT (you will see from the screen shots, that I am running it from a Command window in NT). But copy it to the NT system partition and run it from there. It makes life a lot simpler. The syntax for bootpart is simple: bootpart <partition number> <pointer file name> "<text that goes in boot.ini>" Now, since we can make up anything for the pointer's file name and the boot.ini menu option the only piece of information we need is the number of the partition that holds the Linux root partition. That, too, is easily obtained. Just run bootpart without any parameters and it returns a list of all the partitions on your drive. This is what happens when I run it on our system: ![]() Yes, it does look like a load of gibberish, but what we are looking for is the first Linux Native partition, and its corresponding number. If you look at partition 6, you will see that it is the first Linux partition, and it's size is 88326KB, which is roughly the size of our 80Kb Linux root partition. So, linux will be booting off the 6th partition. That means our command for including linux in the boot menu is: bootpart 6 bootsect.lnx "Redhat Linux 6.1" ![]() Now, we need to add DOS 6.22. We cannot point it to its drive that it boots off, as it boots off the C: drive, and its Master Boot record is an NT boot record. So, what do we do? Once again, we turn to another function of bootpart. Bootpart can write the boot sector for any of the M$ operating systems. This is the command you will need: bootpart dos622 bootpart.622 "MS-DOS 6.22" ![]() If you look at the root of c: you will now see, amongst others, the following three files: bootsect.622 bootsect.dos bootsect.lnx The bootsect.dos file is actually the Win98 boot sector, created automatically by NT during its installation. I like to rename it to bootsect.w98 and manually edit the boot.ini file (you must take off it's read-only attribute first) to connect it back to its option. I also like to edit the option to include the version of "Microsoft Windows" I have installed. After all these steps, this is what your boot.ini file should look like: ![]() And this is what your boot menu will look like: ![]() Do not forget: If you want to boot into DOS, don't forget to choose the "Boot into DOS" option at the DOS 6.22 boot menu. ![]() You are now the proud owner of a multibooting system, able to boot into 4 different operating systems. Take a bow, Maestro. |