/ / Bootable USB flash drive Ubuntu - the process of creating

The bootable USB flash drive Ubuntu - the process of creating

Work under the operating system withOwn flash drive can be very useful in some cases. You can restore data from the hard drive and copy them to an external hard drive if your computer does not boot or if any malfunction occurs. For example, a bootable USB flash drive with Ubuntu will allow you to install, download and have the ability to run a popular Linux distribution on any media at any time. You can automatically save changes and settings on the flash drive, restore them each time you boot using the second partition.

bootable flash drive ubuntu

You can run Ubuntu, then all your settings and files will be available to you, even if you do not have your own computer. You will have a powerful operating system in your pocket!

In order to create a bootable USB flash drive, you will need:

- USB 2.0 disk storage (minimum 1 GB of memory);

- A computer with a CD-drive and a working USB-port;

- Ubuntu LiveCD (you do not need it if Ubuntu is already installed on your PC).

You should also understand at least a littlecomputers and be able to use the command line or terminal (depending on the installed OS). Despite the fact that it is acceptable to use USB-media with a capacity of 1 GB, the USB flash drive Ubuntu should have more memory (at least 4 GB).

You can download Ubuntu LiveCD from the officialsite of the company. Just download the Ubuntu Desktop LiveCD ISO and burn it to a CD using Nero or another program. You can also order a free CD with Ubuntu, but it takes 6-10 weeks.

create a bootable USB flash drive ubuntu

We will need to change the order of the BIOS load throughout the process.

Turn on the computer. Click the button to access the BIOS setup utility. Usually this is the "F2" or "Delete" button. Navigate through the settings until you find information about the boot order. You can change them in such a way that if the main device is not found, the download will go from the next list. However, you can make settings so that the download option is temporarily available only from a specific device.

If you do not have an operating system installed on your computerUbuntu, turn off the PC and put the boot CD into the drive. Turn on your computer and configure the BIOS so that the download starts automatically from the CD. After power-up, boot up the Ubuntu OS.

You can skip this step if you have already installed this operating system on your computer. Just turn it on and log in

Now that you are in the system, it's time totime to format the flash drive. It is desirable that the bootable USB flash drive Ubuntu has two partitions - one for the Ubuntu OS, and the other - for automatically saving changes and settings on the flash drive, which can be restored at each boot. You can also store personal data in the second section.

bootable flash drive with ubuntu

Make a backup of all data from the flash drive before starting the process.

Open the terminal and go to the section"Applications", enter "Sudo SU", then "FDISK-L", then determine which of the displayed devices is your flash drive. Having found your flash drive, you should enter the command "Format sda1" (instead of sda1 - the name of the first section of your flash drive).

Then enter the following commands:

- Type "umount / dev / sdb1".

- Type "fdisk / dev / sdb".

- Type P to show the existing partitions, and then D to delete the unnecessary ones.

- Type P again to show any remaining partitions (if there are more extra sections, repeat the previous step).

Click on input to use the default settings, and enter +750 M to set the partition size. Then make this partition active:

- Type 1 - to select partition 1.

- Type T - to change the file system of the partition.

- Type 6 - to select the FAT16 file system.

- Type N - to create another new section.

- Type P - for the primary partition.

- Type 2 - to create a second partition, click on the input to use the default settings. Press the enter button again to save the settings.

- Type W - to write a new partition table.

- Type "umount / dev / sdb1", then "umount / dev / sdb2".

- Type "mkfs. vfat -F 16 -n Ubuntu / dev / sdb1 ". This is the formatting of the first section.

Next, enter "mkfs. ext2 -b 4096 -L casper-rw / dev / sdb2 "to format the second partition. Exit the terminal and turn off the flash drive.

Now that you have finished formatting the disk, you can completely create a bootable USB flash drive Ubuntu:

- Insert the flash drive.

- Open the terminal and type: Type "apt-get update".

Navigate to the Ubuntu package, download Mtools and install. Then download Syslinux and install.

In the terminal, type Type "SYSLINUX-SF / dev / sdb1"

Type "CD / CD-ROM"

Type "cp-rf casper disctree dists install pics pool preseed .disk isolinux / * md5sum.txt README.diskdefines ubuntu.ico casper / vmlinuz casper / initrd.gz / media / Ubuntu /".

Do not pay attention to the error "it's impossible to create a symbolic link".

Go to the first section of the flash drive and rename "isolinux.cfg" to "syslinux.cfg".

Edit the entry in syslinux.cfg in the attached text file.

Now everything is ready! Just reboot the computer and install the boot from the USB flash drive in the BIOS, and then run the new OS. Now you have a bootable USB flash drive. You can run Ubuntu OS anywhere and store all settings and files with you.

Read more: