Your Ad Here

Monday, August 3, 2009

Format USB in linux for use as Live USB

    In the main discussion at this time, you can find a variety of distribution LiveUSB that can be installed in the UFD. However, after and before using the UFD can be installed so that the distribution LiveUSB, it's good UFD you have on the format first. To make a partition on the UFD Linux, you can use fdisk, and then formatted with the command mkf .

This stage is ::

1.prompt and open the Terminal Login as root, then run the command fdisk-l to see the location of the position of UFD on your Linux system

# fdisk -l ...
Disk /dev/sdb: 4043 MB, 4043308544 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes
Disk identifier: 0x000c5df9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1018 3944719 b W95 FAT32

In the output above, if the visible property of the author UFD 4GB detected as /dev/sdb

2.To begin UFD format, run the following command:

# fdisk /dev/sdb
Command (m for help):

- At the fdisk command prompt, you can mengetikan 'm' to see list of commands that are in fdisk. To see a list of partitions in fdisk, You can mengetikan 'p'. (Note: The sign''does not need to type in).

- Remove all partitions that are on the UFD with type 'd' in the fdisk command prompt.

Command (m for help): d
Selected partition 1

- After deleting all partitions on the UFD, make a return partition in the UFD.

Command (m for help): n

- When asked would like to make a primary partition or secondary partition, type 'p'.

Command action
e extended
p primary partition (1-4)
p

- Next you will be asked to enter the partition number. Type '1 'Because we will create a new partition 1.

Partition number (1-4): 1

- When showing cylinder First question, just press Enter. And at the time Last question appears cylinder, the press Enter. With this, the all UFD capacity to be only in 1 partition only.

First cylinder (1-1018, default 1):
Using default value 1
Last cylinder or + size or + + sizeM or sizeK (1-1018, default 1018):
Using default value 1018

- By default, the results of the partition is using the filesystem Linux ext3 (83). Since most UFD partition using FAT32, change the type filesystem with mengetikan 't'. At the time of confirmation appear to enter the Hex code to select the type of file, type 'b' to make the partition as a FAT32 filesystem W95.

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): b

- LiveUSB require a UFD to boot directly from the PC. So that UFD can be directly in the boot, when 'a' to change Toggle flag UFD so UFD can be directly in the boot.

Command (m for help): a
Partition number (1-4): 1

- When viewed with the command 'p', then the results of which have been supplied preformatted UFD

- Finally, save the changes by pressing the button w.

Command (m for help): w
The partition table has been altered!

3.formatting UFD partition that we just created, umount UFD first, then using the format command mkfs.vfat.

# mkfs.vfat /dev/sdb1
mkfs.vfat 2.11 (12 Mar 2009

UFD format process has been done.Now, you can immediately use to UFD installed Linux LiveUSB your choice. Happy trying!

Thank,u
By:Mr.Gm

0 komentar:

Post a Comment

 

My Room Temperature

My Pressure

My Humidity