Menu
PHP BABA LOGO
  • Home
  • About
PHP BABA LOGO

Make a bootable pendrive in Linux

Posted on September 10, 2020December 17, 2020

Using DD command:

Step 1:- “sudo fdisk -l” to find usb name in the system. like /dev/sdc (you can identify by Drive size)
Step 2:- “sudo dd bs=4M if=Downloads/boss-8.0-amd64-DVD-301019.iso of=/dev/sdc1 status=progress && sync”(Make Sure you have selected Correct Drive Name and iso File path)

Restore back for Bootable Drive

Step 1:- “sudo wipefs –all /dev/sdd”
Step 2:- “sudo cfdisk /dev/sdd”
Step 3:- Select Dos
Step 4:- press enter to new partitation
Step 5:- press enter to make it primary
Step 6:- Select by arrow Write and press yes and Quit
Step 7:- “sudo mkfs.vfat -n ‘Name’ /dev/sdd1” to set file format as fat

Using ddrescue command

The ddrescue tool is a popular data recovery tool that you can use to recover data from failed storage devices such as hard drives, pen drives, etc. Additionally, you can use the ddrescue tool to convert an ISO image to a startup USB drive.

Install ddrescue: $ sudo apt install gddrescue

Verify the block device volume of the USB drive: $ lsblk

Create a bootable USB stick: $ sudo ddrescue path/to/.iso /dev/sdx –force -D

Example for Ubuntu 20.04 setup: $ sudo ddrescue ubuntu-20.04-beta-desktop-amd64.iso /dev/sdb –force -D

reference link: https://www.tecmint.com/create-bootable-ubuntu-usb-disk/

Categories

  • Docker
  • Git
  • Interview Questions
  • Laravel
  • Linux
  • php
  • Salesforce

Recent Posts

  • Salesforce interview question
  • Platform Developer I Certification Maintenance (Winter ’25)
  • Batch Class in Salesforce
  • Platform Developer I Certification Maintenance (Winter ’24) Get Hands-on with Bind Variables in a SOQL Query
  • How to check Salesforce current release version

Recent Posts

  • Salesforce interview question September 7, 2025
  • Platform Developer I Certification Maintenance (Winter ’25) July 16, 2025
  • Batch Class in Salesforce January 25, 2024
  • Platform Developer I Certification Maintenance (Winter ’24) Get Hands-on with Bind Variables in a SOQL Query December 19, 2023
  • How to check Salesforce current release version January 12, 2023
©2025 The Tech Paper | Powered by Abhinav Trivedi