Wednesday, 6 June 2012

MR3220 OpenWRT Extroot installation

The TP-Link has OpenWRT installed using either tftp or via the serial port using Kermit. Install the packages for using USB as storage on OpenWRT.

opkg update
opkg install kmod-usb-core kmod-usb-uhci kmod-usb-storage kmod-usb2 kmod-fs-ext4
reboot -f
mkdir /usb
mount /dev/sda1 /usb
mkdir /tmp/root
mount -o bind / /tmp/root
cp /tmp/root/* /usb -a
umount /tmp/root
umount /usb

Now edit the /etc/config/fstab file and add the following.
config mount
option target /usb
option device /dev/sda1
option fstype ext2
option options rw,sync
option enabled 1
option enabled_fsck 1
option is_rootfs 1

1 comment:

Defender 300tdi Lucas 10AS Alarm Immobiliser (Spider) Problems

We have a 1997 Landrover Defender 300tdi that has given immobiliser problems intermittently. I had initially fixed the fuel solenoid as we w...