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
resize2fs
on the partition FIRST. Boot from a Live USB/CD, backup your data (to an external drive), and reinstall. – waltinator Sep 09 '18 at 04:07