I am trying to make it in preseed-installation,but a problem have occured.
I used
debian-7.6.0-amd64-xfce-CD-1.iso
,and my preseed.cfg is as follows.
Code: Select all
d-i debian-installer/language string en
d-i debian-installer/country string JP
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/charmap select UTF-8
d-i keyboard-configuration/layoutcode string jp
d-i keyboard-configuration/modelcode jp106
d-i netcfg/dhcp_failed note
netcfg netcfg/dhcp_options select Do not configure the network at this time
d-i netcfg/hostname string debian
d-i hw-detect/load_firmware boolean false
d-i passwd/root-password-crypted password
$1$UyLwV0fw$xqXH3gqGV9nDQ00JSbqCb.
d-i passwd/user-fullname string gonbee
d-i passwd/username string gonbee
d-i passwd/user-password-crypted password $1$tUSPg776$g5Eqy57ZfRlsDrmlsokXs.
d-i clock-setup/utc boolean false
d-i time/zone string Japan
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/expert_recipe string \
boot-root :: \
5000 1 6000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
.
partman-basicfilesystems partman-basicfilesystems/no_swap boolean false
d-i partman-partitioning/confirm_write_new_label boolean false
d-i partman/choose_partition select finish
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean false
d-i partman/mount_style select uuid
d-i base-installer/kernel/image string linux-image-amd64
d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
tasksel tasksel/first multiselect standard
tasksel tasksel/desktop multiselect xfce
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
but when I rebooted from the installed debian,
XFCE desktop didn't appear.
And the following message appeared.
Code: Select all
Debian GNU/Linux 7 debian tty1
debian login:
Code: Select all
# startx
-bash: startx: command not found
# startx -- :1
-bash: startx: command not found
And apt-get didn't work neither.
Code: Select all
root@debian:~# cat /etc/apt/sources.list
deb ftp://ftp.nara.wide.ad.jp/debian/ stable main
#contrib non-free
deb-src ftp://ftp.nara.wide.ad.jp/debian/ stable main
#contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://security.debian.org wheezy/updates main
#contrib non-free:
deb-src http://security.debian.org wheezy/updates main
#contrib non-free
deb http://ftp.debian.org/debian/ wheezy main
#contrib non-free
root@debian:~# apt-get install gdm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gdm
root@debian:~# apt-get update
Err ftp://ftp.nara.wide.ad.jp stable Release.gpg
Could not resolve 'ftp.nara.wide.ad.jp'
Err http://security.debian.org stable/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://security.debian.org wheezy/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://ftp.debian.org wheezy Release.gpg
Could not resolve 'ftp.debian.org'
Reading package lists... Done
W: Failed to fetch ftp://ftp.nara.wide.ad.jp/debian/dists/stable/Release.gpg Could not resolve 'ftp.nara.wide.ad.jp'
W: Failed to fetch http://security.debian.org/dists/stable/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/Release.gpg Could not resolve 'ftp.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
And I used
Code: Select all
d-i netcfg/hostname string debian
「Please enter the hostname for this system.
.....」
whose default input is 'debian'.
How should I do to skip this?
Thanks in advance.