Wednesday, November 12, 2008

Ubuntu bootsplash corruption

If you have ever recreated your swap partition and you're using Ubuntu, then you might have experienced a problem I had with bootsplash no longer working correctly. Even with /etc/fstab updated with new UUID of the swap partition the bootsplash would be interrupted with console messages. The solution:
  • get the UUID of swap partition, e.g. blkid /dev/sda3
  • update /etc/fstab swap entry with new UUID
  • update /etc/initramfs-tools/conf.d/resume with new UUID
  • recreate initramfs: sudo update-initramfs -u
If your swap partition doesn't have an UUID (this can happen if you recreated it with other Linux distribution), then you should recreate it in Ubuntu with mkswap.

No comments: