Differences between revisions 88 and 90 (spanning 2 versions)
Revision 88 as of 2019-08-16 22:56:09
Size: 2681
Editor: nodiscc
Comment: standardize page names
Revision 90 as of 2021-12-30 20:03:56
Size: 2758
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/BootUsb|Italiano]] - [[ru/BootUsb|Русский]] -~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[de/BootUsb|Deutsch]] - [[it/BootUsb|Italiano]] - [[ru/BootUsb|Русский]] -~
Line 26: Line 26:
However, you can verify this location by typing this command inside a [[terminal]] window: However, you can verify this location by typing this command inside a [[TerminalEmulator|terminal emulator]] window:
Line 34: Line 34:
If you cannot find it, you have to load the [[USBStorage]] module. In a [[terminal]], type: If you cannot find it, you have to load the [[USBStorage]] module. In a [[TerminalEmulator|terminal emulator]], type:

Translation(s): English - ?Deutsch - Italiano - Русский


This page is about booting Linux via USB pendrives in any computer with or without USB-BIOS capability (in this last case, using a ?BootFloppy). You can install Linux in your USB pendrive or buy it preinstalled.

If you don't want to learn about the internals but just have Debian on a bootable USB stick, check out DebianLive

BIOS and USB standard mass storage interface

There are two common BIOS methods for direct USB booting:

  • One method is called the "USBHDD" method and it is used to support the booting of standard USB mass storage devices that are configured like a normal PC hard drive. The vast majority of machines work this way these days.
  • The other method (necessary on some older machines) is called the "USBZIP" method and it supports booting from a USB storage device that behaves like the original IOMEGA ZIP drive with USB support.

You need a USB device with a standard mass storage interface and with at least 128 MB storage capacity (the distros generally use between 50 and 64 MB) to work with Linux.

See StandardPendrive.

Warning

The following instructions refer to /dev/sda. However, if you have serial-ATA harddisks, then the pendrive will probably be /dev/sdc. Do NOT accidentally write to the wrong drive, or you will destroy your main operating system or data!

USB pendrive location and mount

Most USB pendrives are located at device node /dev/sda after they are plugged into the USB port.

However, you can verify this location by typing this command inside a terminal emulator window:

dmesg | grep scsi -A 3

and it should tell you the device name for your USB (SCSI emulated) devices, along with the vendor name.

See: dmesg.

If you cannot find it, you have to load the USBStorage module. In a terminal emulator, type:

modprobe usb_storage

and mount the usb filesystems

mount -t usb-devfs none /proc/bus/usb

Writing an image onto the USB key

The current released versions of Debian Install images and Debian Live images are built using isohybrid techniques, which means using them with a USB key is simple and easy, using "dd". See the Debian CD FAQ for more information.

Older Debian images were not so easy to use with USB keys and needed a lot of instructions. Those instructions are no longer helpful, so have been removed from this page.


?CategoryInstall CategoryHardware