Re: FreeBSD installation on a single partition

2004-05-16 Thread Lee Harr
I'd like to install FreeBSD on a single partition, how can I do that?
The sys/installer complains about a missing swap partition, (I'd rather
use swap files though).

I have never tried this. It is very possible that the installer cannot
work without creating a separate swap partition.
What you might try is using 2 disks.
Install normally on to one disk, then copy the installation over to
the disk that you really want to use, remove the swap partition
from the fstab, and create the swapfiles you want to use.
_
Getting married? Find tips, tools and the latest trends at MSN Life Events. 
http://lifeevents.msn.com/category.aspx?cid=married

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


Re: FreeBSD installation on a single partition

2004-05-16 Thread Viktor Lazlo
On Sun, 16 May 2004, Lee Harr wrote:

 I'd like to install FreeBSD on a single partition, how can I do that?
 The sys/installer complains about a missing swap partition, (I'd rather
 use swap files though).
 


 I have never tried this. It is very possible that the installer cannot
 work without creating a separate swap partition.

 What you might try is using 2 disks.

 Install normally on to one disk, then copy the installation over to
 the disk that you really want to use, remove the swap partition
 from the fstab, and create the swapfiles you want to use.

Are you referring to BIOS partitions or BSD partitions?

If you are refering to a BIOS partition, this is equivalent to a BSD slice
and the BSD partitions are created within it during the installation.
During a normal installation, sysinstall will create a single slice (BIOS
partition) to hold the BSD partitions unless you instruct it otherwise, so
this will not be a problem.

If you are referring to BSD partitions, I guess you could try removing the
default swap space created when partitioning then creating and configuring
the swap file before rebooting at the end of installation.

Cheers,

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


FreeBSD installation on a single partition

2004-05-15 Thread Günther Schmidt
Hi,
I'd like to install FreeBSD on a single partition, how can I do that? 
The sys/installer complains about a missing swap partition, (I'd rather 
use swap files though).

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


Re: FreeBSD installation on a single partition

2004-05-15 Thread Robert Storey
Unless you're really short of hard disk space, I'd say that this is a bad idea.
Multiple partitions give added stability and security.

The sole disadvantage of using multiple partitions is that you might not
allocate enough space on one particular partition and so it could fill up -
therefore, you have to put some careful thought into how large each partition
should be. 

Advantage No. 1 of multiple partitions - stability. Some directories are
frequently being written to, especially /tmp and /var, and probably /home
(especially if you manage to create a swap file there). If there is a system
crash or power failure while information is being written, you could lose
everything. All your critical data probably resides in /home, so you should keep
it in a separate partition so that you can recover it even if everything else
goes to hell. Ideally, you want the / partition to be read-only.

Advantage No. 2 - security. A number of denial of service attacks and other
hacks are aimed at /tmp and /var, and you can accidentally cause a
self-inflicted denial of service attack if you fill up /home. Having separate
partitions prevents this.

At the very least, keep swap in its own partition. Ideally, have separate
partitions for /, /usr, /tmp, /var and /home.

regards,
Robert


On Sat, 15 May 2004 14:31:28 +0200
Günther Schmidt [EMAIL PROTECTED] wrote:

 Hi,
 
 I'd like to install FreeBSD on a single partition, how can I do that? 
 The sys/installer complains about a missing swap partition, (I'd rather 
 use swap files though).
 
 Thanks Günther
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]