Bug#636217: live-build: initrd/vmlinuz filenames and syslinux menu entries do not match, can't boot the live image
Package: live-build
Version: 3.0~a21-1
Severity: important
Hello,
After building an iso-hybrid image of wheezy with live-build 3.0~a21-1, I could
not boot the live system.
I was prompted the syslinux menu, but selecting "Live" would only get me back
to that same screen again and again.
I think this is caused by the syslinux menu entries and initrd/vmlinuz
filenames not matching.
On my resulting ISO:
$ tree live
live
|-- filesystem.packages
|-- filesystem.packages-remove
|-- filesystem.squashfs
|-- initrd.img-2.6.39-2-amd64
|-- memtest
`-- vmlinuz-2.6.39-2-amd64
$ cat isolinux/live.cfg
default live
label live
menu label ^Live
menu default
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config locales=fr_FR.UTF-8
A workaround for now is to place a hook in config/binary_local-hooks/
#!/bin/bash
cd binary/live && mv vmlinuz-2.6.39-2-amd64 vmlinuz && mv
initrd.img-2.6.39-2-amd64 initrd.img
I hope this could be fixed
Thanks
-- Package-specific info:
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii debootstrap 1.0.32 Bootstrap a basic Debian system
Versions of packages live-build recommends:
ii cpio 2.11-7 GNU cpio -- a program to manage ar
ii gettext-base 0.18.1.1-3 GNU Internationalization utilities
ii gnu-fdisk 1.2.4-3+b1 Linux fdisk replacement based on l
Versions of packages live-build suggests:
ii dosfstools 3.0.9-1 utilities for making and checking
ii genisoimage 9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem
ii memtest86+ 4.20-1 thorough real-mode memory tester
ii mtools 4.0.12-1 Tools for manipulating MSDOS files
ii parted 2.3-7 disk partition manipulator
ii squashfs-tools 1:4.2-4 Tool to create and append to squas
ii sudo 1.7.4p6-1 Provide limited super user privile
ii syslinux 2:4.04+dfsg-3 collection of boot loaders
ii uuid-runtime 2.19.1-4 runtime components for the Univers
ii win32-loader 0.7.0 Debian-Installer loader for win32
-- no debconf information
Reply to: