Does deleting a partition below Ubuntu mess up grub?

Robert Heller heller at deepsoft.com
Sun Oct 12 16:27:53 UTC 2014


At Sun, 12 Oct 2014 17:15:38 +0100 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On 12 October 2014 17:11, William Scott Lockwood III <scott at guppylog.com> wrote:
> >
> > On Sun, Oct 12, 2014 at 8:35 AM, Colin Law <clanlaw at gmail.com> wrote:
> >>
> >> Thanks, but I am not sure if that is the problem.  Looking in
> >> /boot/grub/grub.cfg it contains direct references to sda numbers, so
> >> my memory was that grub looked for the wrong partition.  Perhaps my
> >> memory is wrong, however, and it was mounting the drives that caused
> >> the problem due to having sda numbers in fstab.
> >
> >
> > UUID mounts aren't all that hard, and they allow you to reorder partitions
> > without things mounting in the wrong place. It would certainly solve this
> > problem, as well as some others, like accidentally leaving a USB device
> > logged in and then having the system not boot correctly.
> 
> That confuses me, Robert says that grub cannot use UUIDs, so if it is
> expecting to boot from /dev/sda5 and sda5 is no longer the same
> partition then it will not boot.

UUIDs only helps when *Linux* mounts file systems -- it does nothing for grub.

> 
> Colin
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                                              




More information about the ubuntu-users mailing list