1 ubuntu 12.04 server 下 使用 Startup Disk Creater 将 ubuntu 12.04 server的iso 烧录至 u盘 ,制作成启动盘
2 修改配置文件
mount /dev/sdb1 /mnt/
cd /mnt/syslinux/
mv isolinux.bin syslinux.bin
vim syslinux.cfg
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-ubiquity quiet splash --
3 在 /mnt/preseed/下 创建文件 autoinstall.seed
cd /mnt/presedd/
vim autoinstall.seed
#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, 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 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 popularity-contest/participate 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-consoles 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
分享到:
相关推荐
本文档介绍了如何使用U盘作为启动介质来安装Ubuntu Server 12.04系统,适合初学者,具有一定的实用价值。 首先,安装前的准备工作包括下载并安装一个名为UltraISO的软件。UltraISO是一个强大的工具,它能制作和编辑...
### Ubuntu 12.04 安装及配置过程详解 #### 一、准备工作 **1. 下载 Ubuntu 12.04 镜像文件** - **32位与64位的选择:** - 建议大多数用户选择32位版本,除非您的计算机硬件支持64位并且您需要利用更多的RAM资源...
首先,手册的第一部分可能涵盖了安装Ubuntu 12.04的全过程,包括双系统安装、U盘启动制作、分区管理等。安装过程中可能会讲解如何选择合适的安装类型,如LTS版本的优势,以及如何确保数据安全,避免误删其他操作系统...
总体来说,win7下使用U盘安装ubuntu12.04双系统的过程涉及到了磁盘空间的预留、U盘启动盘的制作、独立显卡问题的解决、自定义分区和系统引导设置,以及最后系统的维护与卸载。这个过程需要用户对计算机系统有一定的...
### Ubuntu 12.04与Windows 7 双系统安装方法详解 #### 一、引言 随着技术的发展和个人需求的多样化,越来越多的用户选择安装双系统来满足不同的应用场景。本文将详细介绍如何在计算机上安装Ubuntu 12.04 LTS与...
【Ubuntu12.04安装配置全记录】 1. 系统安装 1.1 Ubuntu系统下载 在开始安装Ubuntu12.04之前,你需要从Ubuntu官方网站(http://releases.ubuntu.com/12.04/)下载对应的ISO镜像文件。确保选择适合你硬件的版本,...
### Ubuntu 12.04 安装与桌面配置过程详解 #### 写在前面 Ubuntu 12.04 LTS (Precise Pangolin) 是一个长期支持版本,发布于2012年4月26日。对于那些希望使用稳定版本的操作系统的人来说,它是一个不错的选择。本...
《Ubuntu12.04菜鸟使用手册》是针对初学者设计的一份详尽指南,旨在帮助新用户熟悉Ubuntu 12.04操作系统的基本操作、系统设置、软件安装及日常维护等方面的知识。Ubuntu 12.04,又称为Precise Pangolin,是一款基于...
在本文中,我们将详细介绍如何在PC机工作站上安装Ubuntu Server 12.04 LTS。 **一、准备工作** 在开始安装前,首先需要进入BIOS设置,调整启动顺序,确保安装媒介(如U盘或光盘)被设为首选启动设备。如果你选择...
### Win7 下 U盘安装 Ubuntu 12.04 双系统详解 #### 一、准备工作与注意事项 在开始安装之前,请确保您已经准备好以下工具和资料: 1. **一台安装有 Windows 7 的计算机**。 2. **一个容量至少为 4GB 的 U 盘**,...
本文将详细介绍如何在PC工作站上安装Ubuntu Server 12.04 LTS版本。 **一、安装前准备** 在开始安装前,需要进入BIOS设置,调整启动顺序,将安装介质(通常是CD或U盘)设为优先启动项。硬件要求包括Intel G530 2.4...
总的来说,安装Ubuntu 12.04 LTS需要准备一个足够空间的U盘,下载Universal-USB-Installer和Ubuntu ISO镜像,然后制作启动盘。最后,通过调整启动顺序或使用启动菜单从U盘启动并安装系统。整个过程需要遵循一定的...
### 实战安装Ubuntu 12.04与Windows 7双系统详解 #### 一、引言 在本文中,我们将详细介绍如何安装Ubuntu 12.04 LTS和Windows 7双系统。对于那些希望同时拥有Linux环境和Windows环境的用户来说,这种配置非常实用...
Win7和Ubuntu12.04双系统重装win7引导不见问题 本文主要讲述了在重装Win7后,Ubuntu 12.04的引导不见的问题,解决方法包括:使用Universal-USB-Installer软件制作U盘安装Ubuntu,设置BIOS让计算机通过U盘启动,选择...
定制的ubuntu12.04 的ISO镜像,安卓环境已经安装好,1.3G左右。 刻录U盘启动后, 下载了代码直接编译即可! 有需要的可以下载
在本文中,我们将详细介绍如何在Windows 7系统下安装Ubuntu 12.04,以实现双系统共存。此过程对于那些希望尝试Linux环境但又不想完全放弃Windows操作系统的用户来说非常有用。通过遵循以下步骤,您可以在不破坏现有...
### Windows7系统下利用U盘安装Ubuntu_12.04实现双系统详细教程 #### 知识点一:Ubuntu简介及其特点 - **定义**:Ubuntu是一个由全球社区开发者共同维护和支持的开源操作系统,主要基于Linux内核,适用于个人电脑...
如果卸载了network-manager,就无法再上网进行 apt-get ...ubuntu 12中有线网无法设static ip,可先卸载network-manager,再修改eth0配置,重新安装network-manager,系统显示有线网络设备未托管,但是已经可以用了!