Sunday, September 29, 2013

Easy way to create USB bootable disk of ISO using "livecd (tool)"


********************************

OS Example: Fedora 18 x86_64  
********************************

# yum install livecd-tools -y


# livecd-iso-to-disk  --format --reset-mbr /var/lib/libvirt/isos/OS-DEMO.iso /dev/sdb


Verifying image...
/var/lib/libvirt/isos/OS-DEMO.iso:   523989e739ab2c5d6ba1e714a7dfe93e
Fragment sums: 9fe3621bc5445aa8b8c33b53f1a6c3053353c3a214a45a56d8d9eb5ae591
Fragment count: 20
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdb!!!
Press Enter to continue or ctrl-c to abort

/dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
Waiting for devices to settle...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=LIVE
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
244800 inodes, 978176 blocks
48908 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1002438656
30 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done                          
Writing inode tables: done                          
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information:    

No comments:

Post a Comment