Use Startup Disk Creater to import the iso of ubuntu 12.04 server
Install the USB flash drive and create a boot disk www.2cto.com 2. modify the configuration file mount/dev/sdb1/mnt/cd/mnt/syslinux/mv isolinux. bin syslinux. bin vim syslinux. cfg www.2cto.com [html] default autoinstall prompt 0 timeout 100 menu title Custom Live CD menu background splash.png menu color title 1; 37; 44 # c0ffffff #00000000 std label autoinstall menu label autoinstall-auto install ubuntu kernel/install/vmlinuz append initrd =/install/initrd.gz file =/cdrom/preseed/autoinstall. seed boot = install debian-installer/locale = en_US console-setup/ask_detect = false keyboard-configuration/layoutcode = us automatic IC-ubiquity quiet splash -- 3 created under/mnt/preseed/file autoinstall. seed cd/mnt/presedd/vim autoinstall. seed [plain] # locate d-I debian-installer/locale string en_US d-I debian-installer/language string en d-I debian-installer/country string us d-I localechooser /supported-locales multiselect en_US.UTF-8, the zh_CN.UTF-8 # keyboard d-I console-setup/ask_detect boolean false d-I console-configuration/layoutcode string us d-I keyboard-configuration/modelcode string SKIP # clock d-I clock- setup/utc boolean false d-I time/zone string Asia/Shanghai # network d-I netcfg/choose_interface select auto d-I netcfg/dhcp_failed note d-I netcfg/dhcp_options select Do not configure the network at this time d-I netcfg/get_hostname string test d-I netcfg/get_domain string test-domain d-I netcfg/wireless_wep string # Mirror d-I mirror/protocol string http d-I mirror/country string china d-I mirror/http/hostname string mirrors.163.com d-I mirror/http/directory string/ubuntu d-I mirror/http/proxy string # clock d-I clock-setup/ntp boolean true # partition d-I partman-auto/disk string/dev/sdb d-I partman-auto/method string regular d-I partman-lvm/device_remove_lvm boolean true d-I partman-md/device_remove_md boolean true d-I partman-auto/choose_recipe select atomic d-I partman/default_filesystem string ext4 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 # user d-I passwd/root-login boolean true d-I passwd/root-password-crypted password $1 $3nGno0 $ c4rp7NcQRAcJV3AdzKV890 d-I passwd/make-user boolean true d-I passwd/user-fullname string ubuntu-server d-I passwd /username string ubuntu d-I passwd/user-password-crypted password $1 $3nGno0 $ c4rp7NcQRAcJV3AdzKV890 d-I user-setup/allow-password-weak boolean true d-I user- setup/encrypt-home boolean false # package tasksel/first multiselect none d-I pkgsel/include string openssh-server build-essential d-I pkgsel/upgrade select full-upgrade d- I pkgsel/install-language-support boolean true d-I pkgsel/language-packs multiselect en, zh d-I pkgsel/update-policy select none # popularity-contest/Participant ipate boolean false d-I pkgsel/updatedb boolean true # grub d-I grub-installer/skip boolean false d-I lilo-installer/skip boolean true d-I grub-installer/grub2_instead_of_grup_legacy boolean true d-I grub-installer/only_debian boolean true d-I grub-installer/with_other_ OS boolean true # Finish d-I finish-install/keep-cmdles boolean true 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