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 14:43]
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 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 raw image has been transferred to the USB Flash Drive.
  
 \\ \\
-**Mount USB Flash Drive:**+**Mount the USB Flash Drive:** 
 + 
 +Mount your USB Flash Drive on any machine where you can edit text files, it is a FAT16 partition.  The disk label is "RUNNIX" Most any desktop OS will work fine.
  
 \\ \\
Line 22: 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:+Old (without "rootdelay=10"):
   KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586 astimg=astlinux-1.1.6.run astkd=auto asturw=auto astlive libata.dma=3 console=ttyS0,19200n8"   KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586 astimg=astlinux-1.1.6.run astkd=auto asturw=auto astlive libata.dma=3 console=ttyS0,19200n8"
  
-New:+New (with "rootdelay=10"):
   KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586 astimg=astlinux-1.1.6.run astkd=auto asturw=auto astlive rootdelay=10 libata.dma=3 console=ttyS0,19200n8"   KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586 astimg=astlinux-1.1.6.run astkd=auto asturw=auto astlive rootdelay=10 libata.dma=3 console=ttyS0,19200n8"
  
Line 38: 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.1404675795.txt.gz
  • Last modified: 2014/07/06 14:43
  • by abelbeck