LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NTLoader & Grub (https://www.linuxquestions.org/questions/linux-software-2/ntloader-and-grub-139741/)

KSigBrothers 01-28-2004 04:49 PM

NTLoader & Grub
 
I just installed RedHat Fedora with Grub and I want to set it up to dual-boot with Win2k using NTLoader. I was wondering what I need to do, I have set it up before with LILO but am not sure how to do it with GRUB.

homey 01-28-2004 07:44 PM

Note: my example is using /dev/hda2 for the root partition. Type the command:rdev to find out what yours is.

Bootup into Linux
Put a floppy disk in and run these commnds:
fdformat /dev/fd0
mkfs.vfat /dev/fd0
mount /dev/fd0 /mnt/floppy
dd if=/dev/hda2 of=/mnt/floppy/bootsect.lnx bs=512 count=1
umount /mnt/floppy


Edit the /etc/grub.conf
Set the default Operating System to Windows2000 and
timeout=0


Take out the floppy disk and reboot into Windows.
Copy the file bootsect.lnx from the floppy disk to the C:\

Unhide the c:\boot.ini file and edit to add a reference to the bootsect.lnx

Example:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
C:\bootsect.lnx="Linux"

Reboot and try it.

Allen614 01-28-2004 08:56 PM

---- and grub is installed on your root partition.

Buick 01-29-2004 04:11 PM

Just want to post this since I just spent sometime trying to do this today.

This did not work for me and I think I found the answer.

Some BIOS implementations can only address the first 1024 cylinders of
a hard drive, which corresponds to ~8.5 GB. How do you fix this? Create
your /boot partition before cylinder 1024; i.e. before ~8.5 GB

I found this information here.

This is an old PC and I think that is my problem.

Athlon 800 Mhz
80 WD HD

Don't want to mess with the MBR and therefore would not like to install LILO
or GRUB.

Guess I have to stick with the boot disk.

hellblade 09-16-2004 09:53 PM

A bit late but I think you could install lilo/grub in your linux partition (eg./dev/hda2) not the MBR.


All times are GMT -5. The time now is 06:03 AM.