Difference between revisions of "Plug notes"

From Amahi Wiki
Jump to: navigation, search
(Redirected page to Amahi Plug Edition)
 
Line 1: Line 1:
 +
#REDIRECT [[Amahi_Plug_Edition]]
 +
 +
 
'''Note: Most of this information is duplicated elsewhere.  It needs to be verified and removed as necessary.'''
 
'''Note: Most of this information is duplicated elsewhere.  It needs to be verified and removed as necessary.'''
  
 
See [[Amahi_Plug_Edition | Amahi_Plug_Edition]] for installation and supported devices.
 
See [[Amahi_Plug_Edition | Amahi_Plug_Edition]] for installation and supported devices.
  
= Using the onboard NAND flash as a swap drive =
 
  
{{Code|cfdisk /dev/mtdblock2}}
 
* Create a "Linux swap / Solaris" partition that takes all the space:
 
# remove any existing partitions, if any
 
# create a new primary partition
 
# select Type option, enter "82"
 
# select Write option
 
# select Quit option
 
{{Code|mkswap /dev/mtdblock2
 
echo "/dev/mtdblock2          swap                    swap    defaults        0 0" >> /etc/fstab
 
swapon -a}}
 
  
 
= Misc Notes =
 
= Misc Notes =

Latest revision as of 11:27, 15 July 2011

Redirect to:

Note: Most of this information is duplicated elsewhere. It needs to be verified and removed as necessary.

See Amahi_Plug_Edition for installation and supported devices.


Misc Notes

  • restarting rpm db in chrooted environment:
bash code
​rm /var/lib/rpm/__db* rpm --rebuilddb -vv​