koan --replace-self relies on grubby

Bug #766229 reported by Tom Ellis on 2011-04-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)

Bug Description

Binary package hint: cobbler

When using koan's --replace-self option, an additional grub entry is used and set as default, so the system is rebooted into the install kernel without having to PXE boot.

This is a neat feature of koan but it relies on 'grubby' which is grub1 specific.

Related branches

Tom Ellis (tellis) wrote :

This is similar to #760019 's reliance on grubby

Tom Ellis (tellis) wrote :

root@ubuntu-client:~# koan -s --replace-self --profile=natty-client
- looking for Cobbler at
downloading initrd initrd.gz to /boot/initrd.gz
- reading URL:
downloading kernel linux to /boot/linux
- reading URL:
grubby is not installed

Tom Ellis (tellis) wrote :

grub2 uses grub-mkconfig (called by update-grub) to regen the grub.cfg file, as the linux and initrd.gz files are downloaded correctly by koan to /boot/linux and /boot/initrd.gz you can get use it to regenerate the grub.cfg file.

I think grub-mkconfig expects the files in the format vmlinuz-$version and initrd-img-$version though...

Changed in cobbler (Ubuntu):
status: New → Confirmed
Changed in cobbler (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobbler - 2.1.0+git20110602-0ubuntu11

cobbler (2.1.0+git20110602-0ubuntu11) oneiric; urgency=low

  * debian/patches/51_koan_grub2_instead_of_grubby.patch: Use grub2 for koan's
    '--replace-self' option instead of grubby. (LP: #766229)
 -- Andres Rodriguez <email address hidden> Tue, 28 Jun 2011 17:02:53 -0400

Changed in cobbler (Ubuntu):
status: In Progress → Fix Released
Changed in cobbler (Ubuntu):
assignee: Andres Rodriguez (andreserl) → nobody
status: Fix Released → Triaged
status: Triaged → Fix Committed
Changed in cobbler (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers