Re: MBR problem

From: Kjell B. (homebell_at_telia.com)
Date: 01/31/04

  • Next message: Mark Terribile: "Re: about logo (The Beasdie question)"
    To: <freebsd-questions@freebsd.org>
    Date: Sat, 31 Jan 2004 19:38:26 +0100
    
    

    Kjell B. wrote:
    > I just installed FreeBSD 5.2-RELEASE (using the mini-install CD) on my
    > laptop which already had Win XP Home + Win XP Pro on it. During
    > partition definition I chose not to touch the MBR. (I wanted to make
    > use of Windows boot.ini for booting into FreeBSD.) Nevertheless,
    > whenever I boot I get directly to the FreeBSD boot menu where there's
    > no option to boot Windows.
    >
    > disk layout:
    > ad0s1: 31 MB DELL slice
    > ad0s2: 8001 MB Windows XP Home slice
    > ad0s3: 8510 MB extended DOS slice with three logical Win partitions
    > (one of them Windows XP Professional)
    > ad0s4: 2533 MB FreeBSD slice
    >
    > I tried to restore the MBR using fixmbr from Windows Recovery
    > Console. It doesn't help. I claims it has overwritten the file, but I
    > still get directly into FreeBSD at boot.
    >
    > I've tried setting ad0s2 and ad0s4 as bootable and then writing
    > changes (W) in FDISK partition editor in sysinstall. At the following
    > choice of MBR, I choose 'Install the FreeBSD Boot Manager'. I then
    > get "ERROR: Unable to write data to disk ad0!" followed by "Disk
    > partition write returned an error status!". The same result also if I
    > choose 'Standard' or 'None' in the MBR choice menu.
    >
    > (Another weird thing in sysinstall -> fdisk: Positioning the cursor
    > on any of the slices and hitting F1 yields "Sorry! The slice file is
    > not provided on this particular floppy image". This indicates to me
    > that something is wrong with my installation, but what?)
    >
    > Any hints on ways out of this?
    >
    > Another question: In 5.2 there are two sysinstalls -
    > /stand/sysinstall and /usr/local/sbin/sysinstall whereas in 4.8 I
    > only find /stand/sysinstall. Which one should I use with 5.2 and
    > what's the difference between them?

    OK, I did find a hint Googling a little more.

    Apparently GEOM prevents me from using sysinstall on the installation for
    changing MBR. I need to use the install CD and run sysinstall from there.
    Then I could do the change of MBR and got the standard FreeBSD boot manager.
    I now can boot Win XP or FreeBSD using the standard FreeBSD boot manager.
    What remains is to get rid of that and use Windows boot.ini for choosing
    between Win XP and FreeBSD, i.e. overwrite the MBR using fixmbr.

    -- 
    Kjell
    _______________________________________________
    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: Mark Terribile: "Re: about logo (The Beasdie question)"

    Relevant Pages

    • Re: Writing a correct MBRfrom User Mode
      ... >>So do you want to do it unattended, or do you want to attach it to a Windows ... The user used DiskManagement to create a system partition on a secondary disk. ... This disk's MBR must be correct, what ever its previous step was. ...
      (microsoft.public.win32.programmer.kernel)
    • Re: How to reinstall windows xp
      ... > If we used a compatible MBR, ... LILO or WhatEver would go in the /boot partition. ... > If Michael reinstalled Windows, then he could go into wherever it is in ... partition with a lot of installs. ...
      (Fedora)
    • Re: FC2 post-install hangs on dual boot system
      ... when you upgrade Linux); or use GRUB on the MBR (and repair the MBR each ... time Windows is overwriting it and then re-install GRUB). ... partition and have a peaceful coexistence and not worry about it. ...
      (linux.redhat.install)
    • Re: Dual XP/Suse: grub iin MBR or Suse boot sector?
      ... as it could harm the Windows boot loader. ... You can put the linux boot loader onto the MBR. ... It cant harm windows. ... The windows partition is bootable. ...
      (comp.os.linux.setup)
    • Re: Problems with dual boot and grub
      ... I need to essentially preserve the Windows ... >>partition in as transparent a process as possible, ... > This problem with the MBR is easily handled with one of 2 ways. ... Marc Schwartz ...
      (Fedora)