Computing.Net > Forums > Linux > Redhat Linux 7.2 and Win2K dual boot

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Redhat Linux 7.2 and Win2K dual boot

Reply to Message Icon

Name: Mike
Date: July 4, 2002 at 21:59:53 Pacific
Comment:

Just wondering on a quick way to fix the problem with the WIN2K boot manager making the Linux partition unavailable for booting at startup. I did a clean install of Redhat 7.2 on a partition, then folowed it up with a Win2K install on the other partitions. Now Linux can only boot from floppy. What do people recommend as a boot manager for a dual Win2K and Linux ?

Mike



Sponsored Link
Ads by Google

Response Number 1
Name: Ozzy
Date: July 5, 2002 at 07:46:00 Pacific
Reply:


Boot up Linux with the bootdisc and edit /boot/grub/grub.conf

You will probably have to add something like:

title Windows 2000
rootnoverify (hd0,0)
chainloader +1

and then run /sbin/grub from the prompt. This will only work if you had Grub installed as bootloader before. If you had no bootloader installed you need to install either Grub or Lilo first.......


0

Response Number 2
Name: Lawrence
Date: July 5, 2002 at 10:29:48 Pacific
Reply:

Okay, here is my /etc/lilo.conf that I use
to boot up either Win2000 or RedHat Linux 7.2! It works just fine so make sure it
points to the right drive for the right OS!!!

Lawrence

# /etc/lilo.conf
default=linux
prompt
timeout=50
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
#
image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/hdb1
append="hdc=ide-scsi"
#
other=/dev/hda1
optional
label=Win2000


0

Response Number 3
Name: senthil kumar
Date: August 4, 2002 at 06:14:43 Pacific
Reply:

I have installed windows 2000 advanced server on a NTFS volume.I also installed Linux7.2 on another partition.I was not been able to dual boot between Windows 2000 advanced server and linux.Pl anyone help me.

with thanks
k.senthil kumar


0

Response Number 4
Name: gordon
Date: August 9, 2002 at 10:41:18 Pacific
Reply:

First of all, are you able to boot to either OS, and did you make boot disks? What are you using as a bootloader for linux?
If you are using lilo you want to ensure that it is NOT installed on the MBR.
Otherwise you will overwrite the Windows OS Loader and you may have to reinstall Windows 2000. Best to have it on the first sector of the boot partition (/boot), within the first 1024 cylinders (8GB).

Here's what worked for me:
If you are able to boot to the linux partition edit the lilo.conf file
(/etc/lilo.conf).

1) Append the file with:

other=/dev/hda5
optional
label=Win2000 AdvSvr

(where hda5 is the location of the linux boot image. Type df from the cmd shell to confirm location.)

2)Dump Linux boot image to a file by typing the following:

dd if=/dev/hda5 of=/bootsect.lnx bs=512 count=1

(Running this command will put bootsect.lnx file in the "/" (root) directory.)

Change if=/dev/hda5 to reflect YOUR linux boot partition as applicable.
e.g. If your linux boot partition is in hda3, change the command to:
dd if=/dev/hda3 of=/bootsect.lnx bs=512
count=1

3)Mount a DOS formatted disk:

mount -t msdos /dev/fd0 /mnt

4)Now, copy the bootsect.lnx file to the Dos formatted disk:

cp /bootsect.lnx /mnt

5)Remove the Linux disk and boot to Windows2000

6)After successful Windows2000 boot, insert the DOS disk and copy the file:

A:\>copy bootsect.lnx C:\

7)Edit the boot.ini file

c:\attrib boot.ini -s -h
(unhides the file)

c:\edit boot.ini
(or use notepad)

append the file with:

c:\bootsect.lnx=Linux

Mine looks like this:

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows3000 ADV SVR" /fastdetect
c:\bootsect.lnx=Linux RH7.3

c:\attrib boot.ini +s +h
(To hide the file)

8)Reboot and the menu option to boot Windows and Linux should appear.

good luck!



0

Response Number 5
Name: Matt
Date: August 14, 2002 at 05:16:01 Pacific
Reply:

I have Windows 2000 Pro
then XP, then Windows 2000 Server installed. How would you go about doing the boot. With 3 other OS's


0

Related Posts

See More



Response Number 6
Name: jose
Date: August 14, 2002 at 05:33:03 Pacific
Reply:

Hi, I've in my laptop 2000 prof and 2000 server in the same partition. I've installed Linux in a second partition using GRUB. My problem is that I cannot start any of 2000 os, it starts directly the GRUB and I cannot see any 2000 options.
Anyone knows how to do a triple boot using GRUB with this configuration?
Thanks in advanced!


0

Response Number 7
Name: gordon
Date: August 14, 2002 at 09:00:34 Pacific
Reply:

Correction to above response #4
gotta be able to write to it! ;)

c:\attrib boot.ini -s -h -r
(unhides the file)

c:\attrib boot.ini +s +h +r
(To hide the file)

Triple boot with Lilo should work the same as long as control is given to the Win2k boot loader. Be sure all the OS's are referenced in the boot.ini menu and in Lilo.conf. I have a triple boot along with the recovery console with Adv Svr, XP Pro and RH 7.3. I also have a machine with a 3x boot using Grub that I'll check when I get home.
I hope this helps.


0

Response Number 8
Name: Bob
Date: August 22, 2002 at 16:18:27 Pacific
Reply:

I haven't tried this but try using a program called XOSL - Extended Operating System Loader.

http://www.xosl.org


0

Response Number 9
Name: blackjack
Date: August 24, 2002 at 00:16:05 Pacific
Reply:

"Ozzy" proposed these concepts:

>edit /boot/grub/grub.conf
>You will probably have to add something >like:
>title Windows 2000
>rootnoverify (hd0,0)
>chainloader +1

Absolutely amazing :)
I have never been able to dual
boot untill reading your post.
I used a text editor for grub.config.

Win2ksp3+RH7.2 dual boot
...flawless DB. Many Thanks!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Redhat Linux 7.2 and Win2K dual boot

Dual Boot Win98SE and RedHat Linux 7.2 www.computing.net/answers/linux/dual-boot-win98se-and-redhat-linux-72/11642.html

Help with dual-boot (ME and Linux) www.computing.net/answers/linux/help-with-dualboot-me-and-linux/8741.html

dual boot Windows Xp and linux www.computing.net/answers/linux/dual-boot-windows-xp-and-linux/6141.html