Missing SWAP partition after upgrade to Ubuntu 6.10
I did a [tag]Ubuntu[/tag] [tag]Linux[/tag] upgrade version 6.10 last week. Today I feel that my laptop was running so slow and I found my [tag]swap[/tag] [tag]partition[/tag] are gone (never notice after upgrade last week). Too Bad!
Anyway, here is the tips:
- $ sudo fdisk /dev/hda -> Check your hard disk partition and look for id 82 or swap
- sudo mkswap /dev/hda2 -> Make sure /dv/hda2 is correct partition
- $ sudo swapon /dev/hda2 -> Add swap partition again -> RECORD the OUTPUT of UUID
- Use the UUID -> as record down and put into /etc/fstab
- Edit /etc/initramfs-tools/conf.d/resume
- Modify ‘RESUME=UUID=uuid–vol_ID’ as record down
- Type “update-initramfs -u”
- $ sudo swapon -s ->Make sure that swap is there
Updated:
Check here for more informations.
Good Luck and think again before upgrade!
Possibly Related Posts:
- RSS Feed Submissions
- Geo Positions
- Interesting about Google Suggest
- Setup a Linux Highly Availability NFS servers
- How to find empty folders on Linux
