网件的4300,刷的OpenWrt Barrier Breaker 14.07的系统,可用空间只有13M,无奈只好买了块U盘做U盘引导了,但是按照网上的教程:
https://samhobbs.co.uk/2013/11/more-space-for-packages-with-extroot-on-your-openwrt-router
http://brendangrainger.com/2014/09/05/setting-up-a-usb-drive-for-storage-on-openwrt/
还有官方的教程:
http://wiki.openwrt.org/doc/howto/extroot
都不能成功的U盘引导启动,弄了半天也不知道是哪里出了问题,fstab配置文件如下:
```
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '0'
option check_fs '0'
config 'mount'
option target /overlay
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
```
上面的配置:`option target /overlay` 把 `/overlay` 换成 `/mnt/usb1` 倒是可以在开机时自动挂载U盘到 `/mnt/usb1` 目录上,不知道有没有V友知道问题出在哪里了,谢谢。
https://samhobbs.co.uk/2013/11/more-space-for-packages-with-extroot-on-your-openwrt-router
http://brendangrainger.com/2014/09/05/setting-up-a-usb-drive-for-storage-on-openwrt/
还有官方的教程:
http://wiki.openwrt.org/doc/howto/extroot
都不能成功的U盘引导启动,弄了半天也不知道是哪里出了问题,fstab配置文件如下:
```
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '0'
option check_fs '0'
config 'mount'
option target /overlay
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
```
上面的配置:`option target /overlay` 把 `/overlay` 换成 `/mnt/usb1` 倒是可以在开机时自动挂载U盘到 `/mnt/usb1` 目录上,不知道有没有V友知道问题出在哪里了,谢谢。