{"id":5513,"date":"2018-03-16T08:09:40","date_gmt":"2018-03-16T08:09:40","guid":{"rendered":"https:\/\/www.isunshare.com\/blog\/?p=5513"},"modified":"2023-04-12T09:05:25","modified_gmt":"2023-04-12T09:05:25","slug":"how-to-create-a-linux-debian-bootable-usb-disk","status":"publish","type":"post","link":"https:\/\/www.isunshare.com\/blog\/how-to-create-a-linux-debian-bootable-usb-disk\/","title":{"rendered":"How to Create a Linux Debian Bootable USB Disk with Different OS"},"content":{"rendered":"<p>Linux debian is a Unix-like computer operating system that is composed entirely of free software for which some people are indulging it. To experience the debian operating system features, you should know how to create a Linux debian bootable USB disk first. In this post, we would talk about how to create a Linux debian bootable USB disk with different operating systems.<\/p>\n<ul>\n<li><a href=\"#part1\">Part 1: Create a Linux debian bootable USB disk with Mac <\/a><\/li>\n<li><a href=\"#part2\">Part 2: Create a Linux debian bootable USB disk with Linux <\/a><\/li>\n<li><a href=\"#part3\">Part 3: Create a Linux debian bootable USB disk with Windows <\/a><\/li>\n<\/ul>\n<p>Preparations:<\/p>\n<p><a href=\"https:\/\/www.debian.org\/distrib\/\">Linux debian ISO files<\/a><\/p>\n<p>A USB drive with enough free space.<\/p>\n<h2 id=\"part1\">Part 1: Create a Linux debian bootable USB disk with Mac<\/h2>\n<p><strong>Step 1<\/strong>:\u00a0Open a terminal. Before inserting the USB key, check which disks are available with the under commands.<\/p>\n<p><span style=\"color: #800000;\"><em>diskutil list<\/em><\/span><\/p>\n<p>Typically, you can see all the disks in your Mac.<\/p>\n<p><a href=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/disk-list-command-show-you-all-disks.png\"><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"193\" class=\"alignnone size-full wp-image-5514\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/disk-list-command-show-you-all-disks.png\" alt=\"disk list command show you all disks\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/disk-list-command-show-you-all-disks.png 758w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/disk-list-command-show-you-all-disks-300x76.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/a><\/p>\n<p><strong>Step 2<\/strong>:\u00a0Insert the USB drive. Type the \u201cdiskutil list\u201d command again. You should see one more disk which is your USB drive.<\/p>\n<p><strong>Step 3<\/strong>: Then we should convert the ISO file to an image by using the under command.<\/p>\n<p><span style=\"color: #800000;\"><em>hdiutil convert -format UDRW -o debian-8.0.0-amd64-netinst.img debian-8.0.0-amd64-netinst.iso<\/em><\/span><\/p>\n<p><strong>Step 4<\/strong>: Remove the default file extention added by\u00a0Hdiutil with the under command.<\/p>\n<p><span style=\"color: #800000;\"><em>mv debian-8.0.0-amd64-netinst.img.dmg debian-8.0.0-amd64-netinst.img<\/em><\/span><\/p>\n<p><strong>Step 5<\/strong>: Write the image to the USB drive with under command.<\/p>\n<p><span style=\"color: #800000;\"><em>sudo dd if=debian-8.0.0-amd64-netinst.img of=\/dev\/disk2 bs=1m<\/em><\/span><\/p>\n<p><span style=\"color: #ff0000;\">Attention: In this case, \/dev\/disk2 is my USB drive name, the debian-8.0.0-amd64-netinst means the debian version, you should adapt it to your condition.<\/span><\/p>\n<p>Once the Linux debian bootable USB disk is created, the Mac OS will ask you if you want to eject it. just click yes. Then this disk is ready to use.<\/p>\n<h2 id=\"part2\">Part 2: Create a Linux debian bootable USB disk with Linux<\/h2>\n<p><strong>Step 1<\/strong>:\u00a0Mount your USB drive and make sure\u00a0Linux recognizes your device.<\/p>\n<p>Typically, you can find your USB drive in the path \/dev\/sd* once you mount it to Linux. Be aware of that sometimes the name of your USB drive would be displayed on <strong>sdb<\/strong> or <strong>sdc<\/strong>.<\/p>\n<p><strong>Step 2<\/strong>: Localize your IOS file just downloaded in Linux.<\/p>\n<p>If you\u2019ve downloaded Debian to your Downloads under home directory, it should look similar to:<\/p>\n<p><a href=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/path-of-the-debian-iso-files.png\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"37\" class=\"alignnone size-full wp-image-5520\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/path-of-the-debian-iso-files.png\" alt=\"path of the debian iso files\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/path-of-the-debian-iso-files.png 626w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/path-of-the-debian-iso-files-300x18.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<p><strong>Step 3<\/strong>:\u00a0Open terminal and type command\u00a0<em><strong>sudo dd if=[path_to_iso] of=[path_to_usb].<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/commands-to-copy-iso.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"32\" class=\"alignnone size-full wp-image-5523\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/commands-to-copy-iso.png\" alt=\"commands to copy iso\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/commands-to-copy-iso.png 640w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/commands-to-copy-iso-300x15.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>When the command is done, your Linux debian bootable disk is ready.<\/p>\n<h2 id=\"part3\">Part 3: Create a Linux debian bootable USB disk with Windows<\/h2>\n<p><strong>Step 1<\/strong>: Insert a 2GB or larger Flash Drive for Debian Live installation requirements.<\/p>\n<p><strong>Step 2<\/strong>:\u00a0Download a Debain img and save it to your desktop.<\/p>\n<p><strong>Step 3<\/strong>:\u00a0Download the Win32 DiskImager and extract its content to a folder on your computer desktop.<\/p>\n<p><strong>Step 4<\/strong>: Run the Win32Diskmager.<\/p>\n<p>You would simply find a prompt telling you that an error occurred when attempting to get the device information.\u00a0Just click <strong>OK<\/strong> to continue.<\/p>\n<p><a href=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/error-prompted-in-win32-diskimager.png\"><img loading=\"lazy\" decoding=\"async\" width=\"401\" height=\"131\" class=\"alignnone size-full wp-image-5525\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/error-prompted-in-win32-diskimager.png\" alt=\"error prompted in win32 diskimager\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/error-prompted-in-win32-diskimager.png 401w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/error-prompted-in-win32-diskimager-300x98.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/a><\/p>\n<p><strong>Step 5<\/strong>: Follow the instructions to create a debian bootable USB disk.<\/p>\n<ol>\n<li>Browse to and select your Debian-Live image file.<\/li>\n<li>Select a\u00a0USB device.<\/li>\n<li>Click Write to write the image to the device<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/create-debian-bootable-disk-in-windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"322\" height=\"181\" class=\"alignnone size-full wp-image-5526\" src=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/create-debian-bootable-disk-in-windows.png\" alt=\"create debian bootable disk in windows\" srcset=\"https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/create-debian-bootable-disk-in-windows.png 322w, https:\/\/www.isunshare.com\/blog\/wp-content\/uploads\/2018\/03\/create-debian-bootable-disk-in-windows-300x169.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/a><\/p>\n<p>Related Articles:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.isunshare.com\/blog\/windows-10-password-reset-disk-not-working\/\">Windows 10 Password Reset Disk not Working | What to Do<\/a><\/li>\n<li><a href=\"https:\/\/www.isunshare.com\/blog\/create-usb-windows-pe-disk-maintain-computer\/\">Create a USB Windows PE Disk to Maintain Computer in Windows 10<\/a><\/li>\n<li><a href=\"https:\/\/www.isunshare.com\/blog\/how-to-create-a-windows-8-password-reset-disk\/\">How to Create a Windows 8 Password Reset Disk<\/a><\/li>\n<li><a href=\"https:\/\/www.isunshare.com\/blog\/measures-to-prevent-data-loss-after-hard-disk-formatting\/\">Measures to Prevent Data Loss after Hard Disk Formatting<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Linux debian is a Unix-like computer operating system that is composed entirely of free software for which some&#8230;<\/p>\n","protected":false},"author":1,"featured_media":126130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[237],"class_list":["post-5513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","tag-create-linux-debian-bootable-disk"],"_links":{"self":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/5513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/comments?post=5513"}],"version-history":[{"count":5,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/5513\/revisions"}],"predecessor-version":[{"id":7004,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/posts\/5513\/revisions\/7004"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/media\/126130"}],"wp:attachment":[{"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/media?parent=5513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/categories?post=5513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.isunshare.com\/blog\/wp-json\/wp\/v2\/tags?post=5513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}