Re: Debian Installer preseed - Feedback on real-use case

2012-01-03 Thread Philip Hands
On Mon, 2 Jan 2012 22:53:49 +0200, Alexey Eromenko  wrote:
> Hi,
> 
> I developed Debian-preseed scripts to install Debian 6 on VirtualBox. link:
> https://forums.virtualbox.org/viewtopic.php?f=10&t=46798
> 
> Good news: Debian preseed is found to be powerful & capable of
> handling this task.
> Thanks to my work, today you can install Debian6-on-Debian6 (inside
> VirtualBox) in 10 minutes, 42 seconds (including KDE). Automatically
> !..and drink coffee.
> Bad news: It is much more complex than necessary. I had to jump though
> hoops to make Debian work.

Perhaps you'd like to go into detail about the hoops, as it's possible
that the real issue is with lacking documentation -- it's possible to do
pretty much anything in d-i.

> There are many under-water stones that exist for such complex
> scenarios:

That is certainly true -- For instance, we have an unfortunate tendency
to break old preseed scripts by changing the names of the preseed
variables in later releases, but the alternative would be to restrict
developers too much when they wish to add new features.

> ===
> 1. GTK-based frontend doesn't work with preseed.
> ===
> 
> My isolinux.cfg:
> default debian
> prompt 0
> timeout 1
> 
> label debian
>   kernel /install.$arch/vmlinuz
>   append initrd=/install.$arch/initrd.gz debian-installer/locale=en_US
> console-setup/layoutcode=us netcfg/choose_interface=auto
> priority=critical preseed/file=/floppy/preseed.cfg --
>   #append video=vesa:ywrap,mtrr vga=788
> initrd=/install.$arch/gtk/initrd.gz debian-installer/locale=en_US
> console-setup/layoutcode=us netcfg/choose_interface=auto
> priority=critical preseed/file=/floppy/preseed.cfg --
> 
> When I activated the GTK-based debian installer "gtk/initrd.gz", the
> GUI booted up, but it started to ask unnecessary questions about
> keyboard layout, and more... (it should not, as I provided them in the
> command line)
> 
> Expected Result:
> GTK-based d-i should not ask any more questions than ncurses-based d-i
> does.

Hmm, you seem not to be specifying auto=true (or it's long version:
auto-install/enabled=true) -- that allows the keyboard and locale
questions to be delayed, such that they can be preseeded by file, rather
than on the kernel command line.

BTW, you should also be able to use the short form for the locale as
well (locale=en_US) but I'd normally use auto mode, and then preseed it
in the preseed file.  See:

  http://d-i.alioth.debian.org/manual/en.i386/apbs02.html#preseed-aliases

> 
> ===
> 2. Debian does not loads "preseed.cfg" automatically.
> ===
> Positive Example: Windows XP -- once you boot the OS from CD, it check
> floppy disk for "winnt.sif", and if present, it installs automatically
> according to this unattended script; else manual installer starts.
> 
> Real-world result:
> I had to create re-master custom Debian DVD on-the-fly (using scripting).
> 
> It includes only 4 files:
> linux
> isolinux.bin
> isolinux.cfg
> initrd
> 
> This problem is shared with Red Hat and SUSE distros.
> 
> Expected Result:
> Bootloader (ISOLINUX?) should check for presence of "preseed.cfg" in
> floppy/USB disk/CDROM, and if present, start kernel + this script
> automatically.
> I'm not sure if it is possible to fix.
> in Windows case, the bootloader (Win NT LDR) loads NT kernel, which
> does this check on boot.
> Any ideas ?
> 
> ===
> 3. Debian fails to load "preseed.cfg" from 2nd CDROM
> ===
> In my isolinux.cfg, I tried:
> preseed/file=/cdrom/preseed.cfg
> preseed/file=/cdrom0/preseed.cfg
> preseed/file=/cdrom1/preseed.cfg
> ...
> no go. It can't read.
> 
> Works this way: (from floppy)
> preseed/file=/floppy/preseed.cfg

