Install Ubuntu using a USB flash drive under Ubuntu

Source: Internet
Author: User
Tags system log

make USB drive Boot 1. Installing the USB drive Maker tool
sudo apt-get install UNetbootin

Use sudo df -lcommand to view the USB drive letter, this is assumed to be/DEV/SDB12. Format the USB drive
    • sudo umount /dev/sdb1uninstalling a USB flash drive using commands

    • sudo mkfs.vfat /dev/sdb1format the USB flash drive in FAT32 format using the command

3. Use UNetbootin to make USB drive boot, such as

650) this.width=650; "src=" Https://carreyi.github.io/img/post_6/1.jpg "alt=" The figure shows how to use UNetbootin to make u start "style=" Border:0px;vertical-align:middle; "/>

4. Set the USB drive to boot

Restart your computer to enter the BIOS settings USB drive

Install UBUNTU1. After booting the USB stick, select Install UBUNTU2. Select language

650) this.width=650; "src=" Https://carreyi.github.io/img/post_6/1.png "alt=" The figure shows the Ubuntu selection language "style=" border:0px; Vertical-align:middle; "/>

3. Preparing to install Ubuntu

650) this.width=650; "src=" Https://carreyi.github.io/img/post_6/2.png "alt=" The figure shows the ready to install Ubuntu option "style=" border:0px; Vertical-align:middle; "/>

4. Select the installation type

Select other options to partition yourself
650) this.width=650; "src=" Https://carreyi.github.io/img/post_6/3.png "alt=" the figure shows the choice of Ubuntu installation Type "style=" border:0px; Vertical-align:middle; "/>

5. Manual Partitioning
  • /swap swap partition, generally as large as your memory, swap partition, logical partition (swap partition when the physical memory of the system is not enough, the hard disk space to release a portion of the space for the current running program to use. The freed space may come from programs that have not been manipulated for a long time, and the freed space is temporarily saved to the swap partition until those programs are run and the saved data is restored to memory from the swap partition. )

  • /root partition, the general choice of 15G, Ext4 file system, logical partition, if the first five except the introduction of the partition is not independent division of other partitions, it is attributed to this partition,

  • /boot partition, 150M is good (can also be larger to avoid unnecessary trouble) Ext4 file system. This partition of the primary partition contains the kernel of the operating system and the files to be used in the process of booting the system.

  • /usr partition, 100 g (see PC HDD), EXT4 file system, logical partition, this partition is the system and user software installation location, partition size look personal situation, recommended not too small

  • /home partition, the remaining space is divided into this partition, EXT4 file system, logical partition, user folder

The following partitions can be divided into
    • /var/log partition 1G Ext4, logical partition, System log partition

    • /tmp partition 5G EXT4, logical partition, temporary file partition

    • /OPT partition 1G Ext4, logical partition, add-on storage place

    • /bin partition Ext4, logical partitioning, rarely partitioned partitions, storing standard system utilities.
      650) this.width=650; "src=" Https://carreyi.github.io/img/post_6/4.png "alt=" The figure shows the Ubuntu manual partition "style=" border:0px; Vertical-align:middle; "/>

6. Set user name and password clean up after installation is complete

Delete LibreOffice

sudo apt-get remove Libreoffice-common


Delete Amazon

sudo apt-get remove Unity-webapps-common


Remove the basic unused self-brought software

sudo apt-get remove Thunderbird totem Rhythmbox empathy Brasero simple-scan gnome-mahjongg aisleriot gnome-mines Cheese TR Ansmission-common Gnome-orca Webbrowser-app Gnome-sudoku landscape-client-ui-install
sudo apt-get remove onboard deja-dup


Disabling guest users requires a restart

sudo sh-c ' printf ' [seatdefaults]\nallow-guest=false\n ' >/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf '

Re-enable guest users, need to restart

sudo rm/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf


Some handy shortcut keys

    • CTRL + H: Show hidden files

    • SUPER + W: Small window shows all Programs

    • CTRL + SUPER + D: Show Desktop

    • CTRL + ALT + T: Open terminal


Install Ubuntu using a USB flash drive under Ubuntu

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.