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

Bug#758476: d-i manual: part about bootloader installation is missing in example preseed file 'preseed.txt'

Package: installation-guide
Tags: patch


there was a mail from Richard Owlett sent to debian-www (attached), in which
he reports, that in the preseed.txt file a part is missing (the part about
preseeding the bootloader installation).
Forwarding this to the BTS against installation-guide, since it seems the 
cause is in that package.

The relevant paragraph was set to "arch=any-x86" with this commit:

This attribute works for building the manual itself, but it fails for the
preseed.pl script, which generates the preseed.txt file.

In the perl script it is documented that 'condition' attributes and
'arch' attributes are supported by the script, but there are apparently
some problems.
When I change this in line 1456 of ../manual/en/appendix/preseed.xml:

- <sect2 id="preseed-bootloader" arch="any-x86">
+ <sect2 id="preseed-bootloader" arch="i386">
  <title>Boot loader installation</title>

then it works. 

I have no perl skills, so I am unable to find out why arch definition
"i386" works fine, while arch definition "any-x86" does not.

Please note that ATM the preseed.txt file is only generated for the
i386 architecture.


Date: Fri, 04 Apr 2014 03:25:41 -0500
From: Richard Owlett <rowlett@cloud85.net>
To: debian-www@lists.debian.org
Subject: https://www.debian.org/releases/wheezy/example-preseed.txt not consistent with https://www.debian.org/releases/stable/i386/apbs04.html.en

At the top of 
https://www.debian.org/releases/stable/i386/apbs04.html.en it says:

/begin quote
B.4. Contents of the preconfiguration file (for wheezy)

The configuration fragments used in this appendix are also 
available as an example preconfiguration file from 
/end quote

HOWEVER, the section at 
doesn't appear in example-preseed.txt.

/begin quote of missing text
# Grub is the default boot loader (for x86). If you want lilo 
# instead, uncomment this:
#d-i grub-installer/skip boolean true
# To also skip installing lilo, and install no bootloader, 
uncomment this
# too:
#d-i lilo-installer/skip boolean true

# This is fairly safe to set, it makes grub install automatically 
to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true

# This one makes grub-installer install to the MBR if it also 
finds some other
# OS, which is less safe as it might not be able to boot that 
other OS.
d-i grub-installer/with_other_os boolean true

# Alternatively, if you want to install to a location other than 
the mbr,
# uncomment and edit these lines:
#d-i grub-installer/only_debian boolean false
#d-i grub-installer/with_other_os boolean false
#d-i grub-installer/bootdev  string (hd0,0)
# To install grub to multiple disks:
#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
# To install to a particular device:
#d-i grub-installer/bootdev  string /dev/sda

# Optional password for grub, either in clear text
#d-i grub-installer/password password r00tme
#d-i grub-installer/password-again password r00tme
# or encrypted using an MD5 hash, see grub-md5-crypt(8).
#d-i grub-installer/password-crypted password [MD5 hash]

# Use the following option to add additional boot parameters for the
# installed system (if supported by the bootloader installer).
# Note: options passed to the installer will be added automatically.
#d-i debian-installer/add-kernel-opts string nousb

/end quote of missing text

To UNSUBSCRIBE, email to debian-www-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: https://lists.debian.org/533E6C85.8040609@cloud85.net

Holger Wansing <hwansing@mailbox.org>

Reply to: