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
Last revisionBoth sides next revision
installing_debian_from_usb_stick [2013/01/29 22:32] lonneyinstalling_debian_from_usb_stick [2013/01/31 17:40] lonney
Line 9: Line 9:
   - 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/''
Line 21: Line 21:
      * It'll complain about "cannot create symbolic link" with some files in doc/ I ignored this..      * It'll complain about "cannot create symbolic link" with some files in doc/ I ignored this..
      * ''sync'' - this flushes the disk cache.      * ''sync'' - this flushes the disk cache.
-     * ''umount sda2/''+     * ''umount sda2/'' - wait for the command prompt to return before removing the USB stick!
   - Put the usb stick in-to a Windows box, use the Windows format tool to do a quick format of the first partition with FAT32. Note: Windows will only see the first partition.   - Put the usb stick in-to a Windows box, use the Windows format tool to do a quick format of the first partition with FAT32. Note: Windows will only see the first partition.
   - Use the pendrivelinux Windows tool to put the IRLP ISO onto the first partition. http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/   - Use the pendrivelinux Windows tool to put the IRLP ISO onto the first partition. http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
installing_debian_from_usb_stick.txt · Last modified: 2015/01/12 20:58 by lonney