Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 13:56:14 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Olivier DAVY <olivier.davy@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dual boot, java
Message-ID:  <20030627125614.GB91013@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <3EFC1DFC.1000301@free.fr>
References:  <3EFC1DFC.1000301@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--qlTNgmc+xy1dBmNv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 27, 2003 at 12:35:40PM +0200, Olivier DAVY wrote:

> However, I cannot delete my Linux for FreeBSD on my dual boot Pc=20
> (Win...ws + Linux) since I do not know the following things, t hat are=20
> essential for me to well manage my PC :
> 1. when installing FreeBSD on a partition on the same disk as Windows,=20
> what kind of boot manager should I use.

You can use the FreeBSD boot manager -- it's minimalistic (you WinXP
partition will show up labelled as '???'), but it generally works.  If
you want something with a few more options and settings to play with,
try Grub, which is in ports.

Note that Grub doesn't yet recognise the ufs2 filesystem available in
5.x -- there are some easy workarounds that you can find by searching
in the mailing list archives.

> During the install, the boot manager choosing screen suggest to install=
=20
> nothing. But how to boot on BSD ?
> So I tried to install BSD with Linux and Windows, and use Lilo to boot=20
> BSD. Well, it works, but I am not satisfied, since Linux is still=20
> necessary to boot. What option should I choose ? How should I partition=
=20
> my disk to have this dual boot.

Using Lilo without linux is probably not the best choice -- if you
modify anything that entails reconfiguring lilo, I believe you'll need
a bootable Linux partition to do that.

> What kind of bootmanager should I use ? Does Windows XP (or 2000) could=
=20
> boot FreeBSD (hum ?) ?

Indeed, the WinXP boot manager is reputedly capable of booting FreeBSD:

    http://bsdvault.net/sections.php?op=3Dviewarticle&artid=3D88

> 2. On my standalone disk (cf. (*1)), I use the default bootloader of=20
> FreeBSD.
> But I can not delete if from my HD, whereas I can delete lilo by=20
> executing fdisk /MBR ? So what is the issue ? Is the BSD boot loader not=
=20
> in the Master Boot Record ? How can i delete it, to delete all FreeBSD=20
> from my disk (just in case...) ?

Running 'fdisk /MBR' from DOS, or equivalently running:

    # fdisk -i -B -b /boot/mbr

=66rom within FreeBSD, will over-write the FreeBSD bootloader with a
default master boot record and wipe out any custom bootloaders.

> 3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X ?

If you buy FreeBSD CD Roms from on of the resellers, you'll get 4 CDs
as per usual.  The 3rd and 4th CD Roms simply contain pre-built
packages which are all available by FTP already.

> 4. Is Java now well supported (I tried once to install it, but it did=20
> not work since I did not found the right version of the JDK to port). I=
=20
> 'd like to install a true J2EE plateform on BSD !

The java/jdk14 and java/jdk13 ports are both running excellently for
me.  Note that these give you J2SE, not J2EE, but that makes very
little difference for almost all applications.

Installing the native jdk ports involves a great deal more palaver
than it really should.  Sun's licensing requirements mean that you can
just go and grab the sources from a website or ftp server in the usual
way.  So you have to go to Sun's website and register and click on
buttons that say that you agree to their terms.  Then in order to
compile the native java for the first time, you need to have a
pre-compiled version of java at pretty much the same release level.
That means that you'll need to temporarily install eg. the
linux-sun-jdk14 port in order to compile the native jdk14 port.  Once
you've got a native jdk14 port, you can pkg_delete linux-sun-jdk14 and
any other now redundant dependency required to install the port.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--qlTNgmc+xy1dBmNv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+/D7udtESqEQa7a0RAm13AJ0cEYSkD3bOUHv8Za/rgFg18444EQCdFwdi
LW4Cy9HaNt0IOjoe8MbLDR4=
=/XSs
-----END PGP SIGNATURE-----

--qlTNgmc+xy1dBmNv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030627125614.GB91013>