Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
slackware:usbboot [2008/11/18 16:30] – Slackware now does this out of the box. Mention that. alienslackware:usbboot [2009/11/27 12:43] – Fixed a typo in an example command, thanks to 'Hence'. alien
Line 54: Line 54:
  
   * Create a DOS formatted image file: <code>   * Create a DOS formatted image file: <code>
-mkfs.msdos -n USBSLACK -F 16 -C /tmp/slackboot/usbboot.img ${USBIMG)+mkfs.msdos -n USBSLACK -F 16 -C /tmp/slackboot/usbboot.img ${USBIMG}
 </code> You will notice that we use the switch "''-C''" and the variable ''${USBIMG}'' that we calculated in the previous step. With the ''mkfs.msdos'' commandline like that, we can omit the step where we would use the "''dd''" command to create the file prior to formatting it - ''mkfs.msdos'' will do that for us at no cost.\\ The command also labels the new FAT filesystem with the name //USBSLACK// (the "''-n USBSLACK''" option) but this is not required.\\ The important piece of information that is contained in the command is the fact that this FAT filesystem **must** be a FAT16 filesystem (''-F 16''). It is tempting to use FAT32 but the ''syslinux'' bootloader will fail to make the USB stick bootable if the filesystem is not FAT16.\\ \\ The file ''/tmp/slackboot/usbboot.img'' will eventually be the file to copy to the USB stick. </code> You will notice that we use the switch "''-C''" and the variable ''${USBIMG}'' that we calculated in the previous step. With the ''mkfs.msdos'' commandline like that, we can omit the step where we would use the "''dd''" command to create the file prior to formatting it - ''mkfs.msdos'' will do that for us at no cost.\\ The command also labels the new FAT filesystem with the name //USBSLACK// (the "''-n USBSLACK''" option) but this is not required.\\ The important piece of information that is contained in the command is the fact that this FAT filesystem **must** be a FAT16 filesystem (''-F 16''). It is tempting to use FAT32 but the ''syslinux'' bootloader will fail to make the USB stick bootable if the filesystem is not FAT16.\\ \\ The file ''/tmp/slackboot/usbboot.img'' will eventually be the file to copy to the USB stick.
  
 Install Slackware using a bootable USB stick ()
SlackDocs