ubuntu livecd isolinux的定制
来源:互联网 发布:阿利伯克级驱逐舰数据 编辑:程序博客网 时间:2024/05/14 03:48
启动部分的菜单,显示内容等是在gfxboot-theme-ubuntu源码中,
apt source gfxboot-theme-ubuntu gfxboot
cd gfxboot-theme-ubuntu*/make DEFAULT_LANG=zh_CN
sudo cp -af boot/* ../live-cd/isolinux/
参考:
https://help.ubuntu.com/community/LiveCDCustomization
如果是单纯的不显示语言选择窗口则可以通过修改配置文件来解决:
1.解压isolinux中的bootlogo文件,其中splash.pcx是显示背景图片,可以使用gimp工具编辑;
2.把langlist文件重命名为lang,修改里面的内容,只保留一行,比如zh_CN,这样,livecd启动时,会直接显示中文解码
syslinux-themes-ubuntu-xenial
升级livecd中的linux内核步骤:
1.在root filesystem中,安装新的内核包,并删除旧的内核包;删除时可能会报错,找到错误点,修改那个文件使它能够顺利删除;
2.把/boot目录下的initrdxxx和vmlinuzxxx对应的文件复制到casper目录下,替换原有的文件;
3.把/boot目录下的initrdxxx文件删除,这个文件会在安装时自动生成;
preseed example:
# Enable extras.ubuntu.com.
d-i apt-setup/extras boolean false
d-i countrychooser/shortlist select CN
d-i countrychooser/country-name string China
d-i localechooser/supported-locales multiselect zh_CN.UTF-8
d-i localechooser/languagelist select zh_CN
d-i debian-installer/locale string zh_CN.UTF-8
d-i debian-installer/language string zh_CN
d-i debian-installer/country string CN
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/layoutcode string us
# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string Asia/Shanghai
unattended-upgrades unattended-upgrades/enable_auto_updates boolean false
# Configure auto partitioner
d-i partman-auto/init_automatically_partition select custom
d-i partman-auto/disk string /dev/sda
#ubiquity partman-auto/method string regular
#ubiquity partman-auto/choose_recipe select All files in one partition (recommended for new users)
#ubiquity partman/confirm_write_new_label boolean true
#ubiquity partman/choose_partition select Finish partitioning and write changes to disk
#ubiquity partman/confirm boolean true
#d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string root :: 2048 50 1000000 ext4 \
$primary{ } $bootable{ } method{ format } \
format{ } use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
d-i partman-auto/choose_recipe select root
d-i partman-auto/confirm boolean true
d-i partman-partitioning/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-basicfilesystems/no_swap boolean false
d-i partman-partitioning/default_label select msdos
# Root User
d-i passwd/root-login boolean false
# Mortal User
d-i passwd/user-fullname string client
d-i passwd/username string client
d-i passwd/user-password password 123456
d-i passwd/user-password-again password 123456
d-i passwd/auto-login boolean true
d-i user-setup/allow-password-weak boolean true
# Alternatively: by default, the installer uses CC.archive.ubuntu.com where
# CC is the ISO-3166-2 code for the selected country. You can preseed this
# so that it does so without asking.
#d-i mirror/http/mirror select cn.archive.ubuntu.com
# Uncomment this if you don't want to use a network mirror.
d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect
d-i apt-setup/services-select-ubuntu multiselect
d-i apt-setup/universe boolean false
d-i apt-setup/backports boolean false
d-i apt-setup/security_host string
d-i apt-setup/security_path string
d-i pkgsel/upgrade select none
d-i pkgsel/updatedb boolean false
# Policy for applying updates. May be "none" (no automatic updates),
# "unattended-upgrades" (install security updates automatically), or
# "landscape" (manage system with Landscape).
d-i pkgsel/update-policy select none
# Controls whether or not the hardware clock is set to UTC.do not use UTC for windows system
d-i clock-setup/utc boolean false
d-i clock-setup/ntp boolean true
# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true
# This one makes grub-installer install to the MBR if it also finds some other
# OS, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda
ubiquity ubiquity/summary note
#ubiquity ubiquity/reboot boolean true
ubiquity ubiquity/poweroff boolean true
ubiquity ubiquity/success_command string \
cp /cdrom/s/disablescreensaver.desktop /target/etc/xdg/autostart;\
cp /cdrom/s/disabledpms.desktop /target/etc/xdg/autostart;\
rm -f /target/etc/init/tty*.conf;\
sed -i "/PermitRootLogin/c PermitRootLogin yes" /target/etc/ssh/sshd_config;\
in-target update-rc.d ondemand disable
- ubuntu livecd isolinux的定制
- Ubuntu 10.10 定制自己的LiveCD
- Ubuntu 10.10 定制自己的LiveCD
- 收到Ubuntu的LiveCD
- isolinux
- isolinux
- Linux下制作ubuntu系统的u盘启动版LiveCD和直接硬盘启动LiveCD
- 从零开始构建Ubuntu LiveCD
- UCK制作Ubuntu livecd
- pxe ubuntu livecd
- 从零开始构建Ubuntu LiveCD
- Ubuntu自制liveCD学习
- isolinux.cfg配置文件的写法
- (转)Ubuntu 9.10 LiveCD修复grub2双系统的引导
- 基于LXDE的Ubuntu桌面最小系统LiveCD
- Ubuntu 9.10 LiveCD修复grub2双系统的引导
- ubuntu中liveCD、desktop与alternate版本的区别
- ubuntu中liveCD、desktop与alternate版本的区别
- iOS开发多线程篇—线程安全
- 一般权限管理系统构思及设计
- 使用JDBC操作数据库(mysql):
- django环境配置
- STL stack堆栈容器
- ubuntu livecd isolinux的定制
- 基于 Linux 的服务端环境自动部署
- NETTY之FUTURE和CHANNELFUTURE
- Metastore contains multiple versions
- 机器学习——随机森林算法及原理
- activemq
- 在Java里处理文件的技巧
- c#泛型使用详解:泛型特点、泛型继承、泛型接口、泛型委托
- 文件操作