Re: Restoring freeBSD boot loader

2008-06-14 Thread Lionel
Derek Ragona [EMAIL PROTECTED] writes:

 At 05:12 PM 6/13/2008, Lionel wrote:

   I've had to install Windows XP in dual boot on a freeBSD box, and of
 course it erased the bootloader to replace it with its own. Now I'd like
 to restore the freeBSD bootloader.

   I've tried booting with the install CD and I use the fdisk utility to
 mark the fbsd partition bootable and then said I wanted to install the
 freeBSD bootloader, but I didn't know how to make it actually write the
 changes to the disk.

   So... is it possible to restore the bootloader this way? Maybe I could
 install lilo from a live CD but I don't want to install grub from
 windows because I'll probably remove it soon, but I think lilo just
 places itself in the boot segment so it should be fine.

   Any help would be most welcome...

 --
 Lionel

 Look in the tools folder on the FreeBSD install CD for booteasy.
 Booteasy will run from Windows and install the boot loader.  It will
 also save the old MBR to a floppy, hard disk, or USB disk for safety.

 -Derek

  Ah, thank you and all those who answered me, really helpful. I'm going
to try this right away.

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.


  And a very special thank to you, MailScanner :-)

-- 
Lionel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Restoring freeBSD boot loader

2008-06-13 Thread Lionel

  I've had to install Windows XP in dual boot on a freeBSD box, and of
course it erased the bootloader to replace it with its own. Now I'd like
to restore the freeBSD bootloader.

  I've tried booting with the install CD and I use the fdisk utility to
mark the fbsd partition bootable and then said I wanted to install the
freeBSD bootloader, but I didn't know how to make it actually write the
changes to the disk.

  So... is it possible to restore the bootloader this way? Maybe I could
install lilo from a live CD but I don't want to install grub from
windows because I'll probably remove it soon, but I think lilo just
places itself in the boot segment so it should be fine.

  Any help would be most welcome...

-- 
Lionel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restoring freeBSD boot loader

2008-06-13 Thread Sahil Tandon
Lionel [EMAIL PROTECTED] wrote:

   I've had to install Windows XP in dual boot on a freeBSD box, and of
 course it erased the bootloader to replace it with its own. Now I'd like
 to restore the freeBSD bootloader.
 
   I've tried booting with the install CD and I use the fdisk utility to
 mark the fbsd partition bootable and then said I wanted to install the
 freeBSD bootloader, but I didn't know how to make it actually write the
 changes to the disk.
 
   So... is it possible to restore the bootloader this way? Maybe I could
 install lilo from a live CD but I don't want to install grub from
 windows because I'll probably remove it soon, but I think lilo just
 places itself in the boot segment so it should be fine.

3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html

-- 
Sahil Tandon [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: Restoring freeBSD boot loader

2008-06-13 Thread Derek Ragona

At 05:12 PM 6/13/2008, Lionel wrote:


  I've had to install Windows XP in dual boot on a freeBSD box, and of
course it erased the bootloader to replace it with its own. Now I'd like
to restore the freeBSD bootloader.

  I've tried booting with the install CD and I use the fdisk utility to
mark the fbsd partition bootable and then said I wanted to install the
freeBSD bootloader, but I didn't know how to make it actually write the
changes to the disk.

  So... is it possible to restore the bootloader this way? Maybe I could
install lilo from a live CD but I don't want to install grub from
windows because I'll probably remove it soon, but I think lilo just
places itself in the boot segment so it should be fine.

  Any help would be most welcome...

--
Lionel


Look in the tools folder on the FreeBSD install CD for booteasy.  Booteasy 
will run from Windows and install the boot loader.  It will also save the 
old MBR to a floppy, hard disk, or USB disk for safety.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restoring freeBSD boot loader

2008-06-13 Thread Fraser Tweedale
On Fri, Jun 13, 2008 at 06:46:13PM -0400, Sahil Tandon wrote:
 Lionel [EMAIL PROTECTED] wrote:
 
I've had to install Windows XP in dual boot on a freeBSD box, and of
  course it erased the bootloader to replace it with its own. Now I'd like
  to restore the freeBSD bootloader.
  
I've tried booting with the install CD and I use the fdisk utility to
  mark the fbsd partition bootable and then said I wanted to install the
  freeBSD bootloader, but I didn't know how to make it actually write the
  changes to the disk.
  
So... is it possible to restore the bootloader this way? Maybe I could
  install lilo from a live CD but I don't want to install grub from
  windows because I'll probably remove it soon, but I think lilo just
  places itself in the boot segment so it should be fine.
 
 3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html
 
 -- 
 Sahil Tandon [EMAIL PROTECTED]

Indeed, fdisk(8) can be used to do this.

frase



pgp9Ly5X508FR.pgp
Description: PGP signature