Menu
The Tech Paper
  • Home
  • Interview Questions
    • PHP String Interview Question
    • PHP Array Interview Qutions
    • jQuery Interview Quetions
    • PHP Interviwe Question on php.ini file
    • htaccess File Interview Quetions
  • About
The Tech Paper

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

  • Nested / Cascade query in SOQL
  • Declarative tools in salesforce
  • SalesForce SU21 mind dumps
  • PHP Interview Question 2021
  • Ubuntu 20.04 Bluetooth not working [Resolved]

Archives

  • May 2022
  • September 2021
  • April 2021
  • January 2021
  • December 2020
  • September 2020
  • July 2020
  • January 2020
  • July 2019
  • August 2018
  • June 2018
  • April 2018
  • September 2017
  • June 2017
  • May 2017

Recent Posts

  • Nested / Cascade query in SOQL May 11, 2022
  • Declarative tools in salesforce September 24, 2021
  • SalesForce SU21 mind dumps September 24, 2021
  • PHP Interview Question 2021 April 24, 2021
  • Ubuntu 20.04 Bluetooth not working [Resolved] January 22, 2021

Contact Us

©2022 The Tech Paper | Powered by Abhinav Trivedi