Create a bootable on Linux Debian 10 U disk

The tutorial describes how to use the command to create a bootable dd Debian 10 (Buster) U disk from a Linux terminal. U disk can be used to start and install Debian on any computer that supports booting from USB.

prerequisites

  • U disk 1GB or more
  • The computer running any Linux distribution
  • Debian 10 Buster ISO file. Getting Debian access page, you can find links to download Debian installation images in a variety of them. In this guide, we will use the 64-bit PC netinst iso file.

Create a bootable on Linux Debian 10 U disk

ISO image using a command line flicker to the U disk is much easier than using a GUI tool. No need to install additional software.

Follow the steps listed below to create a bootable Debian 10 U disk:

  1. The USB flash drive into the USB port.

  2. Use this tool to find out the name of lsblk U disk:

    lsblk

    The output is shown below:

    NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda           8:0    0 465.8G  0 disk 
    └─ sda1        8:1    0 465.8G  0 part /data 
    sdx           8:16   1   7.5G  0 disk 
    └─ sdx1        8:17   1   7.5G  0 part /run/media/linuxize/Kingston 
    nvme0n1     259:0    0 232.9G  0 disk 
    ├─ nvme0n1p1 259:1    0   512M  0 part /boot 
    ├─ nvme0n1p2 259:2    0    16G  0 part [SWAP] 
    └─ nvme0n1p3 259:3    0 216.4G  0 part / 

    In this example, USB device / dev / sdx may vary depending on your system. The best way is to identify the name of the size of the inspection apparatus.

  3. In most Linux distributions, USB flash drives will be installed automatically upon insertion.

    Before flashing images, make sure the USB device is not installed. To uninstall the driver, use the umount command followed by its installation directory (mount point) or device name:

    sudo umount /dev/sdx1
  4. The final step is a Debian ISO image to refresh U disk. Ensure that / dev / sdx use the drive to be replaced, and do additional partition number.

    Additionally, alternative /path/to/debian-10.0.0-amd64-netinst.iso ISO file path. If you use a Web browser to download a file, it must be stored Downloads file in your user account folder.

    sudo dd bs=4M if=/path/to/debian-10.0.0-amd64-netinst.iso of=/dev/sdx status=progress oflag=sync

    A progress bar appears when the image flickers. This process may take several minutes, depending on the speed and size of the ISO file U disk. Once complete, you will see the following:

    83+1 records in
    83+1 records out
    348127232 bytes (348 MB, 332 MiB) copied, 25.001 s, 13 MB/s

that's it! There is a bootable Debian 10 on your U disk.

in conclusion

We've shown you how to create a bootable Debian U disk using the dd utility. You can now configure the computer BIOS to boot from USB, into the drive and install Debian.

Guess you like

Origin www.linuxidc.com/Linux/2019-08/159871.htm