Plug notes
From Amahi Wiki
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:
- remove any existing partitions, if any
- create a new primary partition
- select Type option, enter "82"
- select Write option
- 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
|