Hello,
I am having serious trouble getting Debian to install over our LAN using PXE/syslinux, a custom preseed.cfg, and the files from the DVD on a webserver. I think the problem is using the files from the DVD on the webserver instead of a mirror, but I believe this should be possible. I do not have enough space on the webserver to house an entire debian mirror.
I am using the latest linux and initrd.gz files from ftp://ftp.us.debian.org/debian/dists/le ... ller/i386/.
I am using the extracted files from http://cdimage.debian.org/debian-cd/5.0 ... -DVD-1.iso on the webserver.
I had to remove the symlinks testing, and unstable from the dists directory before I could get past the choose-mirror stage. After that it seems like the required modules to detect the disk drives are not loaded properly. I get to the disk-detect portion of the install and then I receive the error:
"No disk drive was detected. If you know the name of the driver you can select it from the list"
None of the options in the list allow the install to finish. What is strange is if I install using the physical DVD (same files on the webserver minus the preseed.cfg), the install succeeds just fine, even without being connected to any network.
I don't know if the problem is my preseed file, the fact that I am using the files from the DVD instead of a mirror, or perhaps something else.
I would love to provide the syslog info, but I do not have ftp, scp, or anything else available during this point in the install. I cannot even mount any disks like a flash drive to copy over the syslog...
Here is my preseed file:
----------------------
#### Contents of the preconfiguration file (for lenny)
# Locale sets language and country.
d-i debian-installer/locale string en_US
d-i console-setup/layoutcode string us
d-i console-setup/ask_detect boolean false
# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select us
### Network configuration
# 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 eth0
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
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 true
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
d-i mirror/http/hostname string 172.16.76.2
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
# Suite to install.
d-i mirror/suite string lenny
# Suite to use for loading installer components (optional).
d-i mirror/udeb/suite string lenny
### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true
# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string US/Pacific
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean false
### Partitioning
# Alternatively, you can specify a disk to partition. The device name must
# be given in traditional non-devfs format.
# Note: A disk must be specified, unless the system has only one disk.
# For example, to use the first SCSI/SATA hard disk:
d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string regular
# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
d-i partman-auto/expert_recipe string \
boot-root :: \
100 120 200 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext3 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
64 512 300% linux-swap \
method{ swap } format{ } \
.
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
### Base system installation
# Select the initramfs generator used to generate the initrd for 2.6 kernels.
#d-i base-installer/kernel/linux/initramfs-generators string yaird
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
#d-i base-installer/kernel/image string linux-image-2.6-486
### Account setup
# Skip creation of a root account (normal user account will be able to
# use sudo).
d-i passwd/root-login boolean true
# Alternatively, to skip creation of a normal user account.
d-i passwd/make-user boolean false
# Root password, either in clear text
d-i passwd/root-password password *********
d-i passwd/root-password-again password *********
# or encrypted using an MD5 hash.
#d-i passwd/root-password-crypted password [MD5 hash]
### Apt setup
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false
# Select which update services to use; define the mirrors to be used.
# Values shown below are the normal defaults.
d-i apt-setup/services-select multiselect security, volatile
d-i apt-setup/security_host string security.debian.org
d-i apt-setup/volatile_host string volatile.debian.org
# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
d-i debian-installer/allow_unauthenticated string true
### Package selection
#tasksel tasksel/first multiselect standard, web-server
# If the desktop task is selected, install the kde and xfce desktops
# instead of the default gnome desktop.
#tasksel tasksel/desktop multiselect kde, xfce
tasksel tasksel/first multiselect standard
# Individual additional packages to install
d-i pkgsel/include string openssh-server
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select none
d-i pkgsel/update-policy select none
# 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
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
----------------------
Here are my PXE kernel options:
----------------------
label Debian 5 i386 UNATTENDED
menu label ^Debian 5 i386 UNATTENDED
kernel Linux/debian/5/i386/linux
append initrd=Linux/debian/5/i386/initrd.gz debian-installer/allow_unauthenticated=true debian-installer/country=US console-keymaps-at/keymap=us debian-installer/language=us debian-installer/locale=en_US console-setup/layoutcode=us netcfg/choose_interface=eth0 netcfg/nameserver=172.16.76.1 netcfg/get_domain=unassigned-domain netcfg/get_hostname=unassigned-hostname text preseed/url=http://172.16.76.1/debian/5/i386/preseed.cfg -- quiet
----------------------
Any troubleshooting advice would be appreciated.
Thank you,
thefiend