0

I had 8 gb swap. THen i increased it to 16 gb on live usb ubuntu.

It did not give any warning while i was doing. Because i used the space from end of the root, not from the beginning.

But after that, ubuntu is not starting. It stays at ubuntu logo.

I went again to live usb and tried a lot of things. One example is that https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

sudo grub-install --boot-directory=/mnt/ubuntu/boot /dev/sdX

i was trying to write this.

it says

warning: File system `ext2' doesn't support embedding. warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. error: will not proceed with blocklists.

i dont know what to do.

also i tried this:

https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd

grub-install error can not open directory . boot/grub/i386-pc no such file or directory

also trried this

https://askubuntu.com/a/229453/542960

for this part

sudo chroot /mnt
Install grub:

grub-install --boot-directory=/boot/ --recheck /dev/sda

i get this:

grub-install error can not find efi directory

what happened to my system ? i have only ubuntu, not dual

I tried lots of things. i dont want to lose my OS. please help me

This is boot info

http://paste.ubuntu.com/p/kdt3NFdhgh/

after i use boot-repair, it became this

http://paste.ubuntu.com/p/2n5K7K8xCK/

1 Answers1

0

what @waltinator says is that you have to resize the partition correctly (see: http://www.microhowto.info/howto/reduce_the_size_of_an_ext2_ext3_or_ext4_filesystem.html) or use tools like gparted which will do that for you. by the way I'm glad to hear you can boot again in to your system; The system boot probably is slow down due the UUID of swap partition has change see this for fix it: Ubuntu is booting very slowly after dual boot with Kali It talk about get issue after installation in dual boot of kali, but that was the cause, issue was the UUID of swap change, and if you increase it you probably format and so the UUID has change.

AtomiX84
  • 1,231