Hi Per! Sorry for the delay: I actually got the d-i hd-media images (installer build 20120508) from the Debian Events Box yesterday and found out the Linux kernel mismatch problem, but then I did not finish the tests and went to bed without sending any email :-) On Wed, 07 Nov 2012 01:29:05 +0100, Per Andersson wrote: > On Tue, Nov 6, 2012 at 11:17 AM, Luca Capello <luca@pca.it> wrote: >> On Tue, 06 Nov 2012 10:01:49 +0100, Per Andersson wrote: >>> It still hangs on iso-scan of /dev/sda3 (the extended partition). A >>> wild guess is >>> that iso-scan can't handle it correctly, last thing in the logs state that it is >>> waiting for /dev/sda2. (Is this a bug in iso-scan, being confused about how to >>> handle extended partitions?) >> >> You have probably hit (which seem to be the same bug): >> >> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627163#60> >> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683706> >> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686786> >> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691922> > > This is it. > > >>> Can I prepare /dev/sda3 somehow? >> >> Well, there is no point in preparing it, because anyway partman will >> play with it at the next cycle. > > I thought the error occurred while scanning /dev/sda3 but it occurs when > scanning /dev/sda2 of course. No, the error happens with /dev/sda3, you can reproduce it going into VT2 and then trying: ===== ~ # mount -t auto /dev/sda2 /media mount: mount /dev/sda2 on /media/ failed: Invalid argument ~ # mount -t auto /dev/sda3 /media [hangs] ===== Bingo: the problem is the Linux kernel, 3.2.0-3-486_3.2.23-1 hangs when trying to mounting an extended partition and reboot/shutdown do not work anymore. However, I was not able to reproduce such a problem on the VM which is acting as a host for BabelBox: this is an amd64 squeeze where I installed initramfstools_0.99~bpo60+1_all, linux-base_3.4~bpo60+1_all and linux-image-3.2.0-3-amd64_3.2.23-1_amd64.deb (from snapshots). So either the problem is specific to the 486 kernel image or to the d-i initrd. Never mind, this problem is no more present in 3.2.0-4-486_3.2.32-1 :-) >> My suggestion would be to use previous debian-installer hd-media images, >> the Debian Events Box was used at FOSDEM 2012, thus images from that >> period would work. > > I tried with d-i dailys from 20120101-00:32 but then there is a kernel mismatch > with the one in the archive, and the installer hangs on the question. That is expected because wheezy now contains 3.2.0-4-486_3.2.32-1: <http://bugs.debian.org/692522> <http://packages.qa.debian.org/l/linux/news/20121103T163913Z.html> However, we should be able to preseed that answer, but then another problem for KVM/libvirt machines would be the network configuration: <[🔎] 87390lpu5n.fsf@gismo.pca.it">http://lists.debian.org/[🔎] 87390lpu5n.fsf@gismo.pca.it> I prepared new hd-media images for the latest Linux kernel in wheezy, but then #692522 was submitted and I re-discovered the daily-images on: <http://d-i.debian.org/daily-images/> The 20121107-00:18 hd-media and 20121105-04:30:14 DVD-1 images work as expected for iso-scan together, but there is a new error with partman: <http://bugs.debian.org/692591> Here is the correct diff WRT Git for preseed.cfg I tested on the Debian Events Box with the images above: --8<---------------cut here---------------start------------->8--- diff --git a/preseed.cfg b/preseed.cfg index 9920353..b617046 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -2,6 +2,11 @@ # See the Installation Guide for other preconfiguration options ### Network configuration +# Disable network configuration entirely. This is useful for cdrom +# installations on non-networked devices where the network questions, +# warning and long timeouts are a nuisance. +#d-i netcfg/enable boolean false + # netcfg will choose an interface that has link if possible. This makes it # skip displaying a list if there is more than one interface. d-i netcfg/choose_interface select auto @@ -16,7 +21,9 @@ d-i netcfg/dhcp_timeout string 60 # If you prefer to configure the network manually, or if there's no # network available, then uncomment this line and check the static # network configuration below. -#d-i netcfg/disable_dhcp boolean true +# <http://bugs.debian.org/688273> +# <http://bugs.debian.org/689531> +d-i netcft/disable_autoconfig boolean true # Static network configuration. d-i netcfg/get_nameservers string 10.0.2.3 @@ -43,6 +50,10 @@ d-i mirror/http/proxy string d-i partman-auto/init_automatically_partition select biggest_free d-i partman-auto/choose_recipe select atomic +# [REGRESSION] Do not use any swap +# <http://bugs.debian.org/692591> +d-i partman-basicfilesystems/no_swap boolean false + # This makes partman automatically partition without confirmation. d-i partman/choose_partition select finish d-i partman/confirm boolean true @@ -56,6 +67,11 @@ d-i clock-setup/utc boolean true # /usr/share/zoneinfo/ for valid values. d-i time/zone string Europe/Amsterdam +# Controls whether to use NTP to set the clock during the install +d-i clock-setup/ntp boolean false +# NTP server to use. The default is almost always fine here. +#d-i clock-setup/ntp-server string 0.debian.pool.ntp.org + ### Apt setup # When using a full CD image, we don't need a mirror d-i apt-setup/use_mirror boolean false @@ -82,8 +98,7 @@ d-i lilo-installer/skip bollean true tasksel tasksel/first multiselect ## instead install a quite minimal GNOME setup and desktop-base (for spacefun theme) -d-i pkgsel/include string gdm3, gnome-session, gnome-icon-teme, desktop-base, -xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg +d-i pkgsel/include string alsa-base, alsa-utils, gdm3, gnome-session, gnome-icon-teme, desktop-base, xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg-video-fbdev, xserver-xorg-video-all, xserver-xorg, plymouth # Don't install popcon popularity-contest popularity-contest/participate boolean false --8<---------------cut here---------------end--------------->8--- Please confirm that everything is now OK :-) Thx, bye, Gismo / Luca
Attachment:
pgp98vwcgmpM3.pgp
Description: PGP signature