This shows you the differences between two versions of the page.
|
santa:foonera [2013/03/08 19:21] zes [installing software] |
santa:foonera [2013/03/08 19:50] (current) zes [installing usb support] |
||
|---|---|---|---|
| Line 80: | Line 80: | ||
| mkdir -p /mnt/root | mkdir -p /mnt/root | ||
| mount /dev/sda2 /mnt/root | mount /dev/sda2 /mnt/root | ||
| - | |||
| - | We may also need some swap just in case the router runs out of memory | ||
| - | |||
| - | mkswap /dev/discs/disc0/part2 | ||
| - | swapon /dev/discs/disc0/part2 | ||
| Copy all fs into new mounted partition. | Copy all fs into new mounted partition. | ||
| Line 127: | Line 122: | ||
| cd /etc/rc.d/ && ln -s ../init.d/mountusb S06mountusb | cd /etc/rc.d/ && ln -s ../init.d/mountusb S06mountusb | ||
| + | ==== install swap on usb ==== | ||
| + | |||
| + | We may also need some swap just in case the router runs out of memory | ||
| + | mkswap /dev/sda4 | ||
| + | swapon /dev/sda4 | ||