Does deleting a partition below Ubuntu mess up grub?

Tom H tomh0665 at gmail.com
Wed Oct 15 03:58:42 UTC 2014


On Sun, Oct 12, 2014 at 9:15 AM, Colin Law <clanlaw at gmail.com> wrote:
>
> I want to delete a partition (sda4) which is below the Ubuntu
> partition (sda5). I seem to remember when I did something similar
> some time ago that it messed up grub and the machine would not boot,
> due to the fact that the sda numbers changed when the partition was
> deleted. Is that still the case, and if so is there a procedure for
> deleting sda4 that will not cause such problems? This is Ubuntu
> 12.04.

What's your disk layout?

fdisk -l /dev/sda
or
gdisk -l /dev/sda




More information about the ubuntu-users mailing list