Multiboot

HolyGrenade

Distinguished
Feb 8, 2001
3,359
0
20,780
Can anyone help me add windows 2000 to my redhat 7 startup menu?

I have 3 primary partitions on my 1st hard-drive

1. Linux
2. win2k (ntfs)
3. win98se

win98se is already in the redhat 7 startup menu.






If you cannot help me with this could you please show me how to add linux and win98 to my win2k boot menu?

I already am having difficulty adding win98 to the menu. I made a bootsect.dos file by making a file called read.scr containing the following:

L 100 4 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q


I ran this through debug as follows:

debug <read.scr

this created a bootsect.dos which is fair enough.

I only hope it worked.

Any help would be appreciated.

thanx

<P ID="edit"><FONT SIZE=-1><EM>Edited by holygrenade on 02/26/01 04:34 PM.</EM></FONT></P>
 

mtb_mikey

Distinguished
Feb 22, 2001
21
0
18,510
Hi,

I don't use RedHat so I can't answer your question directly but have you tried the GRUB boot loader?

Its very flexible and you can create a boot floppy to
test it out (menus and all) before committing it to
your MBR.

Currently I use GRUB to select between Mandrake 7.2,
SuSE 6.4 and W98SE it works fine.

There's an excellent tutorial on IBM Developerworks site
you have to register first :-(

::: Getting to Know GRUB :::
> This free dW tutorial shows you how to install and use GRUB, the Grand
> Unified Boot Loader, to boot your Linux system. Register at:
> http://www-106.ibm.com/developerworks/education/r-grub.html?n-l-1181 > >

Mike
 
G

Guest

Guest
I read there was a trick if you want to install win2k....

I think the trick I'm not sure but it was to install WIN2K boot loader in the MBR and ADD LINUX To that boot loader...

Like doing a bootsec.dos I think but in win2k.. and telling win 2k to add it in his boot loader...
 

Kelledin

Distinguished
Mar 1, 2001
2,183
0
19,780
Yes, as a matter of fact, there is.

The trick is to install WinNT/Win2K first, then install Linux.

When you install Linux, be sure to make your root Linux partition bootable, and specify that the installer should put your boot loader on the superblock of your root Linux partition.

Be sure to create a Linux boot disk for your system as well.

Leave your Linux bootdisk in A: and reboot. If all went well, Linux will boot normally. Once it does, you need to peel the boot sector (the first 512 bytes) off your Linux root partition and save it to a file. The dd command does best for this.

Take this file, called, say, "bootsect.lnx", and save it somewhere where you can reach it from Windows. Boot to Windows and edit the C:\BOOT.INI file. Add a line to the bottom of BOOT.INI something like:

C:\BOOTSECT.LNX="RedHat 7.1 Motherbitches"

(the name is my brother's idea, not mine)

While still in Windows, copy the BOOTSECT.LNX file to the root of C:. Next time you boot, you should be able to select "RedHat 7.1 Motherbitches" from your WinNT/Win2K boot menu and boot into Linux ;)

There's actually a tutorial on this that's a bit more detailed than I am:

<A HREF="http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html" target="_new">http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html</A>

Kelledin
<A HREF="http://kelledin.tripod.com/scovsms.jpg" target="_new">http://kelledin.tripod.com/scovsms.jpg</A>