adamsjw2
Group: Members
Posts: 17
Joined: Jan. 2004 |
|
Posted: Jan. 18 2004,02:10 |
|
Hi all, I've set up my swap file with CFDISK to be 250meg, Type 82. In the fstab I have /dev/hda2 none swap 0 0, but the swap file still isn't working. I've checked this with TOP and with the swap file monitor in the slit.
I found the following on the internet:
dd if=/dev/zero of=/swapfile bs=1M count-100 && chmod 600 /swapfile $$ mkswap /swapfile
I take out my swap file entry in the fstab and substitute /swapfile none swap swap defaults 0 0
When I reboot the swap file now works, but it doesn't show the 250 meg of the /hda2 partition, but 102209.
First, what do I have to do with get the swapfile to work with my original entry /dev/hda2 none .......etc;
Second what is the dd command doing? How should I change it to use the 250meg partition, if this is the only way to get the swap file on?
Other than that, DSL rocks. Now I'm trying to get dpkg to work so I can install the debian-specific linux driver for my Conexant linmodem---but that will be in another post. TIA, Jim Maysville KY USA
|