Odd.  I was under the impression that we were mounting the floppy on
/media/floppy but I see that seems to have changed since I last looked.

Of course, that change looks like it's broken fetch-url's ability to
deal with URLs like floppy://preseed.cfg, which is what I was about to
suggest as an alternative, but I wasn't really holding out much hope
that it would help -- I suppose the fact that this bug has gone
unnoticed indicates something about how often people use floppies these
days ;-)

> Real-world result:
> I had to create virtual floppy image with "preseed.cfg".
> Red Hat and SUSE do not suffer from this issue.
> 
> Expected Result:
> preseed/file=/cdromX/preseed.cfg
> Users should be able to load preseed.cfg from 1st or 2nd CD-ROM.

And we're mounting CDs as /cdrom* now are we?  (rather than /media/cdrom
or some such?) -- I'm afraid I pretty much always use http preseeding,
so I've obviously lost touch.

> ===
> 4. Debian preseed/late_command is a nightmare
> ===
> late_command doesn't support new lines, whi

Bug#654455: Android is not detected by os-prober

2012-01-03 Thread Boot Repair
Package: os-prober
Version: 1.49

  Android 4 is not detected by os-prober.
  Please see downstream bug report:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/910245
  Regards



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cam6sbmukmftpefjvkqrtwbfyuhftw4wuc7yojgljizchyur...@mail.gmail.com



Bug#654309: daily debian installer doesn't boot

2012-01-03 Thread Joey Hess
Miguel Figueiredo wrote:
> Daily images don't boot on amd64 and i386.
> After pressing enter to start the installation process the screen
> starts flickering and on the screen keeps appearing just the
> following line.
> 
> INFO: kbd-mode: setting console mode to Unicode (UTF-8)
> 
> Printscreen: http://i.imgur.com/lIhYA.png

cdebconf is crashing, it crashes on any script, I have seen it
successfully draw a progress bar before crashing however.

I don't know why, cdebconf has not changed since November.
Possibly related to #654351?

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#654309: daily debian installer doesn't boot

2012-01-03 Thread Julien Cristau
On Tue, Jan  3, 2012 at 16:48:18 -0400, Joey Hess wrote:

> I don't know why, cdebconf has not changed since November.
> Possibly related to #654351?
> 
Seems likely.  Since that's now fixed in sid, the next daily should
confirm.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120103215035.gd9...@radis.cristau.org



Processed: fs/btrfs/extent-tree.c:5711 btrfs_alloc_free_block+0xc0/0x283 [btrfs]()

2012-01-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> retitle 653669 btrfs - kernel oops (extent-tree.c:5711)
Bug #653669 [installation-reports] Installation failed with BTRFS
Changed Bug title to 'btrfs - kernel oops (extent-tree.c:5711)' from 
'Installation failed with BTRFS'
> found 653669 3.1.6-1
Bug #653669 [installation-reports] btrfs - kernel oops (extent-tree.c:5711)
There is no source info for the package 'installation-reports' at version 
'3.1.6-1' with architecture ''
Unable to make a source version for version '3.1.6-1'
Bug Marked as found in versions 3.1.6-1.
> reassign 653669 linux-2.6
Bug #653669 [installation-reports] btrfs - kernel oops (extent-tree.c:5711)
Bug reassigned from package 'installation-reports' to 'linux-2.6'.
Bug No longer marked as found in versions 3.1.6-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
653669: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653669
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132563121429265.transcr...@bugs.debian.org



Bug#654535: [INTL:es] Updated Spanish translation

2012-01-03 Thread Javier Fernández-Sanguino Peña

Package: win32-loader
Version: 0.7.4.2
Priority: wishlist
Tags: l10n patch

Please find attached an updated translation of this package for the Spanish
language (l10n/po/es.po). It just fixes one fuzzy string and adds some words
to the in-file spell checking dictionary.

Thanks for including it in your next package upload.

Regards

Javier



signature.asc
Description: Digital signature