Lee Willis wrote:
[snip]
> 
> Erm, you're still stuck with the fact you have no swap partition though
> :(
> 
> Lee

I've run into this problem with another distro, if you need to make some
swap you can do this.

1.Use dd to allocate the amount of swap space you desire to a file on
your hard drive: 

dd if=/dev/zero of=/swapfile bs=1024 count=50000

This would create a file called "/swapfile" that contains 50,000 blocks
of 1,024 bytes each (51,200,000 bytes, or 50 MB).

2.Execute sync to make sure the full 50 MB file has been written from
memory to your hard drive.

3.Use mkswap to create a swap space in the file you just made: 

mkswap -c /swapfile 50000

Be sure to specify the number of 1,024 byte blocks you used to make the
swap file in the first place (in our case, it's 50,000).

4.Activate the new swap file with swapon: 

swapon /swapfile
 
If you wish to have this new swap file activate automatically every time
you start your system, add it to "/etc/fstab"; On a line by itself,
enter this:

/swapfile none swap sw

-- 
If I abhor evil, am I therefore... good!
Armand - Interview with a Vampire
Wed May 31 21:50:00 MDT 2000

Reply via email to