User Tools

Site Tools


installing_debian_from_usb_stick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installing_debian_from_usb_stick [2013/01/29 22:33] lonneyinstalling_debian_from_usb_stick [2015/01/12 20:58] (current) lonney
Line 1: Line 1:
 ====== Installing Debian from USB stick ====== ====== Installing Debian from USB stick ======
  
-**Problem:** Getting Debian Squeeze installed onto a PC or in my case, an HP T5520 thin client with out an external USB CD/DVD-ROM drive. While you can use one of the many tools around to copy the ISO image to your USB stick and make it bootable, the Debian installer gets hung up on not being able to find a CDROM drive or device to mount.+**Note:** Debian 7 (Wheezy) - Not sure if this version is not affected if you don't physically have a CD/DVD drive present - I was able to do the install from USB stick using the pendrivelinux Windows tool with "Unlisted Linux ISO" setting (link/info below) on a Dell OptiPlex 780 that had a DVD drive physically present. 
 + 
 +**Problem:** Getting Debian 6 (Squeezeinstalled onto a PC or in my case, an HP T5520 thin client with out an external USB CD/DVD-ROM drive. While you can use one of the many tools around to copy the ISO image to your USB stick and make it bootable, the Debian installer gets hung up on not being able to find a CDROM drive or device to mount.
  
 **Solution:** Create two partitions on the USB stick, on the first partition use the Windows pendrivelinux installer tool to copy the ISO and make it bootable. Extract a copy of the ISO to the second partition. The Debian installer detects the second partition as an installation source, and mounts it under /cdrom for us and  completes the installation with out any extra help. **Solution:** Create two partitions on the USB stick, on the first partition use the Windows pendrivelinux installer tool to copy the ISO and make it bootable. Extract a copy of the ISO to the second partition. The Debian installer detects the second partition as an installation source, and mounts it under /cdrom for us and  completes the installation with out any extra help.
Line 9: Line 11:
   - In this exmaple I used my existing CentOS IRLP node.   - In this exmaple I used my existing CentOS IRLP node.
   - Prepare the USB stick with two partitions. My usb stick appears as /dev/sda on my CentOS node. The output from ''dmesg'' will show you, make sure you identify the right device, otherwise you could hose something :-P   - Prepare the USB stick with two partitions. My usb stick appears as /dev/sda on my CentOS node. The output from ''dmesg'' will show you, make sure you identify the right device, otherwise you could hose something :-P
-  - Using Linux fdisk to delete all partitions on the USB stick and create two new primary partitions, type b (WIN95 FAT32).+  - Use Linux fdisk to delete all partitions on the USB stick and create two new primary partitions, type b (WIN95 FAT32).
   - Next we need to format the second partition. CentOS doesnt have dosfstools, to install them ''yum install dosfstools''   - Next we need to format the second partition. CentOS doesnt have dosfstools, to install them ''yum install dosfstools''
   - To format the second partition, ''mkfs.vfat /dev/sda2''   - To format the second partition, ''mkfs.vfat /dev/sda2''
-  - Next copy the IRLP ISO to the Linux using WinSCP or tool of your choice.+  - Next copy the IRLP ISO to the CentOS box using WinSCP or method of your choice.
   - Mount the second partition and the IRLP ISO so we can copy the contents of it to the second partition:   - Mount the second partition and the IRLP ISO so we can copy the contents of it to the second partition:
      * ''mkdir sda2''      * ''mkdir sda2''
-     * ''mount /dev/sda2 sda2''+     * ''mount /dev/sda2 sda2/''
      * ''mkdir iso''      * ''mkdir iso''
      * ''mount -o loop  IRLP_CD_9.01.iso iso/''      * ''mount -o loop  IRLP_CD_9.01.iso iso/''
installing_debian_from_usb_stick.1359498785.txt.gz · Last modified: 2013/01/29 22:33 by lonney