Wrong creation of grub

Bug #1899815 reported by Federico F.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

In the file block-device-default.yaml, where i decide how to partition the disk i wrote:

- local_loop:
      name: image0

- partitioning:
      base: image0
      label: mbr
      partitions:

         - name: root
           flags: [ primary ]
           size: 60%
           mkfs:
              type: xfs
              mount:
                 mount_point: /
                 fstab:
                    options: "defaults"
                    fsck-passno: 0

         - name: boot
           flags: [ boot ]
           size: 20%
           mkfs:
              type: xfs
              mount:
                 mount_point: /boot
                 fstab:
                    options: "defaults"
                    fsck-passno: 0

         - name: home
           flags: [ ]
           size: 100%
           mkfs:
              type: xfs
              mount:
                 mount_point: /home
                 fstab:
                    options: "defaults"
                    fsck-passno: 1

and when i'll install the grub into the image created fail to load the kernel because of an extra /boot in those paths linux $(root)/boot/vmlinuz-4...etc and intird $(root)/boot/intramfs-4...etc
I think it's an error caused in the code that create the image

Revision history for this message
Federico F. (federico-ferr25) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.