Date: Sat, 14 Jun 2008 10:01:12 +1000 From: Fraser Tweedale <frase@frase.id.au> To: freebsd-questions@freebsd.org Cc: Lionel <lionel.flandrin@gmail.com> Subject: Re: Restoring freeBSD boot loader Message-ID: <20080614000111.GB91339@bacardi> In-Reply-To: <20080613224612.GA2267@shepherd> References: <86abhp6l25.fsf@simias.hd.free.fr> <20080613224612.GA2267@shepherd>
next in thread | previous in thread | raw e-mail | index | archive | help
--vGgW1X5XWziG23Ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2008 at 06:46:13PM -0400, Sahil Tandon wrote: > Lionel <lionel.flandrin@gmail.com> wrote: >=20 > > 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. > >=20 > > 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. > >=20 > > 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. >=20 > 3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html >=20 > --=20 > Sahil Tandon <sahil@tandon.net> Indeed, fdisk(8) can be used to do this. frase --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhTCkcACgkQPw/2FZbemTU34QCfblM4MPXvyQ+7YCFsKkbgS7do cR4An0f8Fq1iKdwmVwYrm9uWfBqNH1NT =d0L5 -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080614000111.GB91339>