Re: How can I use the Windows loader to boot FreeBSD
On Wed, Nov 07, 2007 at 03:19:38PM -0800, Alou Dialy wrote: I read this FAQ but I am still confused. How does it work if you have windows on ad0 and freebsd on ad1. You put a copy of the FreeBSD MBR on both disks. The BIOS will start the first one it sees. Then, if it is the FreeBSD MBR, it will look and see if there is a second bootable disk and give you a choice of booting what is on the first disk or going to the second disk. If it goes to the second disk, that MBR will give you a choice of booting what is on that disk (and I think, going back to the first one). jerry http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I use the Windows loader to boot FreeBSD
On 2007-11-07 15:19, Alou Dialy [EMAIL PROTECTED] wrote: I read this FAQ but I am still confused. How does it work if you have windows on ad0 and freebsd on ad1. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER AFAICT, the 'explicit' list of steps missing from the FAQ is: 1. Run boot0cfg from FreeBSD: # boot0cfg -B /dev/ad1 2. Copy the MBR of the ad1 disk to a file: # dd if=/dev/ad1 of=bootsect.bsd bs=512 count=1 3. Save this file to a floppy disk, or some other Windows-accessible place. Using a floppy-disk, formatted as FAT, this could be done by typing: # mount -t msdosfs /dev/fd0 /mnt/dos # cp bootsect.bsd /mnt/dos # umount /mnt/dos 4. Boot into Windows and copy the file A:\BOOTSECT.BSD to C:\ 5. Continue as described in the FAQ :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I use the Windows loader to boot FreeBSD
--- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-11-07 15:19, Alou Dialy [EMAIL PROTECTED] wrote: I read this FAQ but I am still confused. How does it work if you have windows on ad0 and freebsd on ad1. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER AFAICT, the 'explicit' list of steps missing from the FAQ is: 1. Run boot0cfg from FreeBSD: # boot0cfg -B /dev/ad1 2. Copy the MBR of the ad1 disk to a file: # dd if=/dev/ad1 of=bootsect.bsd bs=512 count=1 3. Save this file to a floppy disk, or some other Windows-accessible place. Using a floppy-disk, formatted as FAT, this could be done by typing: # mount -t msdosfs /dev/fd0 /mnt/dos # cp bootsect.bsd /mnt/dos # umount /mnt/dos 4. Boot into Windows and copy the file A:\BOOTSECT.BSD to C:\ OK, but how does this work: 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. How can /boot/boot0 be in the MBR and in the file that gets loaded by ntldr. Doesnt the MBR load ntldr. 5. Continue as described in the FAQ :) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]