[CentOS] Changing swap resume signature location
patrice.guay at nanotechnologies.qc.ca
Tue Sep 2 01:47:20 UTC 2008
Mag Gam wrote:
> On Mon, Sep 1, 2008 at 2:42 PM, Patrice Guay wrote:
>>>> On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay 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
>>> 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
>>> 4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
>>> (same version as the kernel)
>> I cannot find the /etc/initramfs-tools directory on my system. Which
>> package provides it under CentOS 5?
> This is a Debian specific command. I am certain something like this
> exists for CentOS too...
Please, do not provide an answer if it is not directly relevant for
CentOS. I found a similar receipe than yours after searching Google but
I am still unable to find an answer for my CentOS 5 systems.
More information about the CentOS