Live install images. A live install image contains a Debian system that can boot without modifying any files on the hard drive and also allows installation of Debian from the contents of the image. Is a live image suitable for me? Here are some things to consider that will help you decide. Jun 03, 2018  I have not tried to make a 'persistent' Debian USB, so I didn't know there was any issue or problem doing this. This link describes some special steps for doing this with Debian, but again, I have not tested these steps. Some other distros are much easier to make a persistent USB though, especially Linux Mint and Ubuntu (but many others, I think). For most people interested about getting a copy of Debian Edu / Skolelinux, the fastest way will be to download it from the Internet and write it to a USB stick, or burn it to a CD, DVD or Blu-ray Disc (BD). Images are large so if you have a slow connection, consider using a download manager.

Active2 years, 6 months ago
  1. UNetbootin for Linux works smoothly with many distributions of Linux like Fedora, Ubuntu, ArchLinux, Linux Mint, Debian, openSUSE and many others. It is easy to create a bootable Live USB using UNetbootin. It allows you to download any of the Linux distribution, you prefer or you can select your own Linux distribution ISO file.
  2. I have a 16GB USB (USB 3.0) drive and I want to do the following: Make the 16GB USB drive run Debian Linux. Keep Windows 10 on my C: drive. Not partition my hard drive or set up a dual boot. Run the OS from my USB drive. Let all of my files and programs be saved to the USB (so I don't think that a live OS would be suitable).
  3. 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.
  4. In the following tutorial, we cover the process of installing Debian Live to a USB Flash Drive from Windows. Debian Live is a continuing project headed by Daniel Baumann, that offers (usb-hdd) Debian Images and ISO's of the Debian Live operating system with the Gnome, KDE, lxde or Xfce desktops.

I tried to make a full Debian installation on USB.

I created a live Debian on USB1 with Rufus. no problem. I opened the live session, inserted USB2 and followed all installation steps (graphical) incl. putting GRUB all on that USB2.

At the end I received a confirmation that the installation was complete but when I try to boot from that USB2 (full Debian) I only get the black screen with blinking cursor.

Where did I go wrong?

FYI: installation without an internet connection. Could that matter?

Debian 7 Wheezy Download

SuzukiBlue
SuzukiBlueSuzukiBlue

4 Answers

The boot flag on USB2 may not be set. The Debian installer lets you set this flag but I think it does not do this by default on existing partitions.

Boot off your live CD, open a root terminal, and run cfdisk /dev/sdX where /dev/sdX is your USB2 (use blkid or lsblk if you don't know for sure). Make the partition where /boot lives bootable. Write the changes and see if you can boot off of it now.

LawrenceCLawrenceC
61.7k12 gold badges109 silver badges186 bronze badges

You can create a debian live USB with persistence from a debian based operating system using mkusb tools (tested and work fine on debian jessie KDE)

If you don't have debian installed you can use 2 USB :

The first one is your current debian Live USB

The second USB is used to create the debian persistent live USB

Boot from your live USB then plug in your second USB

Open the terminal and run the following commands:

Add the following line:

Save your file ( Ctrl + O ) then press Enter

Run the foolowing command:

Run the program .

Choose:

  1. 'Install (make a boot device)'
  2. p : persistent live
  3. upefi : usb-pack-efi
  4. choose your Usb device ( becarful if you are using 2 USB , run fdisk -l before pluging the second one)
  5. check Go

You will be asked to set the percentage of the persistent partition ( e,g: 50%) then validate , it will take about 15 min .

GAD3RGAD3R

I encountered a similar problem (black screen with blinking cursor after install and reboot). The solution for me was to create a new bootable USB stick with YUMI. That worked. My explanation is that something must have been wrong with the first one, I'm not sure exactly what. What changed is:

  1. different USB stick (different brand and larger capacity)
  2. different program to create it (YUMI in my case, but you could try UNetbootin, too)
  3. it is possible I downloaded a new iso, although I cannot say for sure.
simlevsimlev
3,1243 gold badges6 silver badges28 bronze badges

This could be a number of problems, but one thing that should always be done before installation of a distribution is verifying the checksum of the ISO file you downloaded to make sure it is fully intact. You can find the Debian specific info on this here.

Oh and to answer your other question, if this Debian image you are using is indeed the 'full' version, no, you do not need an internet connection because as 'full' implies, everything needed is included in the ISO image.

diametralpitchdiametralpitch

Not the answer you're looking for? Browse other questions tagged linuxdebianinstallationusb-flash-drive or ask your own question.

Active2 months ago

I've got a shining new x64 laptop running Windows 7 and I want to dual boot Debian stable.

I've installed Ubuntu on loads of laptops in the past using a USB drive, but I can't find decent instructions for installing Debian like the Ubuntu instructions.

I've installed Debian from CD a couple of times in the past too, but my new machine doesn't have an optical drive.

Linux Debian Usb Download

The questions are:

  1. Which files do I need from theDebian download page?

  2. How do I make the Debian files on a USB drivebootable?

  3. Does the Debian installer have a disk partitioner (like theUbuntu one does)? Reading the installation guide it seems not to,which would be another hurdle. If this is the case, which partitioner can I use?

blokeleyblokeley
4883 gold badges6 silver badges13 bronze badges

migrated from stackoverflow.comApr 2 '11 at 13:33

This question came from our site for professional and enthusiast programmers.

10 Answers

Download UNetbootin, which allows one to create bootable USB installation media for almost any Linux and BSD distribution out of the box.

Debian 9 Usb Download

Just run it, select Debian, choose the usb drive and wait while it downloads the .iso and transfers it to your usb. After that it's bootable and the install works like from a CD.

Diogo
22.4k57 gold badges134 silver badges212 bronze badges
Wiesław HerrWiesław Herr

If you're on Linux, the easiest way is to simply do (as per the docs):

Where X is your drive letter, you can find out the correct letter by checking the output of dmesg right after connecting your USB device. For example for me (and probably many) it would be /dev/sdb

This will wipe everything from your USB drive, so be careful!

UPDATE:

For completeness, I should also mention Rufus for Windows.

Shahin DohanShahin Dohan
  1. Open Debian Download page and download the right cd / dvd for your pc. Most likely, if you have a modern computer, you'll want amd64 version. I'd suggest to choose cd because today you'll probably have a broadband connection and you'll be able to download other needed packages later very quickly.
  2. If you use Linux terminal you can use dd to prepare your usb stick (iso filename in this command is just an example, you'll have to use your downloaded iso name and path:

    dd if=/your/path/debian-7.5.0-i386-netinst.iso of=/dev/sdX bs=4M
    sync

See Debian official instructions here.

Edit: added sync, to flush device writes before ejecting the usb device.

Debian Usb Download For Pc

  1. Modern Debian versions include a partitioning tool and wizard, the process should be fairly easy, as pointed out in all the guides, here's one.
PittoPitto
1,3964 gold badges28 silver badges44 bronze badges

So far the easiest way I have found is

Where X is the drive letter assigned to the devise (see dmesg right after inserting the USB)

As seen in the Debian instructions

Debian Usb Image

Javier MrJavier Mr

4.3.3. Manually copying files to the USB stick — the flexible way (Debian Official Ref.)

After trying other options and some notebooks refusing to boot, I've tried this 'flexible way' and it was the only one that worked for me.

  1. Stick your new USB stick to the USB (a new one or one that you don't care to lose all data).

  2. unmount it, if it has mounted automatically

    • umount /dev/sdX1 (and sdX2, ..)
  3. partition it (i like old-fashion fdisk)

    • fdisk /dev/sdX
    • d to delete all partitions
    • n to create a new, using all space
    • t to change the partition type to ID c: W95 FAT32 (LBA)
    • a to make sure it is bootable
    • w to write the changes and exit
  4. Install an MBR with (I didn't need this step, so you may test. But its no harm to use it):

    • install-mbr /dev/sdX
  5. Create the filesystem

    • mkdosfs -F32 -n 'Debian85' /dev/sdX1
  6. Keep it unmounted and generate the system in it:

    • syslinux /dev/sdX1
  7. Lets mount the USB stick:

    • mount /dev/sdX1 /mnt/d2/
  8. Copy some files (be certain you download them from hd-media):

    • cp vmlinuz /mnt/d2
    • cp initrd.gz /mnt/d2
  9. Edit the file syslinux.cfg, and add the following content to it:

    • vim /mnt/d2/syslinux.cfg
  1. Copy the ISO image to the USB stick:

    Apr 17, 2018  To work around the errors that are listed earlier in this document, follow these steps: Click Start, click Run, type appwiz.cpl, and then click OK.; Click to select the Office product that you installed, and then click Change.; Click the Repair option, and then follow the. Download now the serial number for Microsoft Office 2013 Product Key. All serial numbers are genuine and you can find more results in our database for Microsoft software. Updates are issued periodically and new results might be added for this applications from our community. Microsoft Office 2013 Product Key Working Serial Key For Microsoft Office 2013, MS Office 2013, and Microsoft Office Professional Plus 2013 For Windows Xp, 7, 8, 8.1, 10. These Product Key, Serial Key, Activation Key of MS Office 2013 in all Operating system For 32 Bit and 64 Bit. Microsoft office 2013 activation codes.

    • cp /some/path/debian-live-8.5.0-amd64-kde-desktop.iso .
    • sync
  2. Unmount the stick and it is ready to boot some machines:

    • umount /mnt/d2

Notes:

  1. If at some point you become confused about what is mounted where, don't forget to run:

lsblk -fo +size

  1. A comment from my experience: if you copy the files on step 8 from your mounted ISO CD image instead of from the hd-media, then, after a successful boot, during the beginning of the installation (step 'Detect and mount CD-ROM'), it will show you the message:

    'incorrect cdrom / cdrom detected cannot be used for installation'.

Googling it may show you problems with unetbootin, but as you can see, this method gives the same error and doesn't use such program.

  1. Also, as this method keeps the USB stick available space after the process usable, it is a good idea to create a folder (use the name firmware so debian can find it during the install) and add to it all sorts of non-free firmware that may be needed during the installation. You can get them from this unofficial netinstall image.
Dr BecoDr Beco

You can try EasyBCD to boot from the iso file directly without creating a bootable usb

P2bM

Debian.org - 4.3. Preparing Files for USB Memory Stick Booting

4.3.1. Preparing a USB stick using a hybrid CD or DVD image

Debian CD and DVD images can now be written directly to a USB stick, which is a very easy way to make a bootable USB stick. Simply choose a CD or DVD image (such as the netinst, CD-1, DVD-1, or netboot) that will fit on your USB stick. See Section 4.1, “Official Debian GNU/Linux CD/DVD-ROM Sets” to get a CD or DVD image.

The CD or DVD image you choose should be written directly to the USB stick, overwriting its current contents. For example, when using an existing GNU/Linux system, the CD or DVD image file can be written to a USB stick as follows,

4.3.3. Manually copying files to the USB stick — the flexible way

If you like more flexibility or just want to know what's going on, you should use the following method to put the files on your stick. One advantage of using this method is that — if the capacity of your USB stick is large enough — you have the option of copying any ISO image, even a DVD image, to it.

Regarding the boot loader for MS FAT formatted file system.

monmon

To quote from the Very Verbose Debian Installation Walkthrough:

Step 3 � (cfdisk) You should now be at a black screen that says, 'cfdisk 2.11n', at the top. This is where we will partition our hard drive to prepare it so we can install Debian. Probably one of the most 'scary' tasks when installing Debian is partitioning the drive. Debian uses a command line tool called cfdisk, which is really quite simple to use, so don't be discouraged by its monochrome presentation.

MajenkoMajenko
28.2k3 gold badges50 silver badges75 bronze badges

This will hopefully be useful to others.

At present, the official FAQ about Debian install CDs - https://www.debian.org/CD/faq/#write-usb (alongside the usual Linuxy methods, which are nice until you're on a Windows-only machine) - also suggests Win32DiskImager, a simple GUI-based program to write bootable images (such as the Debian .iso) to USB: http://sourceforge.net/projects/win32diskimager/files/latest/download

I've used this method to install latest x86 and x64 Debian with no issues whatsoever.

underscore_dunderscore_d

Debian Jessie Download Usb Iso

An alternative method:From your question, I don't see any specific reason why you would want to put Debian onto a USB stick (if there's one, correct me). If you really just want to dual boot Debian on a machine running Windows 7, the Win32-Loader offers an easy way to do so. One can grab this from any debian mirror, inside the directory debian/tools. It's easy to use and self explaining. Once executed, just set the options to your needs (things like keyboard layout are automatically detected) and then click the install button. The setup will download the needed files and then allows you to directly boot into the installer, without the need for making an USB stick bootable and copying a lot of files on it.And yes, the Debian installer offers a way to partition the disk.

Debian Live Iso

FcnjdFcnjd

Not the answer you're looking for? Browse other questions tagged installationdebianusb-flash-driveiso-image or ask your own question.