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

Problem during installation with preseed file



Hello,

I have a problem during the installation with preseed file on sarge.

I have create a cd based on the "debian-31r0a-i386-netinst.iso".

My problems are :
- when i boot for use a preseed file on cdrom.
I have the following error :

________________________
[!!] Load installer components from CD
There was a problem reading data from the CDROM. Please make sure it
is in the drive. If retrying does not work, you should check the
integrity of your CDROM.
Failed to copy file from CDROM. Retry?
<yes>                     <no>
________________________


If I study the file /var/log/syslog, I can see that the loading of the
preseed file is good.
The last information (tail) of the syslog file are :

________________________
main-menu[531]: DEBUG: Menu item 'load-cdrom' selected
main-menu[531]: DEBUG: configure load-cdrom, status: 2
main-menu[531]: DEBUG: configure cdrom-retriever, status: 2
main-menu[531]: DEBUG: configure anna, status: 2
cdrom-retriever: info: Retrieving udeb include and exclude file.
cdrom-retriever: info: Retrieving package list.
anna[3522]: grep:
anna[3522]: main/Release
anna[3522]: : No such file or directory
init: ^MStarting pid 505, console /dev/vc/2: '/bin/sh'
________________________


If i make the following commands, the installation don't make error
until the end :
-i go to the console 2
- i umount the cdrom
- i go to the console 1
- i answer no for retry to load the file
- i select in the "debian installer main menu" the option "detect and
mount CD-ROM"


For information you can see here, the preseed file that i use :

_________________________
d-i  netcfg/choose_interface            select auto

d-i netcfg/disable_dhcp                boolean true
d-i netcfg/get_nameservers             string 10.21.3.28
d-i netcfg/get_ipaddress               string 10.21.40.210
d-i netcfg/get_netmask                 string 255.255.255.0
d-i netcfg/get_gateway                 string 10.21.40.2
d-i netcfg/confirm_static              boolean true

d-i  netcfg/get_hostname                string eva8
d-i  netcfg/get_domain                  string unassigned-domain

d-i  netcfg/wireless_wep                string


d-i  mirror/country                     string enter information manually
d-i  mirror/http/hostname               string
10.21.40.200/apt-cacher/ftp2.fr.debian.org
d-i  mirror/http/directory              string /debian
d-i  mirror/suite                       string stable main
d-i  mirror/http/proxy                  string


d-i  partman-auto/disk                  string /dev/discs/disc0/disc

d-i  partman-auto/choose_recipe         select All files in one
partition (recommended for new users)

d-i partman/confirm_write_new_label     boolean true
d-i partman/choose_partition            select Finish partitioning and
write changes to disk
d-i partman/confirm                     boolean true


d-i  grub-installer/only_debian         boolean true

d-i  grub-installer/with_other_os       boolean true


d-i  prebaseconfig/reboot_in_progress   note


base-config  base-config/intro          note

base-config  base-config/login          note

base-config  tzconfig/gmt                             boolean true

base-config  tzconfig/preseed_zone                    string US/Eastern

base-config  apt-setup/uri_type         select http

base-config  apt-setup/country          select enter information manually
base-config  apt-setup/hostname         string
10.21.40.200/apt-cacher/ftp2.fr.debian.org
base-config  apt-setup/directory        string /debian
base-config  apt-setup/another          boolean false

base-config  apt-setup/hostname         string
10.21.40.200/apt-cacher/security.debian.org
base-config  apt-setup/security-updates boolean true


tasksel      tasksel/first   multiselect Web server


exim4-config exim4/dc_eximconfig_configtype select no configuration at this time
exim4-config exim4/no_config boolean true

exim4-config exim4/dc_postmaster        string


xserver-xfree86 xserver-xfree86/autodetect_monitor    boolean true
xserver-xfree86  xserver-xfree86/config/monitor/selection-method select medium
xserver-xfree86  xserver-xfree86/config/monitor/mode-list select
1024x768 @ 60 Hz
_________________________


and the lines that i have added to the isolinux.cfg
_________________________
LABEL eva2
  kernel /install/2.6/vmlinuz
  append initrd=/install/2.6/initrd.gz ramdisk_size=10240
root=/dev/rd/0 devfs=mount,dall rw preseed/file=/cdrom/preseed
countrychooser/shortlist=FR console-keymaps-at/keymap=fr-latin9
_________________________










- when i boot with a preseed file on the network, i have the following errors :

_______________________
[!!] Install the base system
Debootstrap Error
Failed getting Release file /cdrom/dists/stable main/Release.
<go back>                 <continue>
_______________________


If I study the file /var/log/syslog, I can see that the loading of the
preseed file is good.
The last information (tail) of the syslog file are :

_______________________
main-menu[542]: DEBUG: virtual package libc6
main-menu[542]: DEBUG: configure libdefconfclient0, status: 0
main-menu[542]: DEBUG: virtual package libdefconfclient0
main-menu[542]: DEBUG: configure libdebian-installer4, status: 0
main-menu[542]: DEBUG: virtual package libdebian-installer4
main-menu[542]: DEBUG: configure mounted-partitions, status: 0
main-menu[542]: DEBUG: virtual package mounted-partitions
main-menu[542]: DEBUG: configure created-fstab, status: 0
main-menu[542]: DEBUG: virtual package created-fstab
base-installer: error: exiting on error
base-installer/debootstrap/error/nogetrel
_______________________

The preseed file that i use is exactly the same that the cdrom method.
The lines added to the isolinux.cfg are :

________________________
LABEL eva
  kernel /install/2.6/vmlinuz
  append initrd=/install/2.6/initrd.gz ramdisk_size=10240
root=/dev/rd/0 devfs=mount,dall rw preseed/url=http://10.21.40.207/eva
countrychooser/shortlist=FR console-keymaps-at/keymap=fr-latin9
netcfg/get_hostname=eva8
________________________




Thanks for your answers.

Sébastien

PS : if i can't solve the problems and so install without error a
debian, my chief want that i install a RHES. So please help me, I
don't want a RH on this system.



Reply to: