|
Home > Archive > Red Hat Installation > December 2005 > Tell installer to use swap
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Tell installer to use swap
|
|
| Fabrizio 2005-12-14, 7:50 am |
| Hi,
I have an old pc with only 8mb of ram, and I want to install redhat 6.2
on it (I have another machine running same distro). The old pc have no
cdrom, but ethernet adapter on parallel port (a d-link de 620), so I
decided to try network installation.
Via nfs, installer exit after ~10 minutes with signal 9; via ftp
installation hang up at "loading second stage ramdisk". I have looked
over web and I think it maybe a low memory problem: there's a way to
force installer to use a swap partion on hdd? (note: partition already
exists on hdd, it was created by a previously redhat 5 installation).
Thanks and Regards,
Fabrizio
| |
| velocity 2005-12-15, 7:49 am |
|
I am assuming u know what devices are and what do we mean by device
numbers in case u dont know just type
fdisk -l as root Log in to root from command line by
su -
not su
u will get it
The mkswap command formats a partition to be used as a swap
device.
To be used as root
mkswap -c /dev/<ur Device >
Once the partition is formatted, the kernel can be signalled to use
that partition as a swap partition with
swapon /dev/<ur Device>
and to stop usage,
swapoff /dev/<ur Device>
Swap partitions cannot be larger than 128 MB, although you can have as
many of them as you like. You can swapon many different partitions
simultaneously.
U can change the Entries in /etc/fstab to use the partitions as swap
each time u want I hope this solves ur problem
|
|
|
|
|