[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2013-04-28 Thread Thomas Hotz
** Changed in: os-prober (Ubuntu)
   Status: New = Invalid

** Changed in: grub-installer (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/244141

Title:
  Grub: Add detection of bootable disk partitions by UUID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/244141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2009-12-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/grub

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-18 Thread Launchpad Bug Tracker
This bug was fixed in the package grub - 0.97-29ubuntu28

---
grub (0.97-29ubuntu28) intrepid; urgency=low

  [ Colin King ]
  * debian/patches/uuid.diff: added uuid command, to select root device by
uuid. Supports uuid booting from ext2, ext3, fat, vfat, jfs, ocfs,
reiserfs, and xfs filesystems, based on a heavily-modified version of the
udev volume_id lib by Kay Sievers [EMAIL PROTECTED].  LP: #244141.
  * Add uuid command to grub documenation

  [ Steve Langasek ]
  * Only delete the old event.d script on upgrade from the affected versions
of the package.

 -- Steve Langasek [EMAIL PROTECTED]   Fri, 18 Jul 2008
10:09:09 +0100

** Changed in: grub (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-17 Thread Colin King
Yep, I certainly neglected to update the documentation.  Attached is a
diff to fix this omission.

Colin

** Attachment added: UUID grub documentation diff
   http://launchpadlibrarian.net/16106796/uuid_doc.diff

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-16 Thread Steve Langasek
** Also affects: grub-installer (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: os-prober (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-15 Thread Steve Langasek
Patch committed to lp:~ubuntu-core-dev/grub/ubuntu.

I noticed that the changelog entry you provided included a rather
extensive bit of explanation of this new feature:

uuid command works in two ways, either by specifying the root device to
boot from by the uuid number:

uuid UUID-NUMBER

or to list the uuid's on the supported filesystems on all bootable devices
when the UUID-NUMBER is not listed, e.g.:

uuid

I think this belongs in some sort of documentation, not in the
changelog.  Could you provide a patch to docs/grub.info that documents
the new uuid functionality, so that this information will be available
in the grub-doc package?

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-14 Thread Colin King
Can anybody point me to the relevant patches - from my understanding
Robert Millan has implemented UUIDs in grub, but without being able to
examine the source I cannot easily compare and contrast the two
implementations.

Colin

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-14 Thread Steve Langasek
On Mon, Jul 14, 2008 at 01:01:20PM -, Colin King wrote:
 Can anybody point me to the relevant patches - from my understanding
 Robert Millan has implemented UUIDs in grub, but without being able to
 examine the source I cannot easily compare and contrast the two
 implementations.

svn://svn.debian.org/svn/pkg-grub/grub/trunk/

Mergeable into the Ubuntu bzr tree at lp:~ubuntu-core-dev/grub/ubuntu.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-14 Thread Colin King
Steve,

From my understanding of the patches, they are to do with grub-update
identifying the disk by examining /dev/disk/by-uuid. This is different
to my set of patches which do UUID identification at boot time inside
the boot loader (my code uses raw BIOS reads of the underlying
filesystem and some uuid magic via the uuid library borrowed from udev).

From what I can understand from the message in http://www.nabble.com
/UUID-support-in-GRUB-td17586784.html the boot from uuid part is not yet
implemented in grub-0.9x. It appears there is some experimental UUID
support in grub2 that would needs to be back ported to 0.9x -- which
could be as unpleasant as writing it from scratch.

Colin.

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-14 Thread Steve Langasek
On Mon, Jul 14, 2008 at 03:39:48PM -, Colin King wrote:

 From my understanding of the patches, they are to do with grub-update
 identifying the disk by examining /dev/disk/by-uuid. This is different
 to my set of patches which do UUID identification at boot time inside
 the boot loader (my code uses raw BIOS reads of the underlying
 filesystem and some uuid magic via the uuid library borrowed from udev).

 From what I can understand from the message in http://www.nabble.com
 /UUID-support-in-GRUB-td17586784.html the boot from uuid part is not yet
 implemented in grub-0.9x. It appears there is some experimental UUID
 support in grub2 that would needs to be back ported to 0.9x -- which
 could be as unpleasant as writing it from scratch.

Ok, you appear to be correct.  I've reviewed Robert Millan's mail to
debian-boot, and I see that he says:

 I'm in the process of enabling UUID support in GRUB.  This basically means
 two different things:

  1- GRUB should use UUIDs internally to identify the devices it needs to
 access (for example, which device contains your /boot), regardless of
 how BIOS assigns numbers.

  2- update-grub should automatically detect the UUID of your root filesystem
 and tell Linux about it via root=UUID=xxx parameter.

 Latest grub2 in unstable (1.96+20080601-1) is already doing #1 (to some extent)
 and #2 (although #2 can be disabled).

 #1 I don't expect to see in grub legacy; but #2 is trivial to implement.  My
 plan is to use grub2 as a testbed for this feature, and if no problem arises
 add it to grub legacy as well.

So indeed, he doesn't have any intention of implementing UUID support
directly in GRUB1.

Thanks, I'll poke at your patches later today.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-12 Thread Colin Watson
Bumping to alpha-3; let's look at this at the sprint next week.

** Changed in: grub (Ubuntu)
   Status: New = Confirmed
   Target: intrepid-alpha-2 = intrepid-alpha-3

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-07-09 Thread Steve Langasek
Hi Colin,

How does this patch relate to the UUID support that's being added to the
Debian grub package?  It would be great if we could sync up with Debian
on this and be using the same code.

** Changed in: grub (Ubuntu)
   Target: intrepid-alpha-1 = intrepid-alpha-2

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244141] Re: Grub: Add detection of bootable disk partitions by UUID

2008-06-30 Thread Colin King
Attached is a debdiff that supports grub boot for UUID for Intrepid.

It supports booting by UUID for the following partition types:

PartitionTested 
ext2Y
ext3Y
fat/vfatY
jfsY
reiserfs   Y
xfs  Y
ocfsN
ddf_raid  N
hfs  N
luksN

The tests were performed by creating several partitions on a 4Gb USB
Mass Storage Device of the above types and copying /boot into each
partition and then booting from the relevant partition.  Partitions 1-4
and logical partitions 5+ were tested on USB and physical hard disks.

A typical grub menu.lst using the uuid command is as follows:

title   uuid ext3
uuid98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0
kernel  /boot/vmlinuz-2.6.24-19-generic 
root=UUID=98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0 ro quiet splash
initrd  /boot/initrd.img-2.6.24-19-generic

title   uuid vfat
uuid4868-85B1
kernel  /boot/vmlinuz-2.6.24-19-generic root=UUID=4868-85B1 ro quiet 
splash
initrd  /boot/initrd.img-2.6.24-19-generic

One extra feature is just using the uuid command without specifying a
UUID will cause grub to find and print out all know (and supported)
UUID's that it can boot from, in the form:

(hdX,Y)filesystemuuid

e.g.:

(hd0,0)   ext3   98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0
(hd1,0)   vfat4868-85B1
(hd1,1)   xfs  6f2ebb0f-f6d1-4e7b-9292-942c0c3d021b

Note: The UUIDs must match those as reported by `ls /dev/disk/by-uuid` -
some filesystem UUID's are derived from volume labels and the UUID
matching is case sensitive.


** Attachment added: Intrepid Grub 0.97 UUID debdiff
   http://launchpadlibrarian.net/15685494/grub-0.97.uuid.debdiff

** Changed in: grub (Ubuntu)
   Importance: Undecided = Wishlist
   Target: None = intrepid-alpha-1

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs