Question about installing boot manager in sysinstall



I've got two SCSI drives, da0 and da1. FreeBSD 6.3-STABLE is installed on da0 and da1 currently has Mandriva Linux on it. The boot manager being used is Grub.

I now want to replace Linux with FreeBSD 7 but I'm expecting that I may end up with an unbootable system because da0 (6.3) will still have Grub but da1 (7) will have the FreeBSD boot manager. Since Grub uses files in /boot on the Linux partition it won't work as these will have been wiped out.

So, I...

Run sysinstall
On the partition editor screen, select da1, delete the Linux slice, create a new FreeBSD slice, then 'Q'
At the bootmanager screen, select the FreeBSD boot manager
In the disklabel editor, create the partitions in the slice

OK, that's the new disk configured and I'm now back at the Select Disk screen. Do I now select da0 (the existing 6.3) and in the Partition Editor just hit 'Q' without changing anything, then select the FreeBSD boot manager, and finally, in the disk label editor just hit 'Q' again without changing anything - especially the NewFS flag!!

Will this install the FreeBSD boot manager on da0 but not touch the existing partition/slice set up - i.e. it won't trash my 6.3 system?

I've read the Handbook but the example it gives for 2 disks assumes that you are creating FreeBSD partitions/slices on *both* disks, it doesn't have an example for just adding an existing disk to the boot manager.

What makes me nervous about doing this is that the boot manager is installed in the MBR where the partition table lives.

The other option I may be able to use is to run boot0cfg(8) on da0 (6.3 system) *before* installing 7 - or maybe run it on both disks and don't select a boot manager during the install.

So, what's the best (i.e. safest) way to proceed?

Oh, and before anyone says, yes, I *have* backed up all my data ;-)

Regards,

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



Relevant Pages

  • Re: How to boot FreeBSD from a slave IDE disk
    ... I couldn't get to FreeBSD. ... I think that once you have installed a boot manager on the ad3 MBR, ... What you might do is install a standard MBR on ad3 and set your bios ...
    (freebsd-questions)
  • FIRST INSTALL QUESTION
    ... SUBJECT: FIRST INSTALL QUESTION ... I purchased SAMS FreeBSD in 24 Hours and everything is pretty clear, ... until I read the FAQs online that mentioned this boot manager uses the MBR - ... FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the ...
    (freebsd-questions)
  • Re: FIRST INSTALL QUESTION
    ... > SUBJECT: FIRST INSTALL QUESTION ... > used a boot manager unless Windows 98 Start-up Menu qualifies). ... firts disc and on the disk on which you put FreeBSD. ... > FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the ...
    (freebsd-questions)
  • Re: Dual boot WinXP & FreeBSD on 2nd HD with boot.ini
    ... need to install an additional boot manager. ... I saw references for dual booting FreeBSD using WinXP's boot.ini, ... directions for windows/freebsd on the same drive are very easy (done it ...
    (comp.unix.bsd.freebsd.misc)
  • iPod USB problems
    ... I'm trying to get FreeBSD to "see" my iPod filesystem. ... da0: Serial Number JQ5040KTPS9 ... USB port to which I attached the iPod might ...
    (freebsd-questions)