Bill Jonas on Wed, 21 Nov 2001 13:19:39 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] two questions...


On Tue, Nov 20, 2001 at 08:54:15PM -0500, Tobias DiPasquale wrote:
> 	1) Is there a way for me to increase my swap partitions without
> 	having to delete existing partitions? (i.e. "grow" and "shrink"
> 	partitions)

You might be able to do this with GNU parted
(http://www.gnu.org/software/parted/).  Failing that, you might try
Partition Manager.

Or you could just use a swap file, although it's a bit less efficient
than a swap partition.  Decide how big you want the file to be, then run
a command like "dd if=/dev/zero of=/path/to/swapfile bs=1M count=<number
of megabytes>".  Then "/sbin/mkswap /path/to/swapfile".  Then add a line
to your /etc/fstab like "/path/to/swapfile none swap sw 0 0".

> 	2) How can I compile my kernel to include all of the modules (in
> 	the same configurations) as the RedHat install process?

Well, they have 2.4.9 images available at
ftp://ftp.redhat.com/pub/redhat/linux/updates/7.2/en/os/ but if you want
to build one of the newer ones you should get the .config file that they
used for the build.  In Debian, it's at /boot/config-<version>; I'm not
sure where it is in RedHat.  Once you do that, copy it to .config in the
top level of your kernel source tree and run "make oldconfig".  This
will only prompt you for answers to new questions.

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/

Developer/SysAdmin for hire!   See http://www.billjonas.com/resume.html

Attachment: pgpJ1vy9a6D2W.pgp
Description: PGP signature