Tuesday, October 12, 2021

Creating bootable USB drive for fedora installation


livecd-iso-to-disk is the command used to write the image.

You need to install livecd-iso-to-mediums .

Below /dev/sdX -> maybe sda or sdb . check /proc/partitions & verify the disk. 

Note complete dataloss of the usb disk. Take necessary backup if required.



$ sudo livecd-iso-to-disk --format --reset-mbr /tmp/Fedora-Workstation-Live-x86_64-34-1.2.iso  /dev/sdX      

Verifying image...

/tmp/Fedora-Workstation-Live-x86_64-34-1.2.iso:   de1246160bf08330cdda124e707339b5

Fragment sums: 8c438396d74da47ce05ea33ea55b2f8f1e78ae3dff6cbff6198be36daaca

Fragment count: 20

Supported ISO: no

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 ALL 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

/dev/sdb: calling ioctl to re-read partition table: Success

Waiting for devices to settle...

mke2fs 1.45.5 (07-Jan-2020)

64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.

Creating filesystem with 15161856 4k blocks and 3792896 inodes

Filesystem UUID: d9eaca05-43df-4238-8ce3-44eae8a1a10c

Superblock backups stored on blocks: 

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 

4096000, 7962624, 11239424


Allocating group tables: done                            

Writing inode tables: done                            

Creating journal (65536 blocks): done

Writing superblocks and filesystem accounting information: mkfs.ext4: Input/output error while writing out and closing file system

Cleaning up to exit...


No comments:

Post a Comment