Ubuntu desktop 12.04 is automatically installed on a USB flash drive.

Source: Internet
Author: User


The USB flash drive automatically installs ubuntu desktop 12.04 1 to format the USB flash drive mkfs. vfat/dev/sdb4 2 make Startup File umount/dev/sdb4 syslinux/dev/sdb4 3 copy all files in the image to the u disk root directory mount-o loop ubuntu-12.04-desktop-amd64.iso/mnt/ubu cp-r/mnt/ubu/*/media/1307-AF06/www.2cto.com 4 prepare autoinstall. seed cp autoinstall. seed/media/1307-AF06/preseed/autoinstall. seed 5. Change the file directory mv isolinux syslinux cd syslinux mv isolinux. cfg syslinux. cfg 6 modify syslinux. cfg file vim syslinux. cfg [plain] default autoinstall prompt 0 time out 100 www.2cto.com menu title Custom Live CD menu background splash.png menu color title 1; 37; 44 # c0ffffff #00000000 std label live menu label live-boot the Live System kernel/casper/vmlinuz append file =/cdrom/preseed/custom. seed boot = casper initrd =/casper/initrd.gz quiet splash -- label xforcevesa menu label xforcevesa-boot Live in safe graphics mode kernel/casper/vmlinuz append file =/cdrom/preseed/custom. seed boot = casper xforcevesa initrd =/casper/initrd.gz quiet splash -- label install menu label install-start the installer directly kernel/casper/vmlinuz append file =/cdrom/preseed/custom. seed boot = casper only-ubiquity initrd =/casper/initrd.gz quiet splash -- label textonly menu label textonly-boot Live in textonly mode kernel/casper/vmlinuz append file =/cdrom/preseed/ custom. seed boot = casper textonly initrd =/casper/initrd.gz quiet -- www.2cto.com label debug menu label debug-boot the Live System without splash and show boot info kernel/casper/vmlinuz append file =/cdrom /preseed/custom. seed boot = casper initrd =/casper/initrd.gz nosplash -- label memtest menu label memtest-Run memtest kernel/isolinux/memtest append-label hd menu label hd-boot the first hard disk localboot 0x80 append-label autoinstall menu label autoinstall-auto install ubuntu kernel/casper/vmlinuz append initrd =/casper/initrd.gz file =/cdrom/preseed/autoinstall. seed boot = casper debian-installer/locale = zh_CN kdb-chooser/method = us console-setup/layoutcode = us automatic-ubiquity quiet splash -- 7 attached autoinstall. peed File
[Plain] d-I debian-installer/locale string en_US d-I console-setup/ask_detect boolean false d-I console-configuration/layoutcode string us d-I keyboard-configuration/ modelcode string SKIP d-I clock-setup/utc boolean false d-I time/zone string Asia/Shanghai d-I netcfg/choose_interface select auto d-I netcfg/dhcp_failed note www.2cto.com d -I netcfg/dhcp_options select Do not configure the network at this time d-I netcfg/get_hostname string cbpos d-I netcfg/get_domain string cbpos-domain d-I netcfg/wireless_wep string d -I mirror/country string china d-I mirror/http/hostname string ubuntu.cn99.com d-I mirror/http/directory string/ubuntu d-I mirror/http/proxy string d-I clock-setup/ntp boolean true d-I partman-auto/disk string/dev/sda 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 home d-I partman/default_filesystem string ext4 d-I partman/confirm_write_new_label boolean true d-I partman /choose_partition \ d-I partman/confirm boolean true d-I passwd/user-fullname string xingwei password 123456 d-I passwd/username string xingwei d-I passwd/user-password 123456 d-I passwd/user-password-again password 123456 d-I lilo-installer/skip boolean true d-I grub-installer/only_debian boolean true d-I finish-install/ reboot_in_progress note

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.