Bug#712907: grub-installer: No longer installs automatically on a normal machine with one hard drive
Hi
I have a very similar problem, adding it here as it seems to have the same
origin. As mentioned by Petter, 1.86 introduced the follwoing change:
grub-installer (1.86) unstable; urgency=low
[ Vincent McIntyre ]
* Support menu selection of GRUB boot disk. Closes: #706112
-- Cyril Brulebois <kibi@debian.org> Mon, 29 Apr 2013 13:53:27 +0200
I used to have a small preseed file and a virt-install invocation
like, described by Guido here, doing a net install:
http://honk.sigxcpu.org/con/Preseeding_Debian_virtual_machines_with_virt_install.html
virt-install --connect=qemu:///system \
--location=http://ftp.us.debian.org/debian/dists/unstable/main/installer\-amd64 \
--initrd-inject="${HOME}/virt/d-i/preseed.cfg" \
--extra-args="auto keymap=us hostname=${NAME} netcfg/get_ipaddress=${IP} suite=${SUITE} -- console=tty0 console=ttyS0,115200n8" \
--name $NAME \
--ram=$RAM \
--disk=pool=default,size=${DISKSIZE},format=qcow2,bus=virtio,cache=writeback
beeing able to quickly do tests in newly created vms, the preeseed.cfg
look like:
----cut---------cut---------cut---------cut---------cut---------cut-----
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i debian-installer/locale string en_US.UTF-8
d-i keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.122.1
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_nameservers string 192.168.122.1
d-i netcfg/confirm_static boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string cdn.debian.net
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i passwd/make-user boolean false
d-i passwd/root-password password r00tme
d-i passwd/root-password-again password r00tme
d-i time/zone string US/Eastern
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i partman-auto/method string regular
#d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
tasksel tasksel/first multiselect
d-i pkgsel/include string openssh-server
d-i pkgsel/upgrade select full-upgrade
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
----cut---------cut---------cut---------cut---------cut---------cut-----
It happens with both
d-i partman-auto/method string lvm
or
d-i partman-auto/method string regular
The installer stops at the new question: "[!] Install the GRUB boot
loader on a hard disk".
Interestingly it stoppend only to work for me some days ago, IIRC it
was one of the days after the wheezy point release (some installer
components where updated then, IIRC). So I don't know (yet) if one
other part of the installer updated is involved causing this.
Regards,
Salvatore
Reply to: