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

Recent Posts

  • Ubuntu 20.04 Bluetooth not working [Resolved]
  • Git Log Commands
  • Create a swap memory in Linux
  • Hide protected files in Laravel
  • Make a bootable pendrive in Linux

Archives

  • 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

  • Ubuntu 20.04 Bluetooth not working [Resolved] January 22, 2021
  • Git Log Commands January 22, 2021
  • Create a swap memory in Linux December 2, 2020
  • Hide protected files in Laravel September 21, 2020
  • Make a bootable pendrive in Linux September 10, 2020

Contact Us

©2021 The Tech Paper | Powered by SuperbThemes & WordPress