ComputersSoftware

The bootable USB flash drive Ubuntu - the process of creating

Running an operating system from your own flash drive can be very useful in some cases. You can restore data from the hard disk 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 be able to run the popular Linux distribution on any media at any time. You can automatically save changes and settings on the flash drive, restore them every time you boot using the second partition.

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 drive (minimum memory capacity is 1 Gb);

- 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 at least have a little knowledge of computers 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, a bootable USB flash drive Ubuntu should have more memory (at least 4 GB).

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

We will need to change the boot order of the BIOS 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 Ubuntu installed on your computer, turn off the PC and place the boot CD in the drive. Turn on your computer and configure the BIOS so that the download starts automatically from the CD. After power on, 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 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.

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

Open the terminal and go to the "Applications" section, enter "Sudo SU", then "FDISK-L", then determine which of the displayed devices is your flash drive. Having found out the flash drive, you should enter a 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 record 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.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.atomiyme.com. Theme powered by WordPress.