読者です 読者をやめる 読者になる 読者になる

USBからpreseed方法

boot option
ESC --> F6 --> ESC のあと、次の文字列を追加する。

priority=critical locale=en_US file=/cdrom/preseed.cfg

preseed.cfg

# Ubuntu Server Quick Install
# by Dustin Kirkland <kirkland@ubuntu.com>
#  * Documentation: http://bit.ly/uquick-doc 
#
# Modified the file above.

d-i	debian-installer/locale	string en_US.UTF-8
d-i	debian-installer/splash boolean false
d-i	console-setup/ask_detect	boolean false
d-i	console-setup/layoutcode	string us
d-i	console-setup/variantcode	string 
#d-i	preseed/early_command string killall.sh dhclient ; netcfg
d-i     netcfg/choose_interface select auto
d-i	netcfg/dhcp_timeout string 1
d-i	netcfg/disable_dhcp boolean true
d-i     netcfg/disable_dhcp boolean true
d-i	netcfg/dhcp_failed note
d-i	netcfg/dhcp_options select Configure network manually
d-i	netcfg/get_nameservers	string 192.168.1.254
d-i	netcfg/get_ipaddress	string 192.168.1.33
d-i	netcfg/get_netmask	string 255.255.255.0
d-i	netcfg/get_gateway	string 192.168.1.1
d-i	netcfg/confirm_static	boolean true
d-i	netcfg/get_hostname string hoge33
d-i	netcfg/get_domain string somelocal.network
d-i	clock-setup/utc	boolean true
d-i 	partman-auto/method string regular
d-i 	partman-lvm/device_remove_lvm boolean true
d-i 	partman-lvm/confirm boolean true
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 	partman/confirm_nooverwrite boolean true
d-i 	partman/default_filesystem string ext3
d-i 	clock-setup/utc boolean true
d-i	clock-setup/ntp	boolean true
d-i	clock-setup/ntp-server	string ntp.ubuntu.com
d-i	base-installer/kernel/image	string linux-server
d-i	passwd/root-login	boolean true
d-i	passwd/root-password-crypted password {MD5 hash}
d-i	passwd/make-user	boolean false
d-i	user-setup/encrypt-home	boolean false
d-i	apt-setup/services-select	multiselect security
d-i	apt-setup/security_host	string security.ubuntu.com
d-i	apt-setup/security_path	string /ubuntu
d-i	debian-installer/allow_unauthenticated	string false
d-i	pkgsel/upgrade	select safe-upgrade
d-i	pkgsel/language-packs	multiselect 
d-i	pkgsel/update-policy	select none
d-i	pkgsel/updatedb	boolean true
d-i	grub-installer/skip	boolean false
d-i	lilo-installer/skip	boolean false
d-i	grub-installer/only_debian	boolean true
d-i	grub-installer/with_other_os	boolean true
d-i	finish-install/keep-consoles	boolean false
d-i	finish-install/reboot_in_progress	note 
d-i	cdrom-detect/eject	boolean true
d-i	debian-installer/exit/halt	boolean false
d-i	debian-installer/exit/poweroff	boolean false
d-i	pkgsel/include string openssh-server