Menu
PHP BABA LOGO
  • 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
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

  • How to check Salesforce current release version
  • Salesforce Certification Coupons / Vouchers
  • Nested / Cascade query in SOQL
  • Declarative tools in salesforce
  • SalesForce Questions

Recent Posts

  • How to check Salesforce current release version January 12, 2023
  • Salesforce Certification Coupons / Vouchers July 19, 2022
  • Nested / Cascade query in SOQL May 11, 2022
  • Declarative tools in salesforce September 24, 2021
  • SalesForce Questions September 24, 2021
©2023 The Tech Paper | Powered by Abhinav Trivedi