[CentOS] Changing swap resume signature location
ian at duckland.org
Tue Sep 2 03:06:33 UTC 2008
On Mon, 2008-09-01 at 13:25 -0400, Mag Gam wrote:
> 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)
Hmm... for CentOS this would be:
Become root (or use sudo - your choice...)
1. 'mkswap /dev/xxx'
2. Put the entry into /etc/fstab
3. 'swapon -a' (This will ensure that your fstab entry is good. If it
doesn't load up, something's wrong...)
4. Recreate your initial ramdisk. You could do something like:
'mkinitrd /boot/initrd-2.6.18-92.1.10.el5.img 2.6.18-92.1.10.el5' but
I'd recommend creating a new ramdisk (different filename) and creating a
new test grub entry...
More information about the CentOS