swapless in Toronto
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Feb 7 17:46:23 UTC 2005
On Mon, Feb 07, 2005 at 12:38:19PM -0500, David J Patrick wrote:
> I installed ubuntu, on my Thinkpad, and have been very happy with it.
> Unfortunately, as I was custom partitioning, I /forgot/ to create a swap
> partition. DOH ! I didn't even notice, for the longest time, but some
> apps (Inkscape) gets hungry for more than my available 384meg and crash
> le box ! What's the sane way to resize my home partition ? I've poked
> around parted, gk-parted, gparted, but honestly, I'm a little afraid..
> I have an ubuntu LIVE CD, with parted, but it only seems to see hda5
> (/home) while it is mounted, and I can't resize while mounted, right ?
> I know this is admin kid stuff.. but my Mom is an even worse admin.
> whatdoIdo ? whatDOiDO ?
dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap /swapfile
add swapfile to fstab the same way you would a partition for swap. The
performance difference is minimal as far as I know.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list