Date: Wed, 03 Jul 2002 20:25:01 -0400 From: Jud <jud@myrealbox.com> To: freebsd-questions@freebsd.org, Franklin Kingma <franklin@statix.net> Subject: Re: w2k and freebsd in 2 disks Message-ID: <1SRKFFD2V7IERB9GENLZTZW0GFYU.3d2395dd@sparky> In-Reply-To: <3D235A19.3070409@statix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
7/3/2002 4:10:01 PM, Franklin Kingma <franklin@statix.net> wrote: > >> C> I have w2k and freebsd in 2 different disks. I want to boot from any. >> C> I searched the mail archives, and I changed the boot.ini in w2k, added >> C> the freebsd entry and I added the bootblock from freebsd to c:\ >> >> C> dd if=/dev/"something" of=/dev/fd0/freebsd.pbr >> >> C> when I power up I see the two options, w2k - freebsd in the w2k loader. >> >> C> If I choose FreeBSD I get "Boot error". What else do I need to do? >> C> Thanks a lot. > > > > cut grub explanation > >i have the same problem, and before I start messing with grub i'd also >like to know what is happening!? i did some searches but with no result :( > >franklin From the FreeBSD web site FAQ bootloader section at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT- BOOTLOADER - If FreeBSD is installed on the same disk as the NT boot partition simply copy /boot/boot1 to C:\BOOTSECT.BSD However, if FreeBSD is installed on a different disk /boot/boot1 will not work, / boot/boot0 is needed. Warning: DO NOT SIMPLY COPY /boot/boot0 INSTEAD OF /boot/boot1, YOU WILL OVERWRITE YOUR PARTITION TABLE AND RENDER YOUR COMPUTER UN-BOOTABLE! /boot/boot0 needs to be installed using sysinstall by selecting the FreeBSD boot manager on the screen which asks if you wish to use a boot manager. This is because /boot/boot0 has the partition table area filled with NULL characters but sysinstall copies the partition table before copying /boot/ boot0 to the MBR. When the FreeBSD boot manager runs it records the last OS booted by setting the active flag on the partition table entry for that OS and then writes the whole 512-bytes of itself back to the MBR so if you just copy /boot/boot0 to C:\BOOTSECT.BSD then it writes an empty partition table, with the active flag set on one entry, to the MBR. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SRKFFD2V7IERB9GENLZTZW0GFYU.3d2395dd>