[CentOS] Changing swap resume signature location

Mon Sep 1 17:25:56 UTC 2008
Mag Gam <magawake at gmail.com>

1. Format the swap partition again: sudo mkswap /dev/XXX
2. Activate swap partition sudo swapon /dev/XXX
3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by "resume=/dev/XXX"
4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
(same version as the kernel)



On Mon, Sep 1, 2008 at 1:23 PM, Mag Gam <magawake at gmail.com> wrote:
> Why not create a new swap partition and place it in /etc/fstab ?
> You don't have to worry about swap signatures and all...
>
>
>
>
> On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay
> <patrice.guay at nanotechnologies.qc.ca> wrote:
>> At boot time, the system is looking for a resume signature on the
>> default SWAP partition that was defined during the OS installation.
>>
>> On several systems, I changed the location of the SWAP partition. How do
>> I change the location where the system looks at boot time for the resume
>> signature?
>>
>> Thanks,
>> --
>> Patrice Guay
>> patrice.guay at nanotechnologies.qc.ca
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>