Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just deleted my linux swap from gparted and used that to extend my main linux partition. Now I just boot into grub rescue. It seems like a simple fix in fstab but I'm not sure.

Here's my fstab

# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=1e928067-3dcb-4c58-b835-783bd907e916 /               ext4    errors=remount-ro     0       1
# swap was on /dev/sda5 during installation
UUID=fff1fb3c-65d3-4360-b246-e7de1b7d90e3 none            swap    sw              0       0
/dev/disk/by-uuid/1C2A5C7F2A5C583A /mnt/1C2A5C7F2A5C583A auto nosuid,nodev,nofail,x-    gvfs-show,x-gvfs-name=C 0 0
/dev/disk/by-uuid/4C204724204713FC /mnt/4C204724204713FC auto nosuid,nodev,nofail,x-    gvfs-show,x-gvfs-name=F 0 0
share|improve this question
When you extended your '/' partition, I think the UUID got changed and grub is no longer able to figure out where to go. Boot into live mode, setup a chroot and run update-grub. Also, do delete the swap partition entry, now that the partition no longer exists. See the last section of this answer. –  muru Jul 11 '14 at 3:06
Expanding an existing partition should not change its UUID value. It's more likely that the root (/) partition was accidentally deleted, but that's just a guess. Posting the output of sudo parted -l /dev/sda or a screen shot of the GParted window should confirm or deny my hypothesis. –  Rod Smith Jul 11 '14 at 12:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.