PDA

View Full Version : [ubuntu] After deleting Windows partition, swap isn't activated anymore



sparklingspecks
February 14th, 2009, 11:01 PM
Hi, I recently removed my Windows partition, so that I would have more space for my Linux partition. I did this with Gparted from the Intrepid live CD. As my disk layout looked like this: ext3|swap|ntfs, I had to move swap back to make ext3 larger. At some point after that I noticed that Ubuntu starts with scrolling text instead of the Ubuntu logo and that swap wasn't automatically activated anymore (I can, however turn it on per session in Gparted -- that doesn't help with swap not being there when waking up from hibernation, though).
Can anyone help me with this? Thanks in advance.

Pumalite
February 14th, 2009, 11:05 PM
Check UUID in /etc/fstab and modify it as nessesary
Find out with:

blkid

sparklingspecks
February 15th, 2009, 12:05 AM
Thanks.

caljohnsmith
February 15th, 2009, 03:35 PM
If you want to get back your Ubuntu splash screen, I would recommend changing the UUID of your new swap partition back to what it was originally. That way you won't have to modify /etc/fstab or the /etc/initramfs-tools/conf.d/resume file, and also regenerate all your initrd images. How about posting the output of the following:

sudo blkid -c /dev/null
cat /etc/fstab
cat /etc/initramfs-tools/conf.d/resume
sudo fdisk -lu
And we can work from there if you want.