[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:
http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/20111210-5/kfreebsd-amd64/jigdo-cd/debian-testing-kfreebsd-amd64-netinst.jigdo
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


Hi,

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

http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=commitdiff;h=f2e67bfc42db1b0234846b98c2b53c6ef6d89539

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'.
true

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.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org



Reply to: