How to create a bootable Debian USB drive using Windows

237,432

Solution 1

To create a bootable USB, you can follow the steps below:


STEP 1

Go to the website of the OS you wish to install, and find an iso image to download. In your case, since you want to run a Debian OS, here is a link to its iso options: https://www.debian.org/distrib/netinst

Choose an iso image from the options, and click on it. This should automatically start the image download. While file is downloading, go to second step.


STEP 2

Get a utility program to format and create bootable USB flash drives. Some have already been suggested, so I will just link you to my favourite: https://rufus.akeo.ie/

Download the utility and go to third step.


STEP 3

By this stage, if your iso image has not yet finished downloading, then wait until it does.

Now that you have both the utility and the iso image downloaded:

  1. Plug in your USB drive
  2. Open Rufus (to write your USB)
  3. Select the iso image you just downloaded to write on the USB, and fill out the other options accordingly (eg. selecting your USB drive etc)
  4. Click on the option for starting the write process (with Rufus, it is the "Start" button)

Once Rufus finishes, simply reboot, booting from your USB, which should start up your Debian OS.

Solution 2

we can easily make bootable Debain using rufus software from windows.

https://rufus.akeo.ie/

Share:
237,432

Related videos on Youtube

R C
Author by

R C

Updated on September 18, 2022

Comments

  • R C
    R C over 1 year

    I am running Windows 10 and am starting to learn how to boot from USB devices.

    I have a 16GB USB (USB 3.0) drive and I want to do the following:

    1. Make the 16GB USB drive run Debian Linux.
    2. Keep Windows 10 on my C: drive.
    3. Not partition my hard drive or set up a dual boot.
    4. Run the OS from my USB drive.
    5. Let all of my files and programs be saved to the USB (so I don't think that a live OS would be suitable). It should work as though it was a dual boot as in the way files are saved.
    6. Make it work on any computer it is plugged in to (assuming the BIOS is compatible).

    I already know how to boot from a USB in my BIOS but I am unsure as to where to get an ISO file and how to install it to the USB.

  • R C
    R C about 8 years
    Thanks for your answer! I will give this a go, but just to clarify, will this install directly to my USB and not affect my hard drive in any way?
  • assefamaru
    assefamaru about 8 years
    Yes, you are simply writing to your USB, not formatting your disk partition in any way. So simply get the iso, write it to your USB, and boot from that USB.
  • R C
    R C about 8 years
    OK thanks so much! I will give it a go now! I'll let you know if it worked and mark this as an answer if it did.
  • assefamaru
    assefamaru about 8 years
    Alright. Let me know if you need any points of clarification.
  • R C
    R C about 8 years
    I first tried to run the installer from the USB that I was also trying to install Debian onto (which was a bit stupid of me) and it obviously came up with a critical error. However, when I booted back into windows, the 4gb USB only had 512mb! To fix it I cleaned it in CMD and then allocated a drive to it. This worked. I then ran the installer from a disk to install on a USB. This also worked fine. The only problem I have, is that I cannot figure out how to boot into a desktop environment. It is currently in a text-only shell. Any ideas? Was it that I installed the wrong file?
  • assefamaru
    assefamaru about 8 years
    If I am understanding correctly, you currently don't have a GUI installed, but you have access to the shell. So try the following to install a GUI: To install gnome: apt-get install aptitude tasksel tasksel install gnome-desktop --new-install To install kde: apt-get install kde-standard To install xfce: apt-get install xfce4 xfce4-goodies thunar-archive-plugin
  • assefamaru
    assefamaru about 8 years
    See these links for more information: How To Install GUI for Debian, Getting GUI in Debian after base installation, Install GUI on debian 7 wheezy. Let me know how it goes.
  • R C
    R C about 8 years
    Sorry for my slow responce, I have been away camping! I tried installing gnome but when I ran the first command, I got an error message Package aptitude is not available, but is refered to by another package. This may mean that hte package is missing, has been obsoleted, or is only available from another source [new line] E: Package 'aptitude' has no installation candidate. Do you have any idea why this is and how it could be fixed? Also, thanks so much for all of your previous help.
  • assefamaru
    assefamaru about 8 years
    No problem, and I hope camping went well! As for the missing aptitude package, try the following: apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install aptitude. Let me know if this works or not.
  • R C
    R C about 8 years
    I tried this but I got the same error again. It did come up with a loaf of stuff to do with the upgrading part. I also tried running the original command after, but to no avail.
  • assefamaru
    assefamaru about 8 years
    Hm, what is in your sources.list file? Type cat /etc/apt/sources.list to find out. Also have you tried sudo apt-get update and apt-get install aptitude without upgrade?
  • assefamaru
    assefamaru about 8 years
    Also, what do you get when you type dpkg --status aptitude and just typing aptitude?
  • assefamaru
    assefamaru about 8 years
    The results might be a bit long for a comments section, so maybe post the results in this forum I have just created: Aptitude Install, especially the contents of your sources.list.
  • DHW
    DHW about 5 years
    Looks like this doesn't work for the latest Debian .. Rufus needs some updated syslinux files and they aren't on the Rufus website.