Re: Changing swap resume signature location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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...

	-I

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux