Mad Hatter wrote:
>> Here are some of the facts:
>>     /dev/hda3    /mnt/win    Windows XP
>>     /dev/hda5    /boot         Kernel
>>     /dev/hda8    /                Rest of Linux
> 
> I too ran into this sort of problem, so I'm booting
> with a GRUB boot diskette (so it's not as slow as
> having
> the entire kernel on the diskette, only GRUB). The
> GRUB
> manual describes how to do this:
> 
> 1. cd /usr/share/grub/i386-pc
>    dd if=stage1 of=/dev/fd0 bs=512 count=1
>    dd if=stage2 of=/dev/fd0 bs=512 seek=1
> 
> 2. Now boot with the floopy and at the grub prompt
>    type these 3 commands:
>      root (hd0,4)
>         [Hopefully that works for /dev/hda5, you may
>          need to play with that a little; also try
>              find vmlinuz]
>      kernel /vmlinuz root=/dev/hda8
>      boot
> 
> Note that RH8.0 has stage1/stage2 files in /boot/grub
> but these don't work; not sure what their purpose is.
> 
> I'd like to use the NT bootloader to boot linux. With
> LILO I could just copy the Linux boot sector to
> C:\bootsect.lnx and add an entry to C:\boot.ini.
> If anyone knows how to do this with Grub, I'd
> appreciate
> the info. Thanks.
I use the NT bootloader with GRUB and it works fine.
I would install grub using grub-install into the root disk that you
installed linux in, not the MBR.  grub-install --root-directory=/boot
/dev/xxxx should work, where xxxx is the drive partition, e.g hda1.  Use dd
to generate another bootsect.lnx file using /dev/xxxx as your input device,
and put this onto your windows disk and use the NT/XP boot loader. e.g dd
if=/dev/xxxx of=bootsect.lnx bs=512 count=1.  Your grub.conf should contain
a root=LABEL=/ next to your kernel (you can find this in your fstab).  This
is how I dual-boot my machine at home.  Grub will load both fine if you
install it in your MBR, but I am always hesitant to install grub or lilo
into my MBR, as Windows always likes to overwrite the MBR.

see http://www.gnu.org/manual/grub-0.92/html_mono/grub.html for more info.

James Francis
TechRx Inc.
530 Lindbergh Dr.
Coraopolis, Pa. 15108
Phone: (412) 474-1078   Fax: (412) 474-1074



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to