I have a HP ENVY 15 j037-el with Ubuntu 15.04 installed alongside Ubuntu 16.10. I would like to delete the 15.04 partition without risking to break the booting process: that happened me once and I wouldn't like to repeat the dreadful experience of fixing the grub via command line again.
The partitions I can see with disks
are:
- /dev/sda1, EFI system, FAT32, size 537 MB
- /dev/sda4, root linux partition (x86_64), Ext4 (v 1.0), size 730 GB
- /dev/sda2, linux filesystem, Ext4 (v 1.0), size 257 GB
- /dev/sda3, Swap linux, Swap (v 1), 13 GB
Ubuntu 15.04 is installed on /dev/sda4 and Ubuntu 16.10 on /dev/sda2. Thank you for your help.
Edit: I already followed the instructions given for question this question, specifically the part about the OS-Uninstaller, but as I already wrote, I had to manually fix the grub to get my laptop to boot again. I would like to know how I can safely remove the partition without risking to compromise boot.
disks
command? On your16.10
or15.10
? – Tony Lancer Nov 28 '16 at 16:03cat /boot/efi/EFI/ubuntu/grub.cfg
If not allowed to view, it may still have permissions set in fstab to 0077. You then can use live installer to view or change permissions. Boot-Repair auto changes permissions as it has to edit ESP - efi system partition. – oldfred Nov 28 '16 at 17:14