Package: grub-imageboot Version: 0.6 Severity: important Dear Alexander,
right now it's not possible to specify a device for the memdisk image. This makes it impossible to boot out of the box with a separate /boot partition. I have marked the bug as important as this is an option that's available in the debian installer. I've implemented a trivial two line fix that - Adds a BOOTDISK parameter to /etc/default/grub-imageboot - Prepends that to the BOOTDISK in /etc/grub/60_grub-imageboot I realize that this should probably be automated, and would be happy to work on it some more and prepare a proper patch. It seems like calling grub-probe with efi_hints as target could help, but I don't know enough about grub to make an informed decision. I also think that simply adding the parameter is probably good enough. Thanks for developing + maintaining this package, Nicolas -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages grub-imageboot depends on: ii grub-pc 2.02~beta2-20 ii syslinux-common 3:6.03+dfsg-5 grub-imageboot recommends no packages. grub-imageboot suggests no packages. -- Configuration Files: /etc/default/grub-imageboot changed: IMAGES="<...>" BOOTDISK="(hd2,1)" /etc/grub.d/60_grub-imageboot changed: set -e IMAGES=/boot/images if [ -e "/etc/default/grub-imageboot" ] then . /etc/default/grub-imageboot fi . /usr/lib/grub/grub-mkconfig_lib imageboot_add() { local extension="$1" local options="$2" local message_txt="$3" local menu_txt="$4" echo "$message_txt: $image" >&2 cat << EOF menuentry "$menu_txt: $(basename "$IMAGEPATH" | sed -e "s/[.]$extension\$//")" { EOF prepare_grub_to_access_device "$($grub_probe -t device "$image")" | sed -e "s/^/\t/" cat << EOF linux16 ${BOOTDISK}${MEMDISKPATH} $options initrd16 $IMAGEPATH } EOF } if test -e /boot/memdisk ; then MEMDISKPATH=$( make_system_path_relative_to_its_root "/boot/memdisk" ) echo "Found memdisk: $MEMDISKPATH" >&2 if [ ! -d "$IMAGES" ]; then echo "Imagepath $IMAGES not found" >&2 exit fi find "$IMAGES" -name '*.iso' -o -name '*.img' | sort | while read image ; do IMAGEPATH=$( make_system_path_relative_to_its_root "$image" ) case "$image" in *.iso) imageboot_add "iso" "${ISOOPTS:-iso}" "Found iso image" "Bootable ISO Image" ;; *.img) imageboot_add "img" "${IMAGEOPTS:-rawimg}" "Found floppy image" "Bootable Floppy Image" ;; esac done else echo "memdisk not found" >&2 echo "Please copy /usr/lib/syslinux/memdisk to /boot/memdisk" >&2 fi -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org