[SATLUG] Trying to understand UUID and grub

Charles Mims chmims at gmail.com
Thu Nov 20 15:11:11 CST 2008


I can see where a disk would have a guid and each partitions on it have a
different
guid.  But I am asking for the guid on a partition using *blkid *and *vol_id
*and getting
two different numbers.  Or at least that is what I think I am  doing.

On Thu, Nov 20, 2008 at 11:29 AM, John Pappas <j at jvpappas.net> wrote:

> I am not using a GUID boot setup (LVM), but I am thinking that you need to
> be using the partition GUID, not the disk GUID.  Try using sdxy where y is
> your root partition.  You may need to specify your boot part GUID as well,
> but I know at least your root partition GUID.
>
> On Wed, Nov 19, 2008 at 19:34, Charles Mims <chmims at gmail.com> wrote:
>
> > I am trying to understand UUID #.   I understand that it is a unique ID
> for
> > a device.
> > But unfortunately it seems to be able to change for partitions which
> seems
> > to be
> > causing problems with GRUB.   I have tried substituting /dev/sdx but that
> > doesn't
> > seem to be the solutions.   So I am trying to find out the UUID # for a
> > partition
> > so I can use that.    How ever I seem to be getting two different #'s .
> >
> > #/sbin/blkid /dev/sdx gives me one UUID #.  Which does not seem to change
> > with
> > reformating the partition.  However!
> >
> > #/sbin/vol_id /dev/sdx returns a different UUID # and that number changes
> > if
> > the
> > partition is reformated.
> >
> > My concern is that installing a different distro of Linux and lettting it
> > write a new
> > GRUB to the MBR seems to result in being unable to load the the
> previously
> > installed
> > distro.   Simply copying the old grub  config to the new doesn't seem to
> > work.
> >
> > Charles
> > --
> > _______________________________________________
> > SATLUG mailing list
> > SATLUG at satlug.org
> > http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> > Powered by Rackspace (www.rackspace.com)
> >
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>


More information about the SATLUG mailing list