Plug notes

From Amahi Wiki
Revision as of 11:20, 15 July 2011 by Mattwire (talk | contribs)
Jump to: navigation, search

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.

Using the onboard NAND flash as a swap drive

bash code
​cfdisk /dev/mtdblock2​
  • Create a "Linux swap / Solaris" partition that takes all the space:
  1. remove any existing partitions, if any
  2. create a new primary partition
  3. select Type option, enter "82"
  4. select Write option
  5. select Quit option
bash code
​mkswap /dev/mtdblock2 echo "/dev/mtdblock2 swap swap defaults 0 0" >> /etc/fstab swapon -a​


Misc Notes

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