Re: Changing swap resume signature location

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



Ian Forde wrote:
> 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
>> signature?
>
> 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...
>

Updating the kernel also recreates the initial ramdisk. So, step #4
could be avoided if you plan to update the kernel on your system.

Thanks for the help,
--
Patrice


_______________________________________________
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