Re: dual-booting with xp

From: Jerry McAllister (jerrymc_at_clunix.cl.msu.edu)
Date: 01/15/04

  • Next message: Micheas Herman: "Re: Samba 3.x.x on FreeBSD 4.9"
    To: duanewinner@att.net
    Date: Thu, 15 Jan 2004 12:34:28 -0500 (EST)
    
    

    >
    > Hello,
    >
    > I am trying to install FreeBSD 4.9 on a machine that already has XP
    > installed. It has 3 SCSI drives. I would like to keep XP on the first
    > drive, and install FreeBSD on the third drive and make it dual-boot.
    > What's the easiest way?
    >
    > When I installed, I made a slice on the 3rd disk (using entire disk) and
    > created my partitions there. I also selected the FreeBSD bootmanager,
    > but it doesn't seem to write to the first disk, so now when I reboot, I
    > don't get a bootmanager menu at all, but go right into XP every time.

    Well, that is all good, but it sounds like you didn't choose to
    install an MBR when you installed FreeBSD. It asks that on one
    of the screens along about the middle of the process. It offers
    three options as follows:

           BootMgr Install the FreeBSD Boot Manager
           Standard Install a standard MBR (no boot manager)
           None Leave the Master Boot Record untouched

    You need to install the FreeBSD Boot Manager (or another third party
    boot manager) on every disk that will have bootable slices. That
    includes the first disk that you are leaving MS stuff on.

    The reason is found in the boot process. Somewhat simplified and
    glossed over, it is: The BIOS runs and runs down its list of
    bootable devices in order of the list. Typically that is
      1: Floppy Disk
      2: CDrom
      3: Hard disk
          For Hard disk, it is only smart enough to look at the first one.

    The BIOS hands over boot control to the first of these devices that it finds
    a boot record on (please pardon the grammar). If you only have one disk
    (the first disk) with one bootable slice (the first slice) you don't need
    a Master Boot Record because there is no choice needed to be made. It just
    uses the boot block on that first slice. But, that is not what you are
    trying to do. You are trying to multi-boot. So, you need the MBR.

    The code in the Master Boot Record on that device does a few things and
    then if it is set up to boot multiple slices, lets you choose which one
    of the slices to boot. Each of those slices needs to have a boot block
    on it. The boot block on the slice finishes some stuff and starts the
    rest of the boot process for whichever OS you have on that slice.

    If the Choice is to boot from a disk other than the first one, you have
    to select that device when the MBR offers the choices and then it jumps
    to the MBR on that other disk and gives you a choice of bootable slices
    on that drive. So, you need the MBR on each disk with bootable slices
    along with the OS boot block.

    The FreeBSD MBR will work quite fine. It is a very small one and as such
    doesn't allow you to customize the displays it shows up for the choices.
    Typically it recognizes and displays meaningful text for FreeBSD and LINUX
    but puts either '???' or 'DOS' for the Microsloth "systems" no matter
    what they are. But, as long as you don't care about how pretty it is
    it works just fun to select them. I am currently typing on a machine
    that is dual booted with XP and FreeBSD 4.9. The MBR offers choices
    of ???, DOS and FreeBSD. The ??? is a Dell diagnostic slice, the DOS
    is the XP and, of course, FreeBSD is FreeBSD.

    But, if you want, you can install one of the other third party Master
    Boot Records such as Grub if you like. There are a bunch of then with
    varying ease of use and varying size and prettiness.

    ////jerry

    >
    > Thanks,
    > Duane
    >
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Micheas Herman: "Re: Samba 3.x.x on FreeBSD 4.9"

    Relevant Pages

    • Re: Using the boot-easy boot loader..
      ... > I am currently running FreeBSD 5.2.1, installing of OS'es is really not ... > a hard task for me, except this one time and it has to do with WINDOWS ... > Windows XP on my primary C drive, and I goto install the FreeBSD boot ... > freebsd boot loader... ...
      (freebsd-questions)
    • Problems trying to boot from an 80GB Seagate
      ... My first attempt at installing FreeBSD (using the bootable CDROM images ... The BIOS CMOS is configured to "Auto" detect the drives on boot, ... Next, I created a NTFS partition on the drive with an XP install CD, ...
      (freebsd-questions)
    • Re: Problem: cannot install on Dell 400SC
      ... appear to write the boot block. ... FreeBSD installer write the FreeBSD MBR and it seemed to do so just ... >> not this particular model and especially not the LSIL SCSI controller. ... boots into the sysinstall or our install system just ...
      (freebsd-questions)
    • Re: Failed installation of FreeBSD 5.4
      ... > I am attempting to install FreeBSD on a Pentium system ... > boot disks to install FreeBSD. ... It can be argued whether the hardware problems ...
      (freebsd-questions)
    • Re: freebsd isntall, slices vs partitions, memory, booting ??
      ... > a little confused about what the freeBSD install is doing..i think it boots ... ``extended'' slices though. ... > divided into several more partitions to enable many partitions to be ...
      (comp.unix.bsd.freebsd.misc)