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

Bug#651641: kfreebsd-amd64: daily debian-installer broken by recent change

Package: installation-reports

Boot method: netinst jigdo-cd
Image version:
Date: 2011-12-10 18:29:56 +0000

Machine: qemu-system-x86_64 -m 512 -drive
if=ide,cache=writeback,file=hda.bin -cdrom
debian-testing-kfreebsd-amd64-netinst.iso -boot d
Partitions: dd if=/dev/zero bs=1M count=2048 of=hda.bin


This change breaks non-GTK install -- all GRUB entries now try to use
/boot/gtk/mfsroot.gz even if it is not there:


At GRUB command-line, 'test' command is not understood.  GRUB also does
not handle this situation very well:

grub> if test /nonexist; then echo true; else echo false; fi
error: unknown command `test'.

As a result, GRUB will always set mfsroot_path="/boot/gtk/mfsroot.gz"
and create menu entries for the graphical installer.

Another problem, is that the $mfsroot_path variable is not
evaluated/expanded at the time the menu entry is created.  Instead,
whatever value was *last* set for mfsroot_path, is the one that gets
used, whichever entry is chosen.

Going to the GRUB command line first and executing:

grub> set mfsroot_path="/boot/mfsroot.gz"

will allow the installer to boot.

Steven Chamberlain

Reply to: