Create the partition that you want to use for swap, using fdisk.

While in fdisk, change the partition type from 83 (linux) to 82 (linux 
swap).

Quit fdisk (using w to save the changes), then run "mkswap /dev/xxxx" 
where xxxx is the partition you created.  Then, just issue "swapon" to 
start using that swap partition.

Then, to ensure that the swap is activated on bootup, make sure you have a 
line like this:

/dev/xxxx               swap       swap    defaults        0  0

in your /etc/fstab, again, where xxxx is the partition in question.

Good luck.

On Fri, 5 Apr 2002, [gb2312] Yue Sheng wrote:

> 
> Hi, all:
> 
> For some reason, I lost my Linux Swap partition. But I don't want to reinstall my 
>Red Hat Linux system. 
> 
> How can I create a Linux swap partition from Linux native or FAT32 partitions? Does 
>PartitionMagic work? 
> 
> Please help me. Any suggestion will be appreciated!
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> 到世界杯主题公园玩一玩,赢取世界杯门票乐一乐。
> 雅虎中国推出 2002 世界杯聚焦!



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to