Re: dual boot, java

2003-06-27 Thread Matthew Seaman
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 
 (Win...ws + Linux) since I do not know the following things, t hat are 
 essential for me to well manage my PC :
 1. when installing FreeBSD on a partition on the same disk as Windows, 
 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 
 nothing. But how to boot on BSD ?
 So I tried to install BSD with Linux and Windows, and use Lilo to boot 
 BSD. Well, it works, but I am not satisfied, since Linux is still 
 necessary to boot. What option should I choose ? How should I partition 
 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 
 boot FreeBSD (hum ?) ?

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

http://bsdvault.net/sections.php?op=viewarticleartid=88

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

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

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

from 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 
 not work since I did not found the right version of the JDK to port). I 
 '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

-- 
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


pgp0.pgp
Description: PGP signature


Re: dual boot, java

2003-06-27 Thread Jud
On Fri, 27 Jun 2003 12:35:40 +0200, Olivier DAVY [EMAIL PROTECTED]
said:
 Olivier DAVY
 FreeBSD Fan ;)
 
 Hi,
 
 I am very fond of FreeBSD since I tried it on a single little hard drive 
 (*1).
 
 However, I cannot delete my Linux for FreeBSD on my dual boot Pc 
 (Win...ws + Linux) since I do not know the following things, t hat are 
 essential for me to well manage my PC :
 1. when installing FreeBSD on a partition on the same disk as Windows, 
 what kind of boot manager should I use.
 During the install, the boot manager choosing screen suggest to install 
 nothing. But how to boot on BSD ?

On the boot manager choosing screen, choosing nothing is an option, not a
suggestion.  Perhaps it is the default because of a first, do no harm
perspective.

 So I tried to install BSD with Linux and Windows, and use Lilo to boot 
 BSD. Well, it works, but I am not satisfied, since Linux is still 
 necessary to boot. What option should I choose ? How should I partition 
 my disk to have this dual boot.

Partitioning is a separate consideration from booting (though Windows
usually likes to have its system partition as the first partition on the
first hard drive; there are ways to get around this, but it's easier just
to allow it).  Partition as you like.  You then have several options
regarding booting.

 What kind of bootmanager should I use ? 

FreeBSD's boot manager will work.  Grub is in the ports and is an
excellent, very configurable bootloader/manager.  Read the Grub
documentation (it's available online) *very* carefully before you use it
(as in fact you should with all boot managers).  If you want a boot
manager that does things more automagically and needs less configuration,
try GAG.

 Does Windows XP (or 2000) could 
 boot FreeBSD (hum ?) ?

This is an item in both the FAQ and the Handbook available at the FreeBSD
web site.

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

A moment's thought will tell you why you don't want to *delete* FreeBSD's
bootloader or any other: What results is an unbootable disk!  If you want
to *replace* it with another bootloader/manager, go right ahead - it
won't resist.  Of course, if you are trying to remove FreeBSD's
bootloader from disk 2 by running fdisk/mbr on disk 1, I can understand
why it doesn't work.  ;)

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

I don't have an answer, except to recommend that you stay with 4.x until
(a) it becomes the -STABLE development track, or (b) you consider
yourself more of a hacker than a newbie.

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


Re: dual boot, java

2003-06-27 Thread Jud
On Fri, 27 Jun 2003 09:00:35 -0400, Jud [EMAIL PROTECTED] said:
 On Fri, 27 Jun 2003 12:35:40 +0200, Olivier DAVY [EMAIL PROTECTED]
 said:
[snip]
  3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X
  ?
 
 I don't have an answer, except to recommend that you stay with 4.x until
 (a) it becomes the -STABLE development track, or (b) you consider
 yourself more of a hacker than a newbie.

Sorry, I meant until *5.x* becomes the -STABLE development track.

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


Re: dual boot, java

2003-06-27 Thread Grzegorz Szczepanski
 3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X
 ?
There are no cdroms with precompiled packages for 5.1.. You must install
everything from ports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]