userdoc:boot-usb-storage

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:boot-usb-storage [2014/07/06 15:00]
abelbeck
userdoc:boot-usb-storage [2014/07/06 19:15] (current)
abelbeck
Line 3: Line 3:
 For production AstLinux installations, it is recommended to use flash storage connected off IDE, SATA or mSATA controllers, if at all possible. For production AstLinux installations, it is recommended to use flash storage connected off IDE, SATA or mSATA controllers, if at all possible.
  
-Though, there may be situations where using flash storage connected off USB is desirable.  Some boards my implement an internal Compact Flash (CF) or SD card socket using the USB interface, others may have internal standard USB port for a low profile USB Flash Drive.+Though, there may be situations where using flash storage connected off USB is desirable.  Some boards may implement an internal Compact Flash (CF) or SD card socket using the USB interface, others may have an internal standard USB port for a low profile USB Flash Drive.
  
-The problem is it takes longer for USB storage devices to be recognized and available to the Linux Kernel, compared with IDE or SATA.  While RUNNIX will boot, AstLinux may fail with the message "AstLinux medium not found.", followed by the USB drive mounting a few seconds later.+The problem is it takes longer for USB storage devices to be recognized and available to the Linux Kernel, compared with IDE or SATA.  While RUNNIX will boot, AstLinux may fail with the message "AstLinux medium not found.", followed by the USB drive mounting a few seconds later as viewed via the console.
  
-The simple solution is to add "rootdelay=10" to the AstLinux kernel command-line, explained below.+The simple solution is to add "rootdelay=10" to the AstLinux kernel command-line, described below.
  
-!!Note ->!! It is assumed the AstLinux image is already installed on the USB Flash Drive.+!!Note ->!! It is assumed the AstLinux raw image has been transferred to the USB Flash Drive.
  
 \\ \\
Line 26: Line 26:
 Open the astlinux-NNN.run.conf (astlinux-1.1.6.run.conf in this example) file using a text editor of your choice. Open the astlinux-NNN.run.conf (astlinux-1.1.6.run.conf in this example) file using a text editor of your choice.
  
-Edit the line beginning with "KCMD=" and add "rootdelay=10" after the "astlive".+Edit the line beginning with "KCMD=" and add "rootdelay=10" after the "astlive"...
  
 Old (without "rootdelay=10"): Old (without "rootdelay=10"):
Line 42: Line 42:
  
 Your USB Flash Drive should now fully boot AstLinux when installed into your hardware. Your USB Flash Drive should now fully boot AstLinux when installed into your hardware.
 +
 +Once the "rootdelay=10" has been added it will be automatically propagated for future upgrades, so this is a one time process.
  
 !!Note ->!! AstLinux doesn't by default include "rootdelay=10" since it adds 10 seconds to the boot process. !!Note ->!! AstLinux doesn't by default include "rootdelay=10" since it adds 10 seconds to the boot process.
- 
-Once the "rootdelay=10" has been added it will be automatically propagated for future upgrades, so this is a one time thing. 
- 
  
  • userdoc/boot-usb-storage.1404676806.txt.gz
  • Last modified: 2014/07/06 15:00
  • by abelbeck