[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651520: live-build: booting a custom image fails because of missing /live/vmlinuz and /live/initrd symlinks



Hi Vincent,

You need a hook to fix this. Create a file named renamekernel.binary. Place this in the hook dir. The file should have the following contents:

mv binary/live/initrd.img-* binary/live/initrd.lz
mv binary/live/vmlinuz-* binary/live/vmlinuz

Good luck!

Regards, Piethein

________________________________________
Van: Vincent Fourmond [fourmond@debian.org]
Verzonden: vrijdag 9 december 2011 14:00
To: Debian Bug Tracking System
Onderwerp: Bug#651520: live-build: booting a custom image fails because of missing /live/vmlinuz and /live/initrd symlinks

Package: live-build
Version: 3.0~a40-1
Severity: important

  Hello,

  I've just built a custom image using live build, and it
unfortunately refuses to boot the linux image (hardware information
and memory test work).

  Looking more closely at the generated iso image, here is what I found:

~ cat isolinux/live.cfg
default live
label live
        menu label ^Live
        menu default
        kernel /live/vmlinuz
        append initrd=/live/initrd.img boot=live config
~ ls live
filesystem.packages         filesystem.squashfs       memtest
filesystem.packages-remove  initrd.img-3.1.0-1-amd64  vmlinuz-3.1.0-1-amd64

  The isolinux configuration refers to missing files:

  /live/vmlinuz
  /live/initrd.img

  I'm using the iso-hybrid target type.

  Placing the hard links manually and rebuilding the image with lb
binary_iso fixes the problems (but uncovers other ones, more on that
later).

  Cheers,

        Vincent

-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.8+b1
ii  debootstrap   1.0.38

Versions of packages live-build recommends:
ii  cpio                            2.11-7
ii  gettext-base                    0.18.1.1-5
ii  gnu-fdisk                       <none>
ii  live-boot-doc                   3.0~a24-1
ii  live-config-doc                 3.0~a31-1
ii  live-manual-html [live-manual]  1:3.0~a9-1

Versions of packages live-build suggests:
pn  dosfstools                  3.0.12-1
pn  fakeroot                    1.18.2-1
pn  genisoimage                 <none>
pn  memtest86+ | memtest86      <none>
pn  mtools                      <none>
pn  parted                      <none>
pn  squashfs-tools | mtd-tools  <none>
pn  sudo                        1.8.3p1-2
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>

-- no debconf information



--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111209130036.5716.88261.reportbug@nausicaa.bip.glm">http://lists.debian.org/20111209130036.5716.88261.reportbug@nausicaa.bip.glm



Reply to: