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

Re: Booth at FSCONS 2012



Hi!

On Wed, Nov 7, 2012 at 7:06 PM, Luca Capello <luca@pca.it> wrote:
> Hi Per!
>
> 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?)
>>>
>
> Never mind, this problem is no more present in 3.2.0-4-486_3.2.32-1 :-)

Yes, this works with the new 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

If this is uncommented netcfg exits with error code 139 and segfaults
on libc-2.13.so. This makes it impossible to continue since it just crashes
when re-run. (Might be because this box has intel wireless and needs
firmware-iwlwifi in order to autodetect network.)


>  # 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

I needed to disable asking for firmware (thinkpad x61s has intel wireless nic
as mentioned earlier and it needs firmware-iwlwifi).

diff --git a/preseed.cfg b/preseed.cfg
index 9920353..3803f8e 100644
--- a/preseed.cfg
+++ b/preseed.cfg
@@ -31,6 +31,11 @@ d-i netcfg/confirm_static boolean true
 d-i netcfg/get_hostname string babelbox
 d-i netcfg/get_domain string unassigned-domain

+# If non-free firmware is needed for the network or other hardware, you can
+# configure the installer to always try to load it, without prompting. Or
+# change to false to disable asking.
+d-i hw-detect/load_firmware boolean false
+
 ### Mirror settings
 d-i mirror/country string enter information manually
 d-i mirror/http/hostname string 10.0.2.2


> Please confirm that everything is now OK :-)

I found a few other issues:

* When network is autodetected and autoconfigured netcfg hangs in an
  infinite loop doing ARPING on the gateway (I think).

* It seems /hd-media is unmounted when looking for firmware. This makes
  preseed_late fail later on. Suggestions?

* The text "Demo - $LANG" is rendered on top of the Debian logo on the
  top right of the installer. Top left would be better placing since there is
  nothing there except an empty area.

* In order to not blank the screen when installing I added kernel parameter

diff --git a/babelbox-grub b/babelbox-grub
index fc30411..f7e09ee 100644
--- a/babelbox-grub
+++ b/babelbox-grub
@@ -3,7 +3,7 @@ menuentry 'BabelBox install' --class debian --class
gnu-linux --class gnu --clas
        insmod ext2
        set root='(hd0,1)'
        echo    'Loading Linux ...'
-       linux    /srv/vmlinuz video=vesa:ywrap,mtrr vga=788
priority=critical console-keymaps-at/keymap=us
keyboard-configuration/x
+       linux    /srv/vmlinuz video=vesa:ywrap,mtrr vga=788
consoleblank=0 priority=critical console-keymaps-at/keymap=us
keyboard-
        echo    'Loading initial ramdisk ...'
        initrd  /srv/initrd.gz
 }


Best,
Per


Reply to: